17 #ifndef mitkImageToContourFilter_h_Included
18 #define mitkImageToContourFilter_h_Included
26 #include "vtkCellArray.h"
27 #include "vtkPolyData.h"
28 #include "vtkPolygon.h"
49 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
68 void SetUseProgressBar(
bool);
75 void SetProgressStepSize(
unsigned int stepSize);
79 virtual ~ImageToContourFilter();
80 virtual
void GenerateData() override;
81 virtual
void GenerateOutputInformation() override;
84 const BaseGeometry *m_SliceGeometry;
85 bool m_UseProgressBar;
86 unsigned int m_ProgressStepSize;
88 template <typename TPixel,
unsigned int VImageDimension>
89 void Itk2DContourExtraction(const
itk::
Image<TPixel, VImageDimension> *sliceImage);
Superclass of all classes generating some kind of mitk::BaseData.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
PolyLineParametricPath2D::VertexListType ContourPath
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
itk::PolyLineParametricPath< 2 > PolyLineParametricPath2D
BaseGeometry Describes the geometry of a data object.
A filter that can extract contours out of a 2D binary image.