[Insight-users] ImageFunctions in itk::CurvatureRegistrationFilter

Luis Ibanez luis.ibanez at kitware.com
Wed Dec 1 21:57:13 EST 2010


Hi Somi,

After comparing

itkMIRegistrationFunction.txx
itkSymmetricForcesDemonsRegistrationFunction.txx

It seems that you are right, simply adding the
method GetMetric() to itkMIRegistrationFunction.h

should do the trick.


Note that the internal member variable that
GetMetric() should return is "m_MetricTotal"
as computed in line:535 of itkMIRegistrationFunction.txx


Please let us know if that works for you.

The ITK registration framework is being refactored
for ITKv4, and this may be something that we may
want to include.


     Thanks


          Luis


---------------------------------------------
On Mon, Nov 29, 2010 at 10:18 AM, somi <seesomi at gmail.com> wrote:
> Hi,
> I am trying to use different finite difference functions as listed at
>  http://www.itk.org/Doxygen/html/group__FiniteDifferenceFunctions.html
> in itk::CurvatureRegistrationFilter .
> However, itk::CurvatureRegistrationFilter requires a GetMetric() function
> which is implemented only in few finite difference functions
> (e.g. itk::FastSymmetricForcesDemonsRegistrationFunction ).
> Is there any way I could use Mutual Information function
> with itk::CurvatureRegistrationFilter ? Do I have to implement a
> GetMetric()
> in itk::MIRegistrationFunction< TFixedImage, TMovingImage, TDeformationField
>> ?
> Thanks,
> Somi
> _____________________________________
> 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