18 #ifndef itkLabelImageToLabelMapFilter_h
19 #define itkLabelImageToLabelMapFilter_h
47 template <
typename TInputImage,
48 typename TOutputImage = LabelMap<LabelObject<typename TInputImage::PixelType, TInputImage::ImageDimension>>>
77 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
78 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
94 #ifdef ITK_USE_CONCEPT_CHECKING
102 PrintSelf(std::ostream & os,
Indent indent)
const override;
108 GenerateInputRequestedRegion()
override;
112 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
115 BeforeThreadedGenerateData()
override;
123 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
127 AfterThreadedGenerateData()
override;
136 #ifndef ITK_MANUAL_INSTANTIATION
137 # include "itkLabelImageToLabelMapFilter.hxx"