[Insight-users] ImageFunctions in itk::CurvatureRegistrationFilter

somi seesomi at gmail.com
Thu Dec 2 09:06:11 EST 2010


Hi Luis,
Adding the method GetMetric() to itkMIRegistrationFunction.h seems to be
working for me.

Thanks,
Somi


On Wed, Dec 1, 2010 at 9:57 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101202/5ce3fce1/attachment.htm>


More information about the Insight-users mailing list