25 #ifndef CONNECTEDCOMPONENTS_H
26 #define CONNECTEDCOMPONENTS_H
70 vtkSmartPointer<vtkImageData>
implementProcess(vtkSmartPointer<vtkImageData> img);
72 template <
class InputPixelType,
class OutputPixelType, const
int dim>
73 vtkSmartPointer<vtkImageData>
itkProcess(vtkSmartPointer<vtkImageData> img);
79 #endif // CONNECTEDCOMPONENTS_H
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:184
vtkSmartPointer< vtkImageData > itkProcess(vtkSmartPointer< vtkImageData > img)
int getNbConnectedComponents() const
virtual void process(camitk::ImageComponent *)
helper method to simplify the target component processing
int nbConnectedComponents
Definition: ConnectedComponents.h:45
This class describes what is a generic Action extension.
Definition: ActionExtension.h:61
virtual ~ConnectedComponents()
Default Destructor.
vtkSmartPointer< vtkImageData > implementProcess(vtkSmartPointer< vtkImageData > img)
Definition: ImageComponent.h:69
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
ConnectedComponents(camitk::ActionExtension *)
Default Constructor.
void setNbConnectedComponents(const int nbConnectedComponents)
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:196
Perform a connected component analysis on the ImageComponent.
Definition: ConnectedComponents.h:41