13 #ifndef mitkContourModelSetToImageFilter_h
14 #define mitkContourModelSetToImageFilter_h
21 class ContourModelSet;
37 itkFactorylessNewMacro(Self);
42 itkSetMacro(PaintingPixelValue,
int);
43 itkSetMacro(TimeStep,
unsigned int);
45 itkGetMacro(MakeOutputBinary,
bool);
46 itkGetMacro(MakeOutputLabelPixelType,
bool);
47 itkGetMacro(PaintingPixelValue,
int);
49 itkBooleanMacro(MakeOutputBinary);
50 itkBooleanMacro(MakeOutputLabelPixelType);
60 itk::DataObject::Pointer
MakeOutput(DataObjectPointerArraySizeType idx)
override;
78 using itk::ProcessObject::SetInput;
#define MITKSEGMENTATION_EXPORT
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Identifier type for named data objects.
Fills a given mitk::ContourModelSet into a given mitk::Image.
mitkClassMacro(ContourModelSetToImageFilter, ImageSource)
~ContourModelSetToImageFilter() override
const mitk::Image * m_ReferenceImage
void GenerateOutputInformation() override
const mitk::ContourModelSet * GetInput(void)
void SetImage(const mitk::Image *refImage)
Sets the image which will be used to initialize the output of this filter.
itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Allocates a new output object and returns it.
void GenerateData() override
void InitializeOutputEmpty()
Initializes the volume of the output image with zeros.
void GenerateInputRequestedRegion() override
virtual void SetMakeOutputBinary(bool makeOutputBinary)
virtual void SetMakeOutputLabelPixelType(bool makeOutputLabelPixelType)
virtual void SetInput(const mitk::ContourModelSet *input)
const mitk::Image * GetImage(void)
itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override
bool m_MakeOutputLabelPixelType
ContourModelSetToImageFilter()
A collection of ContourModel instances managed as a single BaseData object.
A time-resolved contour representation consisting of linked vertices in 3D space.
Superclass of all classes generating Images (instances of class Image) as output.
Image class for storing multi-dimensional medical image data.
Find image slices visible on a given plane.
MITKSEGMENTATION_EXPORT Image::Pointer ConvertContourModelSetToLabelMask(const mitk::Image *refImage, mitk::ContourModelSet *contourSet)
Converts a contour model set into a binary label mask image.
MITKSEGMENTATION_EXPORT Image::Pointer ConvertContourModelToLabelMask(const mitk::Image *refImage, mitk::ContourModel *contourModel)
Converts a contour model into a binary label mask image.