18#ifndef itkLabelImageToLabelMapFilter_h
19#define itkLabelImageToLabelMapFilter_h
47template <
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
123 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
132 typename std::vector<OutputImagePointer> m_TemporaryImages{};
136#ifndef ITK_MANUAL_INSTANTIATION
137# include "itkLabelImageToLabelMapFilter.hxx"
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
convert a labeled image to a label collection image
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::LabelObjectType LabelObjectType
typename InputImageType::RegionType InputImageRegionType
LabelImageToLabelMapFilter()
typename OutputImageType::RegionType OutputImageRegionType
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::IndexType IndexType
TOutputImage OutputImageType
typename LabelObjectType::LengthType LengthType
typename InputImageType::PixelType InputImagePixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
void AfterThreadedGenerateData() override
void GenerateInputRequestedRegion() override
void PrintSelf(std::ostream &os, Indent indent) const override
~LabelImageToLabelMapFilter() override=default
void ThreadedGenerateData(const OutputImageRegionType ®ionForThread, ThreadIdType threadId) override
void EnlargeOutputRequestedRegion(DataObject *) override
void BeforeThreadedGenerateData() override
typename OutputImageType::ConstPointer OutputImageConstPointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType