18 #ifndef itkLabelImageToLabelMapFilter_h
19 #define itkLabelImageToLabelMapFilter_h
47 template<
typename TInputImage,
typename TOutputImage =
48 LabelMap< LabelObject<
typename TInputImage::PixelType,
49 TInputImage::ImageDimension > > >
79 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
80 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
97 #ifdef ITK_USE_CONCEPT_CHECKING
105 void PrintSelf(std::ostream & os,
Indent indent)
const override;
110 void GenerateInputRequestedRegion()
override;
113 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
115 void BeforeThreadedGenerateData()
override;
121 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
124 void AfterThreadedGenerateData()
override;
133 #ifndef ITK_MANUAL_INSTANTIATION
134 #include "itkLabelImageToLabelMapFilter.hxx"
OutputImagePixelType m_BackgroundValue
std::vector< OutputImagePointer > m_TemporaryImages
convert a labeled image to a label collection image
typename OutputImageType::Pointer OutputImagePointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename OutputImageType::LabelObjectType LabelObjectType
TInputImage InputImageType
typename LabelObjectType::LengthType LengthType
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
typename InputImageType::IndexType IndexType
unsigned int ThreadIdType
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename OutputImageType::ConstPointer OutputImageConstPointer
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.