From: Romulo Pinho Date: Tue, 7 Jun 2011 10:44:36 +0000 (+0200) Subject: removal of threshold test for random point selection X-Git-Tag: v1.3.0~328 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=843f63274a1e8fce80671fa08e8a9c4ef52fc07f;p=clitk.git removal of threshold test for random point selection --- 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);