# Distortion in frontal cortex remain after preprocessing

**URL:** <https://community.mrtrix.org/t/distortion-in-frontal-cortex-remain-after-preprocessing/2274>\
**Category:** Uncategorized\
**Created:** [February 15, 2019, 2:55am UTC](https://community.mrtrix.org/t/distortion-in-frontal-cortex-remain-after-preprocessing/2274 "2019-02-15T02:55:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RdoubleA](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rdoublea/32/2243_2.png) [@RdoubleA](https://community.mrtrix.org/u/RdoubleA)\
**Post date:** [February 15, 2019, 2:55am UTC](https://community.mrtrix.org/t/distortion-in-frontal-cortex-remain-after-preprocessing/2274/1 "2019-02-15T02:55:00Z")

</div>

So I’ve been running our subjects through the basic preprocessing steps - denoise, degibbs, dwipreproc, and bias field correction - but at the end of this pipeline I’m still getting some bad geometric distortions in the orbitofrontal cortex. This seems to be occuring with all of our subjects, but I can’t seem to figure out what I’m doing wrong in my preprocessing pipeline.

Has anyone else come across this issue, or knows a potential cause? Maybe I’m putting in a parameter wrong for dwipreproc? This is the command I use:

`dwipreproc dwi_denoised_degibbs.mif dwi_preproc.mif -readout_time 0.076608 -pe_dir PA -rpe_pair -se_epi b0_pair.mif -eddy_options " --repol" -eddyqc_text eddy_output -debug -force`

---

<div class="post-metadata">

**Author:** ![rsmith](https://community.mrtrix.org/user_avatar/community.mrtrix.org/rsmith/32/2672_2.png) [@rsmith](https://community.mrtrix.org/u/rsmith)\
**Post date:** [February 17, 2019, 10:28am UTC](https://community.mrtrix.org/t/distortion-in-frontal-cortex-remain-after-preprocessing/2274/2 "2019-02-17T10:28:13Z")

</div>

Hi Rafi,

Many working in this field believe that using only _b_=0 information to estimate the inhomogeneity field is far from ideal: it’s possible in some instances to to estimate a field from such an image pair that results in an almost perfect overlap between the corrected input images, but is entirely _un_faithful to the underlying anatomy. Using the full DWI signal profiles would be preferable; but not only are implementations of such methods not widely available, they require _b_\>0 images with variations in phase encoding, which are not as widely acquired as the solitary “reversed phase-encode _b_=0 pair”.

I can’t personally speak on that particular region, but a couple of things you could at least consider & look for in your data would be: a non-diffeomorphic field (i.e. the signal doesn’t just “compress”, but actually “wraps around” behind itself); and \>2pi phase difference across an image voxel, in which case the requirement of equal total spin density in the image pair breaks down (i.e. each image needs to have the same amount of “stuff”, just redistributed). Either of these will lead to inaccurate inhomogeneity field estimates.

Rob
