ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkSimpleContourExtractorImageFilter.h>
Computes an image of contours which will be the contour of the first image.
A pixel of the source image is considered to belong to the contour if its pixel value is equal to the input foreground value and it has in its neighborhood at least one pixel which its pixel value is equal to the input background value. The output image will have pixels which will be set to the output foreground value if they belong to the contour, otherwise they will be set to the output background value.
The neighborhood "radius" is set thanks to the radius params.
Definition at line 50 of file itkSimpleContourExtractorImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef NumericTraits < InputPixelType >::RealType | InputRealType |
typedef InputImageType::SizeType | InputSizeType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef SimpleContourExtractorImageFilter | Self |
typedef BoxImageFilter < InputImageType, OutputImageType > | Superclass |
Public Types inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage | InputImageType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::OffsetType | OffsetType |
typedef TOutputImage | OutputImageType |
typedef TOutputImage::PixelType | OutputPixelType |
typedef SmartPointer< Self > | Pointer |
typedef TInputImage::SizeType | RadiusType |
typedef TInputImage::SizeValueType | RadiusValueType |
typedef TInputImage::RegionType | RegionType |
typedef BoxImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef MultiThreader | MultiThreaderType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::BoxImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
InputPixelType | m_InputBackgroundValue |
InputPixelType | m_InputForegroundValue |
OutputPixelType | m_OutputBackgroundValue |
OutputPixelType | m_OutputForegroundValue |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 69 of file itkSimpleContourExtractorImageFilter.h.
typedef InputImageType::RegionType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 82 of file itkSimpleContourExtractorImageFilter.h.
typedef TInputImage itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Definition at line 62 of file itkSimpleContourExtractorImageFilter.h.
typedef InputImageType::PixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Definition at line 75 of file itkSimpleContourExtractorImageFilter.h.
typedef NumericTraits< InputPixelType >::RealType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputRealType |
Definition at line 80 of file itkSimpleContourExtractorImageFilter.h.
typedef InputImageType::SizeType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputSizeType |
Definition at line 85 of file itkSimpleContourExtractorImageFilter.h.
typedef OutputImageType::RegionType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 83 of file itkSimpleContourExtractorImageFilter.h.
typedef TOutputImage itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 63 of file itkSimpleContourExtractorImageFilter.h.
typedef OutputImageType::PixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 79 of file itkSimpleContourExtractorImageFilter.h.
typedef SmartPointer< Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 68 of file itkSimpleContourExtractorImageFilter.h.
typedef SimpleContourExtractorImageFilter itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 66 of file itkSimpleContourExtractorImageFilter.h.
typedef BoxImageFilter< InputImageType, OutputImageType > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 67 of file itkSimpleContourExtractorImageFilter.h.
|
protected |
|
inlineoverrideprotectedvirtual |
Definition at line 130 of file itkSimpleContourExtractorImageFilter.h.
|
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::BoxImageFilter< TInputImage, TOutputImage >.
|
virtual |
Get the background value used in order to identify a background pixel in the input image.
|
virtual |
Get the foreground value used in order to identify a foreground pixel in the input image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
virtual |
Get the background value used in order to identify a background pixel in the output image.
|
virtual |
Get the foreground value used in order to identify a foreground pixel in the output image.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the background value used in order to identify a background pixel in the input image.
|
virtual |
Set the foreground value used in order to identify a foreground pixel in the input image.
|
virtual |
Set the background value used in order to identify a background pixel in the output image.
|
virtual |
Set the foreground value used in order to identify a foreground pixel in the output image.
|
overrideprotectedvirtual |
SimpleContourExtractorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
Extract dimension from input and output image.
Definition at line 56 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 153 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 150 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 155 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 154 of file itkSimpleContourExtractorImageFilter.h.
|
static |
Extract dimension from input and output image.
Definition at line 58 of file itkSimpleContourExtractorImageFilter.h.