[ITK] [ITK-users] SimpleITK Bias Field Correction
Bradley Lowekamp
blowekamp at mail.nih.gov
Thu Oct 8 13:47:54 EDT 2015
Hello Roberto,
This example script's produces an image with size as the input image, if the command line ShrinkFactor is 1. However if the ShrinkFactor is a greater than one then the output image is shrunk. This shrink factor is independent of the multi-scale N4 algorithm.
The N4 algorithm does have a build in multi-scale which runs the optimization a several levels. The output is the same size as the input for the N4 algorithm.
Also note that the number of Levels is implicitly set based on the size of the MaximumNumberOfIterations array.
HTH,
Brad
On Oct 8, 2015, at 12:37 PM, Roberto Medeiros de Souza <roberto.medeiros.souza at gmail.com> wrote:
> Hi,
>
> I'm new to ITK and SimpleITK, and I am trying to use the N4 Bias Field Correction routine. I found this example: http://www.itk.org/SimpleITKDoxygen/html/N4BiasFieldCorrection_8py-example.html
>
> As I understand the N4 Bias Field Correction routine has a shrinking factor to speed the processing, but the output image should be the same size as the input image. This example returns a smaller image. Can anyone help me with this code?
>
> Thanks.
> Roberto
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151008/cbc0b07c/attachment-0001.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list