DGtal-team / DGtalTools

Tools associated with DGtal Library
http://dgtal.org
GNU Lesser General Public License v3.0
44 stars 38 forks source link

homotopicThinning3D not compile #14

Closed kerautret closed 12 years ago

kerautret commented 12 years ago

Since perhaps some DGtal updates ... David it is perhaps related to previous modification of DistanceTransformation ? Can you check it ?

Scanning dependencies of target homotopicThinning3D [ 15%] Building CXX object volumetric/CMakeFiles/homotopicThinning3D.dir/homotopicThinning3D.cpp.o /Users/kerautre/EnCours/DGtalTools/volumetric/homotopicThinning3D.cpp:113:42: error: template argument for template type parameter must be a type typedef DistanceTransformation<Image, 0> DTL2; ^ /usr/local/include/DGtal/geometry/volumes/distance/DistanceTransformation.h:92:23: note: template parameter is declared here typename TPointPredicate, ^ /Users/kerautre/EnCours/DGtalTools/volumetric/homotopicThinning3D.cpp:116:3: error: expected a class or namespace DTL2::OutputImage resultL2 = dtL2.compute ( image ); ^ /Users/kerautre/EnCours/DGtalTools/volumetric/homotopicThinning3D.cpp:149:8: error: use of undeclared identifier 'resultL2' if (resultL2( _it ) <= layer_layer) ^

dcoeurjo commented 12 years ago

Agree.. I'll edit the code