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);
76 void GenerateData()
override;
78 bool ImprovedHeimannCorrectionAlgorithm(itk::Image<DefaultSegmentationDataType, 2>::Pointer pic);
79 bool ModifySegment(
const TSegData &segment, itk::Image<DefaultSegmentationDataType, 2>::Pointer pic);
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);
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);