Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

iptk::SdImage Class Reference

#include <sdImage.h>

Inheritance diagram for iptk::SdImage:

Inheritance graph
[legend]
Collaboration diagram for iptk::SdImage:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to extract a standard deviation image (or sdImage) based on the a neighbourhood.

By sdImage, we do not mean the standard deviation of the image, we mean that each pixel intensity in the sdImage is the standard deviation of the intensity value of a certain neighbourhood of the corresponding pixel in the original image. The 'variance image' is also simultaneously evaluated. The sdImage is extracted onto a different memory space and can be accessed using the getResult member function.


Public Member Functions

 SdImage (void)
 Default constructor.

 SdImage (const iptk::Image &im)
 Image registering constructor.

 SdImage (const SdImage &si)
 Copy constructor.

virtual ~SdImage ()
 Destructor.

virtual void process (void)
 The function which actually extracts the sdImage.

virtual iptk::Image getVarianceImage (void)
 Returns the variance image.


Constructor & Destructor Documentation

iptk::SdImage::SdImage void   ) 
 

Default constructor.

Does nothing. Objects initialised by default construction should register the image by a call to setImage. This image is un-affected by any of the processes performed by the object.

iptk::SdImage::SdImage const iptk::Image im  ) 
 

Image registering constructor.

Objects created using this constructor do not need to register an image separtely.

iptk::SdImage::SdImage const SdImage si  ) 
 

Copy constructor.

This is only a reference copier. The new object and the old object share the same data space (and hence the data) in memory.

virtual iptk::SdImage::~SdImage  )  [virtual]
 

Destructor.

This destructor does nothing. The design of the class calls for nothing to be done.


Member Function Documentation

virtual iptk::Image iptk::SdImage::getVarianceImage void   )  [virtual]
 

Returns the variance image.

The returned image is meaningfull only after a call to the process member function.

virtual void iptk::SdImage::process void   )  [virtual]
 

The function which actually extracts the sdImage.

Set the neighbourhood size by a call to the setParams function before a call to this function. Else a default value of 3 will be used for the neighbourhood size.

Implements iptk::NeighbourhoodStatisticsFilter.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:42 2004 for ImprolaLib by doxygen 1.3.7