13 #ifndef mitkCorrectorAlgorithm_h
14 #define mitkCorrectorAlgorithm_h
23 #define multilabelSegmentationType unsigned short
42 itkFactorylessNewMacro(
Self);
51 itkSetMacro(FillColor,
int);
52 itkGetConstMacro(FillColor,
int);
54 itkSetMacro(EraseColor,
int);
55 itkGetConstMacro(EraseColor,
int);
89 template <
typename ScalarType>
93 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic);
94 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer CloneImage(
95 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic);
97 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic);
98 std::vector<itk::Index<2>> FindSeedPoints(
100 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic);
101 int FillRegion(
const std::vector<itk::Index<2>> &seedPoints,
102 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer pic);
103 void OverwriteImage(itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer source,
104 itk::Image<mitk::CorrectorAlgorithm::DefaultSegmentationDataType, 2>::Pointer target);
#define MITKSEGMENTATION_EXPORT
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
mitk::Label::PixelType DefaultSegmentationDataType
mitkClassMacro(CorrectorAlgorithm, ImageToImageFilter)
Image::Pointer m_DifferenceImage
void GenerateData() override
Image::Pointer m_WorkingImage
~CorrectorAlgorithm() override
bool ImprovedHeimannCorrectionAlgorithm(itk::Image< DefaultSegmentationDataType, 2 >::Pointer pic)
void SetContour(ContourModel *contour)
User drawn contour.
ContourModel::Pointer m_Contour
bool ModifySegment(const TSegData &segment, itk::Image< DefaultSegmentationDataType, 2 >::Pointer pic)
Superclass of all classes generating Images (instances of class Image) as output.
Superclass of all classes having one or more Images as input and generating Images as output.
Find image slices visible on a given plane.
Calculated difference image.
std::vector< itk::Index< 2 > > points