[Insight-users] FEMRegistrationFilter: SetFixedFile vs. SetFixedImage

Luis Ibanez luis.ibanez at kitware.com
Sun Nov 22 14:29:49 EST 2009


Hi Joe,

The SetFixedFile() method just sets the internal variable m_FixedFileName.

That variable, turns out to not be used at all inside this filter.

This is probably a legacy of a design flaw in this filter, confounded with the
fact that before it was put in to the toolkit, it was mostly used as a stand
alone application.

The unused method, however, can't be removed at this point, due to our
Backward compatibility policy.  We can however, document this method
as "Deprecated".
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/Algorithms/itkFEMRegistrationFilter.h?root=Insight&r1=1.27&r2=1.28&sortby=date


Please, simply use the SetFixedImage() method.



     Thanks for pointing this out.


             Luis


------------------------------------------------------------------
On Mon, Nov 16, 2009 at 11:20 AM, Joe Maisog
<joe.maisog at medicalnumerics.com> wrote:
> Good morning all!  The class FEMRegistrationFilter has two similar member
> functions: SetFixedFile and SetFixedImage.  What is the interaction between
> these two member functions?  If both are called but they conflict, does one
> trump the other?  Or, does the latest one invoked trump the other?
> (Similarly for MovingImage and MovingFile.)
>
> Thanks,
>
> joe
>
> _____________________________________
> 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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list