ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkSimpleContourExtractorImageFilter.h>
Static Public Member Functions | |
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 Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
void | operator= (const Self &) |
SimpleContourExtractorImageFilter (const Self &) |
Private Attributes | |
InputPixelType | m_InputBackgroundValue |
InputPixelType | m_InputForegroundValue |
OutputPixelType | m_OutputBackgroundValue |
OutputPixelType | m_OutputForegroundValue |
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 ouput background value.
The neighborhood "radius" is set thanks to the radius params.
Definition at line 50 of file itkSimpleContourExtractorImageFilter.h.
typedef SmartPointer< const Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkSimpleContourExtractorImageFilter.h.
typedef InputImageType::RegionType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 82 of file itkSimpleContourExtractorImageFilter.h.
typedef TInputImage itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageType |
Convenient typedefs for simplifying declarations.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkSimpleContourExtractorImageFilter.h.
typedef InputImageType::PixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputPixelType |
Image typedef support.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
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 |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 83 of file itkSimpleContourExtractorImageFilter.h.
typedef TOutputImage itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkSimpleContourExtractorImageFilter.h.
typedef OutputImageType::PixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 79 of file itkSimpleContourExtractorImageFilter.h.
typedef SmartPointer< Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkSimpleContourExtractorImageFilter.h.
typedef SimpleContourExtractorImageFilter itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 66 of file itkSimpleContourExtractorImageFilter.h.
typedef BoxImageFilter< InputImageType, OutputImageType > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
Definition at line 67 of file itkSimpleContourExtractorImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
End concept checking
Definition at line 130 of file itkSimpleContourExtractorImageFilter.h.
|
private |
|
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.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
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.
|
protectedvirtual |
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 >.
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< InputPixelType > | ) |
Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< OutputPixelType > | ) |
This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )
|
static |
Extract dimension from input and output image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 153 of file itkSimpleContourExtractorImageFilter.h.
|
private |
Definition at line 152 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.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkSimpleContourExtractorImageFilter.h.