From 6673fd0ae6026140ca07b3491c093b9600cc91a6 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Tue, 7 Jun 2011 10:33:09 +0200 Subject: [PATCH] removal of threshold test for point selction --- registration/clitkGenericMetric.txx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/registration/clitkGenericMetric.txx b/registration/clitkGenericMetric.txx index b5df490..58e681a 100644 --- a/registration/clitkGenericMetric.txx +++ b/registration/clitkGenericMetric.txx @@ -35,7 +35,7 @@ GenericMetric::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::GetMetricPointer( } // Intensity? + /* if( m_UseFixedImageSamplesIntensityThreshold && ( regionIter.Get() < m_FixedImageSamplesIntensityThreshold) ) { ++regionIter; // jump to next pixel continue; } + */ // Add point to the numbers fiic.push_back(index); -- 2.47.1