Back to the main page.

Bug 3313 - make a function for anatomical image homogeneity correction

Status CLOSED FIXED
Reported 2017-06-14 13:33:00 +0200
Modified 2017-11-20 20:09:00 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2017-06-14 13:33:18 +0200

I just wrote one (based on SPM), which I can share


Robert Oostenveld - 2017-06-14 13:34:57 +0200

[bug3313-bias 7b2eadd] ENH - implemented FT function for image injomogeneity correction, see http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3313 10 files changed, 361 insertions(+) create mode 100644 external/spm8/spm_bias_apply.m create mode 100644 external/spm8/spm_bias_estimate.m create mode 100644 external/spm8/spm_bias_mex.m create mode 100644 external/spm8/spm_bias_mex.mexa64 create mode 100644 external/spm8/spm_bias_mex.mexglx create mode 100644 external/spm8/spm_bias_mex.mexmaci create mode 100755 external/spm8/spm_bias_mex.mexmaci64 create mode 100755 external/spm8/spm_bias_mex.mexw32 create mode 100644 external/spm8/spm_bias_mex.mexw64 create mode 100644 ft_volumeunbias.m 130-229-40-71> git push --set-upstream origin bug3313-bias Counting objects: 14, done. Delta compression using up to 4 threads. Compressing objects: 100% (14/14), done. Writing objects: 100% (14/14), 320.15 KiB | 0 bytes/s, done. Total 14 (delta 3), reused 0 (delta 0) remote: Resolving deltas: 100% (3/3), completed with 3 local objects. To github.com:robertoostenveld/fieldtrip.git * [new branch] bug3313-bias -> bug3313-bias Branch bug3313-bias set up to track remote branch bug3313-bias from origin.


Robert Oostenveld - 2017-06-20 13:51:19 +0200

I copied the problematic dataset from http://natmeg.se/activities/source_reconstruction/workshop_material.html to /home/common/matlab/fieldtrip/data/test/bug3313/mri_resliced.mat My incomplete implementation is at https://github.com/robertoostenveld/fieldtrip/tree/bug3313-bias


Jan-Mathijs Schoffelen - 2017-06-20 13:54:55 +0200

OK. I have pulled your branch, you can delete your version if you want.


Jan-Mathijs Schoffelen - 2017-07-05 15:22:55 +0200

This has been done.