ITK
6.0.0
Insight Toolkit
|
#include <itkLabelImageToLabelMapFilter.h>
convert a labeled image to a label collection image
LabelImageToLabelMapFilter converts a label image to a label collection image. The labels are the same in the input and the output image.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
Definition at line 49 of file itkLabelImageToLabelMapFilter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename InputImageType::IndexType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | LabelObjectType = typename OutputImageType::LabelObjectType |
using | LengthType = typename LabelObjectType::LengthType |
using | OutputImageConstPointer = typename OutputImageType::ConstPointer |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = LabelImageToLabelMapFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
Public Member Functions | |
const char * | GetNameOfClass () const override |
virtual void | SetBackgroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetBackgroundValue () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | AfterThreadedGenerateData () override |
void | BeforeThreadedGenerateData () override |
void | DynamicThreadedGenerateData (const OutputImageRegionType &) override |
void | EnlargeOutputRequestedRegion (DataObject *) override |
void | GenerateInputRequestedRegion () override |
LabelImageToLabelMapFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ThreadedGenerateData (const OutputImageRegionType ®ionForThread, ThreadIdType threadId) override |
~LabelImageToLabelMapFilter () override=default | |
Private Attributes | |
OutputImagePixelType | m_BackgroundValue {} |
std::vector< OutputImagePointer > | m_TemporaryImages {} |
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 58 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::IndexType = typename InputImageType::IndexType |
Definition at line 67 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 64 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 66 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 63 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 65 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 61 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::LabelObjectType = typename OutputImageType::LabelObjectType |
Definition at line 73 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::LengthType = typename LabelObjectType::LengthType |
Definition at line 74 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::OutputImageConstPointer = typename OutputImageType::ConstPointer |
Definition at line 70 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 72 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 69 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 71 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 62 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 57 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::Self = LabelImageToLabelMapFilter |
Standard class type aliases.
Definition at line 55 of file itkLabelImageToLabelMapFilter.h.
using itk::LabelImageToLabelMapFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 56 of file itkLabelImageToLabelMapFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
|
overrideprotected |
|
inlineoverrideprotected |
Definition at line 121 of file itkLabelImageToLabelMapFilter.h.
|
overrideprotected |
LabelImageToLabelMapFilter will produce the entire output.
|
overrideprotected |
LabelImageToLabelMapFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
override |
|
static |
Standard New method.
|
overrideprotected |
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
overrideprotected |
|
staticconstexpr |
ImageDimension constants
Definition at line 77 of file itkLabelImageToLabelMapFilter.h.
|
private |
Definition at line 130 of file itkLabelImageToLabelMapFilter.h.
|
private |
Definition at line 132 of file itkLabelImageToLabelMapFilter.h.
|
staticconstexpr |
Definition at line 78 of file itkLabelImageToLabelMapFilter.h.