13 #ifndef mitkImageToContourFilter_h
14 #define mitkImageToContourFilter_h
22 #include "vtkCellArray.h"
23 #include "vtkPolyData.h"
24 #include "vtkPolygon.h"
45 itkFactorylessNewMacro(Self);
88 bool m_UseProgressBar;
89 unsigned int m_ProgressStepSize;
92 template <
typename TPixel,
unsigned int VImageDimension>
93 void Itk2DContourExtraction(
const itk::Image<TPixel, VImageDimension> *sliceImage);
#define MITKSEGMENTATION_EXPORT
BaseGeometry Describes the geometry of a data object.
A filter that can extract contours out of a 2D binary image.
mitkClassMacro(ImageToContourFilter, ImageToSurfaceFilter)
void GenerateData() override
void SetProgressStepSize(unsigned int stepSize)
Set the stepsize which the progress bar should proceed.
void SetUseProgressBar(bool)
Set whether the mitkProgressBar should be used.
PolyLineParametricPath2D::VertexListType ContourPath
void GenerateOutputInformation() override
itk::PolyLineParametricPath< 2 > PolyLineParametricPath2D
~ImageToContourFilter() override
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
Find image slices visible on a given plane.