13 #ifndef mitkGrowCutSegmentationFilter_h
14 #define mitkGrowCutSegmentationFilter_h
37 itkFactorylessNewMacro(Self);
44 void SetSeedImage(itk::Image<mitk::Label::PixelType, 3>::Pointer itkSeedImage) { m_itkSeedImage = itkSeedImage; }
58 itk::Image<mitk::Label::PixelType, 3>::Pointer m_itkSeedImage =
nullptr;
59 double m_DistancePenalty;
#define MITKSEGMENTATION_EXPORT
A filter that performs a growcut image segmentation.
mitkClassMacro(GrowCutSegmentationFilter, ImageToImageFilter)
~GrowCutSegmentationFilter() override
void SetDistancePenalty(double distancePenalty)
Sets the distance penalty factor used in the GrowCut algorithm.
void GenerateData() override
void SetSeedImage(itk::Image< mitk::Label::PixelType, 3 >::Pointer itkSeedImage)
Sets the seed image that contains the initial label assignments for GrowCut.
GrowCutSegmentationFilter()
Superclass of all classes having one or more Images as input and generating Images as output.
Find image slices visible on a given plane.