34 #ifndef __itkExtractMeshesFromLabelImageFilter_h
35 #define __itkExtractMeshesFromLabelImageFilter_h
38 #pragma warning ( disable : 4786 )
41 #include "itkImageToImageFilter.h"
44 #include "itkImageRegionIteratorWithIndex.h"
45 #include "itkRegionOfInterestImageFilter.h"
46 #include "itkShapeLabelObject.h"
47 #include "itkLabelMap.h"
48 #include "itkLabelImageToShapeLabelMapFilter.h"
49 #include "itkLabelImageToStatisticsLabelMapFilter.h"
50 #include "itkShapeRelabelImageFilter.h"
52 #include "itkVector.h"
53 #include "itkQuadEdgeMesh.h"
55 #include "itkSmoothingQuadEdgeMeshFilter.h"
56 #include "itkSquaredEdgeLengthDecimationQuadEdgeMeshFilter.h"
58 #include "itkQuadEdgeMeshSmoothing.h"
59 #include "itkQuadEdgeMeshSquaredEdgeLengthDecimation.h"
62 #include "itkQuadEdgeMeshParamMatrixCoefficients.h"
63 #include "itkQuadEdgeMeshDecimationCriteria.h"
65 #include "itkBinaryMask3DMeshSource.h"
68 #include "itkVTKPolyDataWriter.h"
69 #include "itkMultiThreader.h"
79 template<
class TImage,
class TFeatureImage = TImage >
116 typedef QuadEdgeMesh< CoordType, ImageDimension >
MeshType;
135 typedef LabelImageToShapeLabelMapFilter<
ImageType,
141 typedef typename ShapeLabelMapType::LabelObjectContainerType
143 typedef typename LabelObjectContainerType::const_iterator
156 typedef LabelImageToStatisticsLabelMapFilter<
185 typedef SquaredEdgeLengthDecimationQuadEdgeMeshFilter<
188 typedef QuadEdgeMeshSquaredEdgeLengthDecimation<
206 itkSetMacro( NumberOfTrianglesPerMesh,
unsigned int );
218 itkSetMacro( NumberOfSmoothingIterations,
unsigned int );
245 void PrintSelf(std::ostream& os, Indent indent)
const;
247 const unsigned int& endLabel );
291 #include "itkExtractMeshesFromLabelImageFilter.txx"