ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkSimpleContourExtractorImageFilter.h>

+ Inheritance diagram for itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
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< SelfPointer
typedef
SimpleContourExtractorImageFilter 
Self
typedef BoxImageFilter
< InputImageType,
OutputImageType
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const InputPixelTypeGetInputBackgroundValue ()
virtual const InputPixelTypeGetInputForegroundValue ()
virtual const char * GetNameOfClass () const
virtual const OutputPixelTypeGetOutputBackgroundValue ()
virtual const OutputPixelTypeGetOutputForegroundValue ()
virtual void SetInputBackgroundValue (InputPixelType _arg)
virtual void SetInputForegroundValue (InputPixelType _arg)
virtual void SetOutputBackgroundValue (OutputPixelType _arg)
virtual void SetOutputForegroundValue (OutputPixelType _arg)
 typedef (Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck
 typedef (Concept::HasNumericTraits< OutputPixelType >) OutputHasNumericTraitsCheck

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension

Protected Member Functions

void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 SimpleContourExtractorImageFilter ()
virtual ~SimpleContourExtractorImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Private Member Functions

void operator= (const Self &)
 SimpleContourExtractorImageFilter (const Self &)

Private Attributes

InputPixelType m_InputBackgroundValue
InputPixelType m_InputForegroundValue
OutputPixelType m_OutputBackgroundValue
OutputPixelType m_OutputForegroundValue

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >

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.

See also:
Image
Neighborhood
NeighborhoodOperator
NeighborhoodIterator

Definition at line 50 of file itkSimpleContourExtractorImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::RegionType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputImageRegionType
template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
typedef NumericTraits< InputPixelType >::RealType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputRealType

Definition at line 80 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef InputImageType::SizeType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::InputSizeType

Definition at line 85 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 83 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputImageType

Some convenient typedefs.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 63 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::PixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::OutputPixelType
template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef SimpleContourExtractorImageFilter itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

Definition at line 66 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef BoxImageFilter< InputImageType, OutputImageType > itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SimpleContourExtractorImageFilter ( ) [protected]

End concept checking

template<class TInputImage , class TOutputImage >
virtual itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::~SimpleContourExtractorImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 130 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::SimpleContourExtractorImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage >
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 >.

template<class TInputImage , class 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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
virtual const char* itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class 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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
static Pointer itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class 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 >.

template<class TInputImage , class TOutputImage >
void itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

End concept checking

Reimplemented from itk::BoxImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class 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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
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"

See also:
ImageToImageFilter::ThreadedGenerateData(), ImageToImageFilter::GenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< InputPixelType )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )

template<class TInputImage , class TOutputImage >
itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< OutputPixelType )

This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< OutputPixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
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.

template<class TInputImage , class TOutputImage >
InputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_InputBackgroundValue [private]

Definition at line 153 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
InputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_InputForegroundValue [private]

Definition at line 152 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
OutputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_OutputBackgroundValue [private]

Definition at line 155 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
OutputPixelType itk::SimpleContourExtractorImageFilter< TInputImage, TOutputImage >::m_OutputForegroundValue [private]

Definition at line 154 of file itkSimpleContourExtractorImageFilter.h.

template<class TInputImage , class TOutputImage >
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.


The documentation for this class was generated from the following file: