Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage > Class Template Reference
[Image Feature Extraction Filters]

Implements the Sobel Edge Detection.The Sobel operator performs a 2D/ND spatial gradient measurement on an image and so emphasizes regions of high spatial gradient that correspond to edges. Typically it is used to find the approximate absolute gradient magnitude at each point in an input greyscale image. More...

#include <itkSobelEdgeDetectionImageFilter.h>

Inheritance diagram for itk::SobelEdgeDetectionImageFilter:

Inheritance graph
[legend]
Collaboration diagram for itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef SobelEdgeDetectionImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef TOutputImage::PixelType OutputPixelType
typedef TOutputImage::InternalPixelType OutputInternalPixelType
typedef TInputImage::PixelType InputPixelType
typedef TInputImage::InternalPixelType InputInternalPixelType
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef InputImageType::Pointer InputImagePointer
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Methods

 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual const char * GetClassName () const
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

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

Implements the Sobel Edge Detection.The Sobel operator performs a 2D/ND spatial gradient measurement on an image and so emphasizes regions of high spatial gradient that correspond to edges. Typically it is used to find the approximate absolute gradient magnitude at each point in an input greyscale image.

In this filter, the Sobel operator is first applied to each direction just like calculating the derivative image filters. then the the gradient magnitude is calculated, which indicates where the edges are.

See also:
ImageToImageFilter , SobelOperator , Neighborhood , NeighborhoodOperator , NeighborhoodIterator

Definition at line 47 of file itkSobelEdgeDetectionImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 79 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::Pointer itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImagePointer
 

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

Definition at line 73 of file itkSobelEdgeDetectionImageFilter.h.

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

Image typedef support

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

Definition at line 71 of file itkSobelEdgeDetectionImageFilter.h.

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

Definition at line 64 of file itkSobelEdgeDetectionImageFilter.h.

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

Definition at line 63 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 72 of file itkSobelEdgeDetectionImageFilter.h.

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

Definition at line 62 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 61 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 78 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 54 of file itkSobelEdgeDetectionImageFilter.h.

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

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

Definition at line 55 of file itkSobelEdgeDetectionImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 103 of file itkSobelEdgeDetectionImageFilter.h.

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

Definition at line 104 of file itkSobelEdgeDetectionImageFilter.h.

template<class TInputImage, class TOutputImage>
itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::SobelEdgeDetectionImageFilter const Self   [inline, protected]
 

Definition at line 105 of file itkSobelEdgeDetectionImageFilter.h.


Member Function Documentation

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 >::GetClassName   const [virtual]
 

Run-time type information (and related methods)

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

template<class TInputImage, class TOutputImage>
itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ImageDimension   ,
unsigned    int,
TOutputImage::ImageDimension   
 

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

Method for creation through the object factory.

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]
 

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::ImageToImageFilter< TInputImage, TOutputImage >.

Definition at line 116 of file itkSobelEdgeDetectionImageFilter.h.

References HardConnectedComponentImageFilter::PrintSelf().


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:20:47 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000