25 #ifndef MORPHOLOGICALOPERATORS_H
26 #define MORPHOLOGICALOPERATORS_H
35 using namespace camitk;
44 Q_PROPERTY(
MorphoType typeOfOperation READ getTypeOfOperation WRITE setTypeOfOperation)
59 MorphoType getTypeOfOperation()
const ;
60 void setTypeOfOperation(
const MorphoType typeOfOperation);
62 MorphoOperation getOperation()
const ;
63 void setOperation(
const MorphoOperation operation);
74 virtual ApplyStatus apply();
82 vtkSmartPointer<vtkImageData> implementProcess(vtkSmartPointer<vtkImageData> img);
84 template <
class InputPixelType,
class OutputPixelType, const
int dim>
85 vtkSmartPointer<vtkImageData> itkProcess(vtkSmartPointer<vtkImageData> img);
87 template <
class InputPixelType,
class OutputPixelType, const
int dim>
88 vtkSmartPointer<vtkImageData> binaryErosionFilter(vtkSmartPointer<vtkImageData> img);
89 template <
class InputPixelType,
class OutputPixelType, const
int dim>
90 vtkSmartPointer<vtkImageData> binaryDilationFilter(vtkSmartPointer<vtkImageData> img);
91 template <
class InputPixelType,
class OutputPixelType, const
int dim>
92 vtkSmartPointer<vtkImageData> binaryOpeningFilter(vtkSmartPointer<vtkImageData> img);
93 template <
class InputPixelType,
class OutputPixelType, const
int dim>
94 vtkSmartPointer<vtkImageData> binaryClosureFilter(vtkSmartPointer<vtkImageData> img);
96 template <
class InputPixelType,
class OutputPixelType, const
int dim>
97 vtkSmartPointer<vtkImageData> greyLevelErosionFilter(vtkSmartPointer<vtkImageData> img);
98 template <
class InputPixelType,
class OutputPixelType, const
int dim>
99 vtkSmartPointer<vtkImageData> greyLevelDilationFilter(vtkSmartPointer<vtkImageData> img);
100 template <
class InputPixelType,
class OutputPixelType, const
int dim>
101 vtkSmartPointer<vtkImageData> greyLevelOpeningFilter(vtkSmartPointer<vtkImageData> img);
102 template <
class InputPixelType,
class OutputPixelType, const
int dim>
103 vtkSmartPointer<vtkImageData> greyLevelClosureFilter(vtkSmartPointer<vtkImageData> img);
109 MorphoType typeOfOperation;
110 MorphoOperation operation;
116 #endif // MORPHOLOGICALOPERATORS_H