13 #ifndef mitkContourUtils_h
14 #define mitkContourUtils_h
33 itkFactorylessNewMacro(Self);
#define MITKSEGMENTATION_EXPORT
BaseGeometry Describes the geometry of a data object.
Helpful methods for working with contours and images.
void FillContourInSlice(Contour *projectedContour, Image *sliceImage, int paintingPixelValue=1)
Fill a contour in a 2D slice with a specified pixel value.
ContourModel::Pointer ProjectContourTo2DSlice(Image *slice, Contour *contourIn3D)
Projects a contour onto an image point by point. Converts from world to index coordinates.
ContourModel::Pointer BackProjectContourFrom2DSlice(const BaseGeometry *sliceGeometry, Contour *contourIn2D)
Projects a slice index coordinates of a contour back into world coordinates.
mitkClassMacroItkParent(ContourUtils, itk::Object)
Stores vertices for drawing a contour.
Image class for storing images.
Find image slices visible on a given plane.