25 #ifndef SOBELEDGEDETECTION_H
26 #define SOBELEDGEDETECTION_H
30 #include <vtkImageData.h>
65 vtkSmartPointer<vtkImageData>
implementProcess(vtkSmartPointer<vtkImageData> img);
67 template <
class InputPixelType,
class OutputPixelType, const
int dim>
68 vtkSmartPointer<vtkImageData>
itkProcess(vtkSmartPointer<vtkImageData> img);
76 #endif // SOBELEDGEDETECTION_H
vtkSmartPointer< vtkImageData > itkProcess(vtkSmartPointer< vtkImageData > img)
Action class is an abstract class that enables you to build a action (generally on a component)...
Definition: Action.h:184
bool keepOrgVoxelType
Rescale the final image to the original image type or keep double voxel type.
Definition: SobelEdgeDetection.h:73
SobelEdgeDetection(camitk::ActionExtension *)
Default Constructor.
This class describes what is a generic Action extension.
Definition: ActionExtension.h:61
Definition: ImageComponent.h:69
virtual void process(camitk::ImageComponent *)
helper method to simplify the target component processing
virtual ~SobelEdgeDetection()
Default Destructor.
vtkSmartPointer< vtkImageData > implementProcess(vtkSmartPointer< vtkImageData > img)
Perform the Sobel edge detection on the ImageComponent.
Definition: SobelEdgeDetection.h:42
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method) ...
Definition: Action.h:196
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.