![]() |
ITK
5.1.0
Insight Toolkit
|
#include <itkLabelMapToBinaryImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename OutputImageType::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 InputImageType::LabelObjectType |
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 = LabelMapToBinaryImageFilter |
using | Superclass = LabelMapFilter< TInputImage, TOutputImage > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename Superclass::InputImageConstPointer |
using | InputImagePixelType = typename Superclass::InputImagePixelType |
using | InputImagePointer = typename Superclass::InputImagePointer |
using | InputImageRegionType = typename Superclass::InputImageRegionType |
using | InputImageType = typename Superclass::InputImageType |
using | LabelObjectType = typename InputImageType::LabelObjectType |
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 = LabelMapFilter |
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TInputImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TOutputImage > |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TOutputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
OutputImagePixelType | m_BackgroundValue |
OutputImagePixelType | m_ForegroundValue |
virtual void | SetBackgroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetBackgroundValue () const |
virtual void | SetForegroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetForegroundValue () const |
void | SetBackgroundImage (const OutputImageType *input) |
OutputImageType * | GetBackgroundImage () |
void | SetInput1 (const InputImageType *input) |
void | SetInput2 (const OutputImageType *input) |
LabelMapToBinaryImageFilter () | |
~LabelMapToBinaryImageFilter () override=default | |
void | GenerateInputRequestedRegion () override |
void | EnlargeOutputRequestedRegion (DataObject *) override |
void | GenerateData () override |
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override |
void | SuperclassDynamicTGD (const OutputImageRegionType &outputRegion) |
void | ThreadedProcessLabelObject (LabelObjectType *labelObject) override |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Convert a LabelMap to a binary image.
LabelMapToBinaryImageFilter to a binary image. All the objects in the image are used as foreground. The background values of the original binary image can be restored by passing this image to the filter with the SetBackgroundImage() method.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 46 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 55 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::IndexType = typename OutputImageType::IndexType |
Definition at line 70 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 61 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 63 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 60 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 62 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 58 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::LabelObjectType = typename InputImageType::LabelObjectType |
Definition at line 64 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer = typename OutputImageType::ConstPointer |
Definition at line 67 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 69 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 66 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 68 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 59 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 54 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::Self = LabelMapToBinaryImageFilter |
Standard class type aliases.
Definition at line 52 of file itkLabelMapToBinaryImageFilter.h.
using itk::LabelMapToBinaryImageFilter< TInputImage, TOutputImage >::Superclass = LabelMapFilter<TInputImage, TOutputImage> |
Definition at line 53 of file itkLabelMapToBinaryImageFilter.h.
|
protected |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
overrideprotecteddefault |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
LabelMapToBinaryImageFilter will produce the entire output.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
LabelMapToBinaryImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
inline |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Definition at line 108 of file itkLabelMapToBinaryImageFilter.h.
References itk::ProcessObject::GetInput().
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Runtime information support.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
static |
Standard New method.
|
overrideprotectedvirtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
inline |
Set/Get the background image top be used to restore the background values
Definition at line 101 of file itkLabelMapToBinaryImageFilter.h.
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().
|
inline |
Set the input image
Definition at line 115 of file itkLabelMapToBinaryImageFilter.h.
|
inline |
Set the marker image
Definition at line 122 of file itkLabelMapToBinaryImageFilter.h.
|
inlineprotected |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Definition at line 149 of file itkLabelMapToBinaryImageFilter.h.
|
overrideprotectedvirtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
staticconstexpr |
ImageDimension constants
Definition at line 73 of file itkLabelMapToBinaryImageFilter.h.
|
private |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Definition at line 161 of file itkLabelMapToBinaryImageFilter.h.
|
private |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
Definition at line 162 of file itkLabelMapToBinaryImageFilter.h.
|
staticconstexpr |
Definition at line 74 of file itkLabelMapToBinaryImageFilter.h.