 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
25 #ifndef REGIONGROWING_H
26 #define REGIONGROWING_H
67 vtkSmartPointer<vtkImageData>
implementProcess(vtkSmartPointer<vtkImageData> img);
69 template <
class InputPixelType,
class OutputPixelType, const
int dim>
70 vtkSmartPointer<vtkImageData>
itkProcess(vtkSmartPointer<vtkImageData> img);
92 #endif // REGIONGROWING_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:129
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:263
@ SUCCESS
everything went according to plan
Definition: Action.h:247
@ ABORTED
the action was aborted before completion
Definition: Action.h:250
ApplyStatus
Definition: Action.h:246
void setName(QString name)
Definition: Action.cpp:113
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:124
itk::SmartPointer< Self > Pointer
Definition: ItkProgressObserver.h:96
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:73
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:159
int highThreshold
high threshold for region growing
Definition: RegionGrowing.h:110
int nbIterations
number of iterations of this smoothing filter
Definition: RegionGrowing.h:104
int lowThreshold
low threshold for region growing
Definition: RegionGrowing.h:108
void setEmbedded(bool isEmbedded)
set the embedded property (an action is embedded by default, unless specified otherwise by explicitly...
Definition: Action.cpp:139
bool filterBefore
Parameters.
Definition: RegionGrowing.h:102
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:134
QList< QVector3D > * seedPoints
list of seed points
Definition: RegionGrowing.h:112
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
Segment using a region growing algorithm the ImageComponent.
Definition: RegionGrowing.h:39
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: RegionGrowing.cpp:92
virtual void process(camitk::ImageComponent *comp)
helper method to simplify the target component processing
Definition: RegionGrowing.cpp:135
void setDescription(QString description)
the description of the action
Definition: Action.cpp:119
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:849
Converts an ITK image into a VTK image and plugs a itk data pipeline to a VTK datapipeline.
Definition: itkImageToVTKImageFilter.h:81
virtual QWidget * getWidget()
Returns the widget that allows one to modify the action parameters.
Definition: RegionGrowing.cpp:74
virtual ~RegionGrowing()
Default Destructor.
Definition: RegionGrowing.cpp:69
vtkSmartPointer< vtkImageData > itkProcess(vtkSmartPointer< vtkImageData > img)
Definition: RegionGrowing.cpp:153
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
vtkSmartPointer< vtkImageData > getImageData() const
get the image volume managed by this Component
Definition: ImageComponent.h:104
vtkSmartPointer< vtkImageData > implementProcess(vtkSmartPointer< vtkImageData > img)
void refresh()
refresh the display
RegionGrowing(camitk::ActionExtension *)
Default Constructor.
Definition: RegionGrowing.cpp:46
Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline.
Definition: itkVTKImageToImageFilter.h:58
QWidget * theWidget
The widget will be filled with parameters.
Definition: RegionGrowing.h:98
Definition: Action.cpp:36
double timeStep
time step of this smoothing filter
Definition: RegionGrowing.h:106