[Insight-users] SetFixedImage / SetMovingImage deprecation

Luis Ibanez luis.ibanez at kitware.com
Wed Feb 24 13:01:41 EST 2010


Hi Aya,

These Image-related methods were an unfortunate
addition to the API of this class.

   You don't need to call these methods at all.

What you need to pass to this class is
two list of  points (landmarks) with the methods:


  void SetFixedLandmarks(const LandmarkPointContainer & fixedLandmarks)
  void SetMovingLandmarks(const LandmarkPointContainer & movingLandmarks)


The class will be able to compute a transform
from those two lists of points.


      Regards,


            Luis


--------------------------------------------------
On Wed, Feb 24, 2010 at 9:01 AM, Aya El Gebeely
<aya.elgebeely at symbyo.com> wrote:
> Hi,
>
> I've been using two methods for the LandMarkbasedTransform, [setFixedImage,
> setMovingImage], i got those two warnings:
>
> WARNING: In C:\Program
> Files\ITK\include\InsightToolkit-3.16.0\Common\itkLandmarkBasedTransformInitializer.h,
> line 105
> LandmarkBasedTransformInitializer (0665A2F8): SetFixedImage was deprecated
> for ITK 2.2 and will be removed in a future version.
>
> WARNING: In C:\Program
> Files\ITK\include\InsightToolkit-3.16.0\Common\itkLandmarkBasedTransformInitializer.h,
> line 118
> LandmarkBasedTransformInitializer (0665A2F8): SetMovingImage was deprecated
> for ITK 2.2 and will be removed in a future version.
>
>
>
> So, What should I use instead ?
>
> Regards,
> Aya R.
>
> _____________________________________
> 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