ITK
4.1.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 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.
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SimpleContourExtractorImageFilter | ( | ) | [protected] |
End concept checking
virtual itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 130 of file itkSimpleContourExtractorImageFilter.h.
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SimpleContourExtractorImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [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 const InputPixelType& itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetInputBackgroundValue | ( | ) | [virtual] |
Get the background value used in order to identify a background pixel in the input image.
virtual const InputPixelType& itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetInputForegroundValue | ( | ) | [virtual] |
Get the foreground value used in order to identify a foreground pixel in the input image.
virtual const char* itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
virtual const OutputPixelType& itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetOutputBackgroundValue | ( | ) | [virtual] |
Get the background value used in order to identify a background pixel in the output image.
virtual const OutputPixelType& itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetOutputForegroundValue | ( | ) | [virtual] |
Get the foreground value used in order to identify a foreground pixel in the output image.
static Pointer itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [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 >.
void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.
virtual void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SetInputBackgroundValue | ( | InputPixelType | _arg | ) | [virtual] |
Set the background value used in order to identify a background pixel in the input image.
virtual void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SetInputForegroundValue | ( | InputPixelType | _arg | ) | [virtual] |
Set the foreground value used in order to identify a foreground pixel in the input image.
virtual void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SetOutputBackgroundValue | ( | OutputPixelType | _arg | ) | [virtual] |
Set the background value used in order to identify a background pixel in the output image.
virtual void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SetOutputForegroundValue | ( | OutputPixelType | _arg | ) | [virtual] |
Set the foreground value used in order to identify a foreground pixel in the output image.
void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
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 > )
const unsigned int itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
Extract dimension from input and output image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkSimpleContourExtractorImageFilter.h.
InputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_InputBackgroundValue [private] |
Definition at line 153 of file itkSimpleContourExtractorImageFilter.h.
InputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_InputForegroundValue [private] |
Definition at line 152 of file itkSimpleContourExtractorImageFilter.h.
OutputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_OutputBackgroundValue [private] |
Definition at line 155 of file itkSimpleContourExtractorImageFilter.h.
OutputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_OutputForegroundValue [private] |
Definition at line 154 of file itkSimpleContourExtractorImageFilter.h.
const unsigned int itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
Extract dimension from input and output image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkSimpleContourExtractorImageFilter.h.