#include <itkSimpleContourExtractorImageFilter.h>
Inheritance diagram for itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >:
Public Types | |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef SimpleContourExtractorImageFilter | Self |
typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef NumericTraits< InputPixelType >::RealType | InputRealType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | InputSizeType |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
virtual void | SetRadius (InputSizeType _arg) |
virtual const InputSizeType & | GetRadius () |
virtual void | SetInputForegroundValue (InputPixelType _arg) |
virtual const InputPixelType & | GetInputForegroundValue () |
virtual void | SetInputBackgroundValue (InputPixelType _arg) |
virtual const InputPixelType & | GetInputBackgroundValue () |
virtual void | SetOutputForegroundValue (OutputPixelType _arg) |
virtual const OutputPixelType & | GetOutputForegroundValue () |
virtual void | SetOutputBackgroundValue (OutputPixelType _arg) |
virtual const OutputPixelType & | GetOutputBackgroundValue () |
virtual void | GenerateInputRequestedRegion () throw (InvalidRequestedRegionError) |
itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
SimpleContourExtractorImageFilter () | |
virtual | ~SimpleContourExtractorImageFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
Computes an image 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 ouput background value. The neighborhood "radius" is set thanks to the radius params.
Definition at line 47 of file itkSimpleContourExtractorImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 66 of file itkSimpleContourExtractorImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 79 of file itkSimpleContourExtractorImageFilter.h. |
|
Convenient typedefs for simplifying declarations. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 59 of file itkSimpleContourExtractorImageFilter.h. |
|
Image typedef support. Definition at line 75 of file itkSimpleContourExtractorImageFilter.h. Referenced by itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter(). |
|
Definition at line 77 of file itkSimpleContourExtractorImageFilter.h. |
|
Definition at line 82 of file itkSimpleContourExtractorImageFilter.h. Referenced by itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter(). |
|
Superclass typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 80 of file itkSimpleContourExtractorImageFilter.h. Referenced by itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter(). |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 60 of file itkSimpleContourExtractorImageFilter.h. |
|
Definition at line 76 of file itkSimpleContourExtractorImageFilter.h. Referenced by itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 65 of file itkSimpleContourExtractorImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 63 of file itkSimpleContourExtractorImageFilter.h. Referenced by itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter(). |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 64 of file itkSimpleContourExtractorImageFilter.h. |
|
|
|
|
SimpleContourExtractorImageFilter needs a larger input requested region than the output requested region. As such, SimpleContourExtractorImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the background value used in order to identify a background pixel in the input image. |
|
Get the foreground value used in order to identify a foreground pixel in the input image. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Get the background value used in order to identify a background pixel in the output image. |
|
Get the foreground value used in order to identify a foreground pixel in the output image. |
|
Get the radius of the neighborhood used to identify border pixel. |
|
Extract dimension from input and output image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Extract dimension from input and output image. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set the background value used in order to identify a background pixel in the input image. |
|
Set the foreground value used in order to identify a foreground pixel in the input image. |
|
Set the background value used in order to identify a background pixel in the output image. |
|
Set the foreground value used in order to identify a foreground pixel in the output image. |
|
Set the radius of the neighborhood used to identify border pixel. |
|
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 >. |