]> Creatis software - clitk.git/blobdiff - itk/clitkSegmentationUtils.h
add "get number of connected components" function
[clitk.git] / itk / clitkSegmentationUtils.h
index 09b0844a7271f36cb071da0cf6f542ea097eec06..80d4e93eab56cbd3ce7da2ccf8c929f1c519ad48 100644 (file)
@@ -70,6 +70,14 @@ namespace clitk {
   //--------------------------------------------------------------------
 
 
+  //--------------------------------------------------------------------
+  template<class ImageType>
+  int GetNumberOfConnectedComponentLabels(typename ImageType::Pointer input, 
+                                          typename ImageType::PixelType BG, 
+                                          bool isFullyConnected);
+  //--------------------------------------------------------------------
+
+
   //-------------------------------------------------------------------- 
   template<class TImageType>
   typename TImageType::Pointer