[Insight-users] Override SetFixedImageRegion() in itk::ImageToImageMetric
Matt McCormick
matt.mccormick at kitware.com
Mon Jul 22 11:20:42 EDT 2013
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
>
More information about the Insight-users
mailing list