25 #ifndef CONNECTEDCOMPONENTS_H
26 #define CONNECTEDCOMPONENTS_H
34 using namespace camitk;
40 Q_PROPERTY(
int nbConnectedComponents READ getNbConnectedComponents)
58 int getNbConnectedComponents()
const ;
59 void setNbConnectedComponents(
const int nbConnectedComponents);
65 vtkSmartPointer<vtkImageData> implementProcess(vtkSmartPointer<vtkImageData> img);
67 template <
class InputPixelType,
class OutputPixelType, const
int dim>
68 vtkSmartPointer<vtkImageData> itkProcess(vtkSmartPointer<vtkImageData> img);
70 int nbConnectedComponents;
74 #endif // CONNECTEDCOMPONENTS_H