GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
QGoContourWaterShedAlgo Class Reference

class to be the interface between the watershed algo for contours and GoFigure More...

#include <Code/GUI/lib/TraceEditing/QGoContourWaterShedAlgo.h>

Inheritance diagram for QGoContourWaterShedAlgo:
Inheritance graph
[legend]
Collaboration diagram for QGoContourWaterShedAlgo:
Collaboration graph
[legend]

Public Member Functions

std::vector< vtkPolyData * > ApplyAlgo (vtkPoints *iSeeds, std::vector< vtkSmartPointer< vtkImageData > > *iImages, int iChannel)
 
 QGoContourWaterShedAlgo (QWidget *iParent=0)
 
 ~QGoContourWaterShedAlgo ()
 
- Public Member Functions inherited from QGoWaterShedAlgo
virtual std::vector
< vtkPolyData * > 
ApplyAlgo (GoImageProcessor *iImages, std::string iChannel, bool iIsInvertedOn=false)=0
 return the vtkpolydata created by the algorithm More...
 
 QGoWaterShedAlgo (std::vector< vtkPoints * > *iSeeds, int iMaxThreshold=0, QWidget *iParent=0)
 
 ~QGoWaterShedAlgo ()
 
- Public Member Functions inherited from QGoSemiAutoSegmentationAlgo
 QGoSemiAutoSegmentationAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
virtual ~QGoSemiAutoSegmentationAlgo ()
 
- Public Member Functions inherited from QGoSegmentationAlgo
template<class PixelType , unsigned int VImageDimension>
vtkImageData * ConvertITK2VTK (typename itk::Image< PixelType, VImageDimension >::Pointer iInput)
 
template<class PixelType , unsigned int VImageDimension>
itk::Image< PixelType,
VImageDimension >::Pointer 
ConvertVTK2ITK (vtkImageData *iInput)
 
vtkSmartPointer< vtkPolyData > DecimatePolyData (vtkSmartPointer< vtkPolyData > &iPolyData, const unsigned int &iNumberOfPoints)
 
std::vector< vtkPolyData * > ExtractPolyData (std::vector< vtkImageData * > &iInputImage, const double &iThreshold)
 
vtkSmartPointer< vtkPolyData > ExtractPolyData (vtkImageData *iInputImage, const double &iThreshold)
 
QGoAlgorithmWidgetGetAlgoWidget ()
 return the algowidget More...
 
bool GetDecimate ()
 
unsigned int GetNumberOfPoints () const
 
template<class PixelType , unsigned int VImageDimension>
itk::Image< PixelType,
VImageDimension >::Pointer 
ITKExtractROI (const std::vector< double > &iBounds, typename itk::Image< PixelType, VImageDimension >::Pointer iInput)
 
template<class PixelType >
itk::Image< PixelType, 2 >::Pointer ITKExtractSlice (const std::vector< double > &iBounds, typename itk::Image< PixelType, 3 >::Pointer iInput)
 
 QGoSegmentationAlgo (QWidget *iParent=0)
 
void SetDecimate (bool &iDecimate)
 
void SetNumberOfPoints (const unsigned int &iNumberOfPoints)
 
std::vector< vtkImageData * > VTKExtractROI (const std::vector< double > &iBounds, const std::vector< vtkSmartPointer< vtkImageData > > &iImages)
 return the vtkpolydata created by the algorithm More...
 
vtkImageData * VTKExtractROI (const std::vector< double > &iBounds, const vtkSmartPointer< vtkImageData > &iImage)
 
virtual ~QGoSegmentationAlgo ()
 

Protected Attributes

int m_Orientation
 
- Protected Attributes inherited from QGoWaterShedAlgo
QGoAlgoParameter< double > * m_Alpha
 
QGoAlgoParameter< double > * m_Beta
 
QGoAlgoParameter< double > * m_CorrThres
 
int m_MaxThreshold
 
QGoAlgoParameter< int > * m_ThresMax
 
QGoAlgoParameter< int > * m_ThresMin
 
- Protected Attributes inherited from QGoSemiAutoSegmentationAlgo
QGoAlgoParameter< double > * m_Radius
 
std::vector< vtkPoints * > * m_Seeds
 
- Protected Attributes inherited from QGoSegmentationAlgo
QGoAlgorithmWidgetm_AlgoWidget
 

Additional Inherited Members

- Protected Member Functions inherited from QGoWaterShedAlgo
void DeleteParameters ()
 delete the different parameters More...
 
virtual void SetAlgoWidget (QWidget *iParent)
 construct the algowidget with the different parameters More...
 

Detailed Description

class to be the interface between the watershed algo for contours and GoFigure

Definition at line 51 of file QGoContourWaterShedAlgo.h.

Constructor & Destructor Documentation

QGoContourWaterShedAlgo::QGoContourWaterShedAlgo ( QWidget *  iParent = 0)

Definition at line 38 of file QGoContourWaterShedAlgo.cxx.

QGoContourWaterShedAlgo::~QGoContourWaterShedAlgo ( )

Definition at line 45 of file QGoContourWaterShedAlgo.cxx.

Member Function Documentation

std::vector< vtkPolyData * > QGoContourWaterShedAlgo::ApplyAlgo ( vtkPoints *  iSeeds,
std::vector< vtkSmartPointer< vtkImageData > > *  iImages,
int  iChannel 
)

Definition at line 52 of file QGoContourWaterShedAlgo.cxx.

Member Data Documentation

int QGoContourWaterShedAlgo::m_Orientation
protected

Definition at line 62 of file QGoContourWaterShedAlgo.h.


The documentation for this class was generated from the following files: