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

index 58e681aeda3d6f2110d6bd1c86fb0e28b62146b0..e73644c5dc80f496861710400c526a2228ca4579 100644 (file)
@@ -402,13 +402,13 @@ GenericMetric<args_info_type,FixedImageType, MovingImageType>::GetMetricPointer(
           }
 
           // Intensity?
-          if( m_UseFixedImageSamplesIntensityThreshold &&
-              randIter.Get() < m_FixedImageSamplesIntensityThreshold ) {
-            ++randIter;
-              //if (m_Verbose) std::cout << "not in threshold" << std::endl;
-              count_not_thres++;
-            continue;
-          }
+//           if( m_UseFixedImageSamplesIntensityThreshold &&
+//               randIter.Get() < m_FixedImageSamplesIntensityThreshold ) {
+//             ++randIter;
+//               //if (m_Verbose) std::cout << "not in threshold" << std::endl;
+//               count_not_thres++;
+//             continue;
+//           }
 
           // Add point to the numbers
           fiic.push_back(index);