25 #ifndef MORPHOLOGICALOPERATORS_H
26 #define MORPHOLOGICALOPERATORS_H
88 vtkSmartPointer<vtkImageData>
implementProcess(vtkSmartPointer<vtkImageData> img);
90 template <
class InputPixelType,
class OutputPixelType, const
int dim>
91 vtkSmartPointer<vtkImageData>
itkProcess(vtkSmartPointer<vtkImageData> img);
93 template <
class InputPixelType,
class OutputPixelType, const
int dim>
95 template <
class InputPixelType,
class OutputPixelType, const
int dim>
97 template <
class InputPixelType,
class OutputPixelType, const
int dim>
99 template <
class InputPixelType,
class OutputPixelType, const
int dim>
102 template <
class InputPixelType,
class OutputPixelType, const
int dim>
104 template <
class InputPixelType,
class OutputPixelType, const
int dim>
106 template <
class InputPixelType,
class OutputPixelType, const
int dim>
108 template <
class InputPixelType,
class OutputPixelType, const
int dim>
122 #endif // MORPHOLOGICALOPERATORS_H
vtkSmartPointer< vtkImageData > itkProcess(vtkSmartPointer< vtkImageData > img)
MorphoType typeOfOperation
Enumerations.
Definition: MorphologicalOperators.h:50
Definition: MorphologicalOperators.h:56
MorphoType getTypeOfOperation() const
vtkSmartPointer< vtkImageData > greyLevelOpeningFilter(vtkSmartPointer< vtkImageData > img)
MorphoOperation operation
Definition: MorphologicalOperators.h:51
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:184
void setTypeOfOperation(const MorphoType typeOfOperation)
vtkSmartPointer< vtkImageData > greyLevelErosionFilter(vtkSmartPointer< vtkImageData > img)
Definition: MorphologicalOperators.h:59
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
int structuringElementSize
Definition: MorphologicalOperators.h:117
vtkSmartPointer< vtkImageData > binaryOpeningFilter(vtkSmartPointer< vtkImageData > img)
void setOperation(const MorphoOperation operation)
vtkSmartPointer< vtkImageData > implementProcess(vtkSmartPointer< vtkImageData > img)
MorphoOperation getOperation() const
This class describes what is a generic Action extension.
Definition: ActionExtension.h:61
virtual ~MorphologicalOperators()
Default Destructor.
MorphoType
Define the possible types of morphological operatiosn.
Definition: MorphologicalOperators.h:56
Definition: ImageComponent.h:69
QString suffix
Definition: MorphologicalOperators.h:119
Perform some morphological operators such as opening, closing ...
Definition: MorphologicalOperators.h:43
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:196
MorphologicalOperators(camitk::ActionExtension *)
Default Constructor.
virtual void process(camitk::ImageComponent *)
helper method to simplify the target component processing
vtkSmartPointer< vtkImageData > binaryDilationFilter(vtkSmartPointer< vtkImageData > img)
Definition: MorphologicalOperators.h:56
Definition: MorphologicalOperators.h:59
vtkSmartPointer< vtkImageData > greyLevelClosureFilter(vtkSmartPointer< vtkImageData > img)
Definition: MorphologicalOperators.h:59
vtkSmartPointer< vtkImageData > binaryErosionFilter(vtkSmartPointer< vtkImageData > img)
vtkSmartPointer< vtkImageData > greyLevelDilationFilter(vtkSmartPointer< vtkImageData > img)
MorphoOperation
Define the possible morphological operations.
Definition: MorphologicalOperators.h:59
vtkSmartPointer< vtkImageData > binaryClosureFilter(vtkSmartPointer< vtkImageData > img)
Definition: MorphologicalOperators.h:59