[Insight-users] Override SetFixedImageRegion() in itk::ImageToImageMetric

Sureerat Reaungamornrat sureerat.r at gmail.com
Mon Jul 22 13:36:55 EDT 2013


Dear Matt,

   Thank you for your suggestion. I will submit a patch.
I used to look at the v4 version but without document,
it is quite challenging. Hopefully, ITK document for v4
is released some time soon.

Thank you very much again,

Best regards,

Sureerat





On Mon, Jul 22, 2013 at 11:20 AM, Matt McCormick <matt.mccormick at kitware.com
> wrote:

> Hi Sureerat,
>
> The v4 RegistrationMethods have a more flexible image domain
> specification framework -- creating new methods of the v4 versions may
> be able to perform as you would like.
>
> However, if you are using ImageRegistrationMethod and need that method
> virtual, you are encouraged to submit a patch as explained here:
>
>
> http://insightsoftwareconsortium.github.io/ITKBarCamp-doc/CommunitySoftwareProcess/SubmitAPatchToGerrit/index.html
>
> Thanks,
> Matt
>
> On Mon, Jul 22, 2013 at 2:43 PM, Sureerat Reaungamornrat
> <sureerat.r at gmail.com> wrote:
> > Dear ITK,
> >
> >    I have using ITK to develop and learn image registration. Currently,
> > I am trying to incorporate penalty term into B-spline registration. I
> create
> > a class (called itk::ImageToImageMultiMetric) derived from
> > itk::ImageToImageMetric
> > to add the normal similarity metric (like MSE or MI) and the penalty
> term.
> > I need to override some functions in itk::ImageToImageMetric. Nearly all
> of
> > the
> > functions can  be overriden except SetFixedImageRegion(). I currently
> just
> > work around it.
> > I wonder whether it is possible to make the function 'virtual' so I can
> > easily override it
> > and reduce the current complicated work-around.
> >
> > Thank you very much,
> >
> > Best regards,
> >
> > Sureerat
> >
> > _____________________________________
> > 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://www.itk.org/mailman/listinfo/insight-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130722/28000827/attachment.htm>


More information about the Insight-users mailing list