[Insight-users] MRIBiasCorrector

Xavier Penya xavierpenya at gmail.com
Tue Jan 15 06:44:21 EST 2008


Hi, thank you very much Gabri,

the thing is that I am not able to find this class in the code. I have
cheked several times both the code and the description given in
http://www.itk.org/Doxygen/html/classitk_1_1MRIBiasFieldCorrectionFilter.html#itk_1_1MRIBiasFieldCorrectionFiltera60and
don't see where the p coefficients are given after each iteration.

Furthermore, I tried to simulate it by stopping the program and starting it
again with the p_coeffs given by the last execution (in steps of 100 or 1000
iterations) and I must say that I'm pretty sure there is a bug in the
program in this aspect: given coefficients are not taken into account and
they're set at zero.

The command line used is (for example):

BiasCorrector.exe --input Image.mhd --output Im_Corr_01.mhd --input-mask
Mask_V2.mhd --class-mean 1000 --class-sigma 100 --degree 3
--volume-max-iteration 50 --coefficients -0.055574 -0.050695 -0.061534 -
0.077325 0.016309 -0.031734 -0.032184 -0.039354 -0.012286 -0.018609 -
0.021895 -0.007437 -0.016401 0.014835 0.005662 -0.028097 -0.008361 0.025609-
0.020652 -0.043081

After hundreds of iterations, the result still got stacked at the same
correction (as if they were independent corrections not using a previous
vector).

Thanks,

    Xavier



2008/1/14, gabri <tartuz at gmail.com>:
>
> Hi,
> try to connect an observer to the class you are using. Look some
> examples in the "Registration" folder , or read the "Registration" topic
> in the ITK software on the manual.
>
> best ,
>
> Gabriele
>
> Xavier Penya ha scritto:
> > Hi all,
> >
> > I am working with this ITK feature, and I would like to take out the
> > so called "p vectors" for each one of the iterations (and not just the
> > final one, as usual) in order to control the correction process. I
> > would like to find out where I have to change the code.
> >
> > Thank you very much,
> >
> >        Xavier
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20080115/c585bef5/attachment-0001.html


More information about the Insight-users mailing list