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

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

#include <itkLaplacianImageFilter.h>

Inheritance diagram for itk::LaplacianImageFilter< TInputImage, TOutputImage >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef LaplacianImageFilter 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 Member Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual const char * GetNameOfClass () const
virtual void GenerateInputRequestedRegion () throw (InvalidRequestedRegionError)
void SetUseImageSpacingOn ()
void SetUseImageSpacingOff ()
virtual void SetUseImageSpacing (bool _arg)
virtual bool GetUseImageSpacing ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 LaplacianImageFilter ()
virtual ~LaplacianImageFilter ()
void GenerateData ()
void PrintSelf (std::ostream &, Indent) const

Detailed Description

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

This filter computes the Laplacian of a scalar-valued image. The Laplacian is an isotropic measure of the 2nd spatial derivative of an image. The Laplacian of an image highlights regions of rapid intensity change and is therefore often used for edge detection. Often, the Laplacian is applied to an image that has first been smoothed with a Gaussian filter in order to reduce its sensitivity to noise.

The Laplacian at each pixel location is computed by convolution with the itk::LaplacianOperator.
Inputs and Outputs
The input to this filter is a scalar-valued itk::Image of arbitrary dimension. The output is a scalar-valued itk::Image.
See also:
Image

Neighborhood

NeighborhoodOperator

NeighborhoodIterator

LaplacianOperator

Definition at line 52 of file itkLaplacianImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 77 of file itkLaplacianImageFilter.h.

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

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

Definition at line 73 of file itkLaplacianImageFilter.h.

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

Image typedef support.

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

Definition at line 71 of file itkLaplacianImageFilter.h.

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

Definition at line 66 of file itkLaplacianImageFilter.h.

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

Definition at line 65 of file itkLaplacianImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 72 of file itkLaplacianImageFilter.h.

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

Definition at line 64 of file itkLaplacianImageFilter.h.

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

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

Definition at line 63 of file itkLaplacianImageFilter.h.

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

Smart pointer typedef support.

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

Definition at line 76 of file itkLaplacianImageFilter.h.

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

Standard "Self" & Superclass typedef.

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

Definition at line 58 of file itkLaplacianImageFilter.h.

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

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

Definition at line 59 of file itkLaplacianImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 112 of file itkLaplacianImageFilter.h.

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

Definition at line 116 of file itkLaplacianImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::LaplacianImageFilter< 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::LaplacianImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion  )  throw (InvalidRequestedRegionError) [virtual]
 

LaplacianImageFilter needs a larger input requested region than the output requested region (larger in the direction of the derivative). As such, LaplacianImageFilter 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::LaplacianImageFilter< TInputImage, TOutputImage >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods)

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

template<class TInputImage, class TOutputImage>
virtual bool itk::LaplacianImageFilter< TInputImage, TOutputImage >::GetUseImageSpacing  )  [virtual]
 

Set/Get whether or not the filter will use the spacing of the input image in its calculations

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

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

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::LaplacianImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  ,
Indent 
const [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 >.

template<class TInputImage, class TOutputImage>
virtual void itk::LaplacianImageFilter< TInputImage, TOutputImage >::SetUseImageSpacing bool  _arg  )  [virtual]
 

Set/Get whether or not the filter will use the spacing of the input image in its calculations

template<class TInputImage, class TOutputImage>
void itk::LaplacianImageFilter< TInputImage, TOutputImage >::SetUseImageSpacingOff  )  [inline]
 

Ignore the image spacing. Use this option if you want derivatives in isotropic pixel space. Default is UseImageSpacingOn.

Definition at line 101 of file itkLaplacianImageFilter.h.

template<class TInputImage, class TOutputImage>
void itk::LaplacianImageFilter< TInputImage, TOutputImage >::SetUseImageSpacingOn  )  [inline]
 

Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.

Definition at line 96 of file itkLaplacianImageFilter.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:34:08 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000