25#ifndef MANUALTHRESHOLD_H
26#define MANUALTHRESHOLD_H
67 template <
class InputPixelType,
class OutputPixelType, const
int dim>
68 vtkSmartPointer<vtkImageData>
itkProcess(vtkSmartPointer<vtkImageData> img);
Segment the ImageComponent using a manual threshold.
Definition: ManualThreshold.h:39
vtkSmartPointer< vtkImageData > implementProcess(vtkSmartPointer< vtkImageData > img)
ManualThreshold(camitk::ActionExtension *)
Default Constructor.
Definition: ManualThreshold.cpp:41
int lowThreshold
Parameters.
Definition: ManualThreshold.h:73
virtual void process(camitk::ImageComponent *comp)
helper method to simplify the target component processing
Definition: ManualThreshold.cpp:126
virtual QWidget * getWidget()
Required to update the min/max constraints on the threshold value from the currently selected images ...
Definition: ManualThreshold.cpp:79
int highThreshold
Definition: ManualThreshold.h:74
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: ManualThreshold.cpp:116
vtkSmartPointer< vtkImageData > itkProcess(vtkSmartPointer< vtkImageData > img)
Definition: ManualThreshold.cpp:148
virtual ~ManualThreshold()
Default Destructor.
Definition: ManualThreshold.cpp:74
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:208
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:224
The manager of the Image Volume data.
Definition: ImageComponent.h:77