From: Romulo Pinho Date: Tue, 7 Jun 2011 08:33:09 +0000 (+0200) Subject: removal of threshold test for point selction X-Git-Tag: v1.3.0~329 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6673fd0ae6026140ca07b3491c093b9600cc91a6;p=clitk.git removal of threshold test for point selction --- 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);