]> Creatis software - clitk.git/commitdiff
removal of threshold test for point selction
authorRomulo Pinho <pinho@lyon.fnclcc.fr>
Tue, 7 Jun 2011 08:33:09 +0000 (10:33 +0200)
committerRomulo Pinho <pinho@lyon.fnclcc.fr>
Tue, 7 Jun 2011 08:33:09 +0000 (10:33 +0200)
registration/clitkGenericMetric.txx

index b5df490d70c64c75986609cde2b134dae33ee6de..58e681aeda3d6f2110d6bd1c86fb0e28b62146b0 100644 (file)
@@ -35,7 +35,7 @@ GenericMetric<args_info_type, FixedImageType, MovingImageType>::GenericMetric()
   m_Maximize=false;
   m_Verbose=false;
   m_FixedImageRegionGiven=false;
-#ifdef ITK_USE_OPTIMISED_REGISTRATION_METHODS
+#ifdef ITK_USE_OPTIMIZED_REGISTRATION_METHODS
   m_FixedImageSamplesIntensityThreshold=0;
   m_UseFixedImageSamplesIntensityThreshold=false;
 #endif
@@ -337,11 +337,13 @@ GenericMetric<args_info_type,FixedImageType, MovingImageType>::GetMetricPointer(
         }
 
         // Intensity?
+        /*
         if( m_UseFixedImageSamplesIntensityThreshold &&
             ( regionIter.Get() < m_FixedImageSamplesIntensityThreshold) ) {
           ++regionIter; // jump to next pixel
           continue;
         }
+        */
 
         // Add point to the numbers
         fiic.push_back(index);