From 843f63274a1e8fce80671fa08e8a9c4ef52fc07f Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Tue, 7 Jun 2011 12:44:36 +0200 Subject: [PATCH] removal of threshold test for random point selection --- registration/clitkGenericMetric.txx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/registration/clitkGenericMetric.txx b/registration/clitkGenericMetric.txx index 58e681a..e73644c 100644 --- a/registration/clitkGenericMetric.txx +++ b/registration/clitkGenericMetric.txx @@ -402,13 +402,13 @@ GenericMetric::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); -- 2.47.1