13 #ifndef mitkBinaryImageToLabelSetImageFilter_h
14 #define mitkBinaryImageToLabelSetImageFilter_h
30 itkFactorylessNewMacro(
Self);
34 void SetInput(
unsigned int index,
const InputImageType* image)
override;
36 itkSetMacro(FullyConnected,
bool);
37 itkGetConstMacro(FullyConnected,
bool);
39 itkSetMacro(ForegroundValue,
unsigned int);
40 itkGetConstMacro(ForegroundValue,
unsigned int);
42 itkSetMacro(OutputIsLabelSetImage,
bool);
43 itkGetConstMacro(OutputIsLabelSetImage,
bool);
46 using Superclass::SetInput;
51 template <
typename TPixel,
unsigned int VImageDimension>
52 void ApplyBinaryImageToLabelMapFilter(
const itk::Image<TPixel, VImageDimension>* inputImage);
54 void GenerateData()
override;
55 void VerifyInputInformation()
const override;
56 void VerifyInputImage(
const mitk::Image* inputImage)
const;
58 bool m_FullyConnected =
true;
59 unsigned int m_ForegroundValue = 1;
60 bool m_OutputIsLabelSetImage =
false;