X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fexample_ImageAlgorithm_Skeletonization.cxx;h=98023c5353fec0bae3708ffd7045a55df4cbd29c;hb=6a09951b1fc0a975f2cbf3263c1396fb153aedf2;hp=f2b82794894656dd0aa8a3158e47257cf5efb49e;hpb=a7ef5dfe43aeeef0039ffae37da8667cc5cc413a;p=FrontAlgorithms.git diff --git a/appli/examples/example_ImageAlgorithm_Skeletonization.cxx b/appli/examples/example_ImageAlgorithm_Skeletonization.cxx index f2b8279..98023c5 100644 --- a/appli/examples/example_ImageAlgorithm_Skeletonization.cxx +++ b/appli/examples/example_ImageAlgorithm_Skeletonization.cxx @@ -124,6 +124,7 @@ int main( int argc, char* argv[] ) TDistanceFilter::Pointer distanceMap = TDistanceFilter::New( ); distanceMap->SetInput( segmentor->GetOutput( ) ); distanceMap->InputIsBinaryOn( ); + distanceMap->SquaredDistanceOn( ); start = std::clock( ); distanceMap->Update( ); end = std::clock( );