[Insight-users] Problem using ITK_USE_REVIEW_STATISTICS and itkEuclideanDistance.h

Luis Ibanez luis.ibanez at kitware.com
Mon Feb 22 11:55:03 EST 2010


Hi Motes,

Please read the ITK Statistics Migration Guide:

http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007#Migration_Users_Guide


In particular,
in the  Section "Distance Metrics":

http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Migration_Users_Guide#Distance_Metrics

You will find instructions on how to replace
the deprecated class

         itkEuclideanDistance.h

with the new class

         itkEuclideanDistanceMetric.h

that you will find in:

      Insight/Code/Review/Statistics



    Regards,


            Luis



-------------------------------------------------------------------------------------
On Sun, Feb 21, 2010 at 12:15 PM, motes motes <mort.motes at gmail.com> wrote:
> I need to build ITK where ITK_USE_REVIEW_STATISTICS is on. Its
> necessary to build elastix v4.3.
>
> But when ITK_USE_REVIEW_STATISTICS is on the code in
> Code/Numerics/Statistics/ is no longer used. Instead the code in:
> Code/Review/Statistics is used.
>
> Now I have some code that use the file:
>
>         Code/Numerics/Statistics/itkEuclideanDistance.h
>
> but this will no longer compile since I have enabled
> ITK_USE_REVIEW_STATISTICS. Is there any work around for this or should
> I just used the file:
>
>         Code/Review/Statistics/itkEuclideanDistanceMetric.h
>
> instead in the Review folder?
> _____________________________________
> 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