From 8b371e42aeb4a392d2f30f827c74301ce8e7d4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Levallois?= Date: Fri, 22 Feb 2013 13:40:01 +0100 Subject: [PATCH] minor edit --- .../estimation/IntegralInvariantGaussianCurvatureEstimator.ih | 4 ++-- .../estimation/IntegralInvariantMeanCurvatureEstimator.ih | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DGtal/geometry/surfaces/estimation/IntegralInvariantGaussianCurvatureEstimator.ih b/src/DGtal/geometry/surfaces/estimation/IntegralInvariantGaussianCurvatureEstimator.ih index fc0ad5440c..ef329dc55f 100644 --- a/src/DGtal/geometry/surfaces/estimation/IntegralInvariantGaussianCurvatureEstimator.ih +++ b/src/DGtal/geometry/surfaces/estimation/IntegralInvariantGaussianCurvatureEstimator.ih @@ -180,8 +180,8 @@ DGtal::IntegralInvariantGaussianCurvatureEstimator::i double h2 = h * h; dh5 = h2 * h2 * h; - RealPoint pOrigin = RealPoint ( 0.0, 0.0, 0.0 + 0.000123 ); - KernelSupport kernel( pOrigin, radius ); + RealPoint pOrigin = RealPoint ( 0.0, 0.0, 0.0 ); + KernelSupport kernel( pOrigin, radius + 0.000123 ); KSpace KSpaceKernel; kernels = std::vector< SurfelSet >( 27 ); diff --git a/src/DGtal/geometry/surfaces/estimation/IntegralInvariantMeanCurvatureEstimator.ih b/src/DGtal/geometry/surfaces/estimation/IntegralInvariantMeanCurvatureEstimator.ih index c9dc2c7de2..8c3748743a 100644 --- a/src/DGtal/geometry/surfaces/estimation/IntegralInvariantMeanCurvatureEstimator.ih +++ b/src/DGtal/geometry/surfaces/estimation/IntegralInvariantMeanCurvatureEstimator.ih @@ -89,7 +89,7 @@ DGtal::IntegralInvariantMeanCurvatureEstimator::init d1_r2 = 1.0 / ( radius * radius ); RealPoint pOrigin = RealPoint ( 0.0, 0.0 ); - KernelSupport kernel( pOrigin, radius ); + KernelSupport kernel( pOrigin, radius + 0.000123 ); KSpace KSpaceKernel; kernels = std::vector< SurfelSet > ( 9 ); @@ -180,7 +180,7 @@ DGtal::IntegralInvariantMeanCurvatureEstimator::init d_4_PIr4 = 4.0 / ( M_PI * r2 * r2 ); RealPoint pOrigin = RealPoint ( 0.0, 0.0, 0.0 ); - KernelSupport kernel( pOrigin, radius ); + KernelSupport kernel( pOrigin, radius + 0.000123 ); KSpace KSpaceKernel; kernels = std::vector< SurfelSet >( 27 );