34 #ifndef __QGoWaterShedAlgo_h
35 #define __QGoWaterShedAlgo_h
40 #include "QGoGUILibConfigure.h"
41 #include "vtkSmartPointer.h"
42 #include "vtkPolyData.h"
43 #include "vtkImageData.h"
57 int iMaxThreshold = 0,
61 virtual std::vector<vtkPolyData*>
ApplyAlgo(
64 bool iIsInvertedOn =
false) = 0;
QGoAlgoParameter< double > * m_Beta
QGoAlgoParameter< int > * m_ThresMin
abstract class to be the interface between the semi automatic algorithms for meshes and contours and ...
QGoWaterShedAlgo(std::vector< vtkPoints * > *iSeeds, int iMaxThreshold=0, QWidget *iParent=0)
QGoAlgoParameter< int > * m_ThresMax
virtual void SetAlgoWidget(QWidget *iParent)
construct the algowidget with the different parameters
QGoAlgoParameter< double > * m_CorrThres
virtual std::vector< vtkPolyData * > ApplyAlgo(GoImageProcessor *iImages, std::string iChannel, bool iIsInvertedOn=false)=0
return the vtkpolydata created by the algorithm
QGoAlgoParameter< double > * m_Alpha
Interface between image reader and vtkImageData.
void DeleteParameters()
delete the different parameters
class to be the interface between the watershed algo for meshes and GoFigure