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

#include <itkSobelEdgeDetectionImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef InputImageType::Pointer InputImagePointer
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef SmartPointer< SelfPointer
typedef
SobelEdgeDetectionImageFilter 
Self
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual void GenerateInputRequestedRegion () throw ( InvalidRequestedRegionError )
virtual const char * GetNameOfClass () const
 typedef (Concept::SameDimension< InputImageDimension, ImageDimension >) SameDimensionCheck
 typedef (Concept::HasNumericTraits< OutputPixelType >) OutputHasNumericTraitsCheck

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void GenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const
 SobelEdgeDetectionImageFilter ()
virtual ~SobelEdgeDetectionImageFilter ()

Private Member Functions

void operator= (const Self &)
 SobelEdgeDetectionImageFilter (const Self &)
typedef TOutputImage::PixelType OutputPixelType
typedef
TOutputImage::InternalPixelType 
OutputInternalPixelType
typedef TInputImage::PixelType InputPixelType
typedef
TInputImage::InternalPixelType 
InputInternalPixelType
static const unsigned int ImageDimension = TOutputImage::ImageDimension
static const unsigned int InputImageDimension = TInputImage::ImageDimension

Detailed Description

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

A 2D or 3D edge detection using the Sobel operator.

This filter uses the Sobel operator to calculate the image gradient and then finds the magnitude of this gradient vector. The Sobel gradient magnitude (square-root sum of squares) is an indication of edge strength.

See also:
ImageToImageFilter
SobelOperator
Neighborhood
NeighborhoodOperator
NeighborhoodIterator
Wiki Examples:

Definition at line 50 of file itkSobelEdgeDetectionImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImagePointer
template<class TInputImage , class TOutputImage >
typedef TInputImage itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImageType

Image typedef support

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

Definition at line 77 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage::InternalPixelType itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputInternalPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 67 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage::PixelType itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 66 of file itkSobelEdgeDetectionImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 78 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage::InternalPixelType itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 65 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage::PixelType itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 64 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::Pointer

Smart pointer typedef support

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

Definition at line 84 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SobelEdgeDetectionImageFilter itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::Self

Standard "Self" & Superclass typedef.

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

Definition at line 57 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

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

End concept checking

Definition at line 125 of file itkSobelEdgeDetectionImageFilter.h.

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

End concept checking

Definition at line 126 of file itkSobelEdgeDetectionImageFilter.h.

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

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::SobelEdgeDetectionImageFilter< 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::Object.

template<class TInputImage , class TOutputImage >
void itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::GenerateData ( ) [protected, virtual]

Standard pipeline method. While this class does not implement a ThreadedGenerateData(), its GenerateData() delegates all calculations to an NeighborhoodOperatorImageFilter. Since the NeighborhoodOperatorImageFilter is multithreaded, this filter is multithreaded by default.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual void itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( ) throw ( InvalidRequestedRegionError ) [virtual]

SobelEdgeDetectionImageFilter needs a larger input requested region than the output requested region (larger in the direction of the derivative). As such, SobelEdgeDetectionImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.

See also:
ImageToImageFilter::GenerateInputRequestedRegion()

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

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

Run-time type information (and related methods)

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

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage , class TOutputImage >
void itk::SobelEdgeDetectionImageFilter< 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::ImageToImageFilter< TInputImage, TOutputImage >.

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

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 >.

Definition at line 138 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::typedef ( Concept::SameDimension< InputImageDimension, ImageDimension )

Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< InputImageDimension, ImageDimension > )

template<class TInputImage , class TOutputImage >
itk::SobelEdgeDetectionImageFilter< 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::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::ImageDimension = TOutputImage::ImageDimension [static]

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 69 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage , class TOutputImage >
const unsigned int itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static]

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

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

Definition at line 71 of file itkSobelEdgeDetectionImageFilter.h.


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