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

iptk::MeanImage Class Reference

#include <meanImage.h>

Inheritance diagram for iptk::MeanImage:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to extract a mean image based on the a neighbourhood.

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


Public Member Functions

 MeanImage (void)
 Default constructor.

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

 MeanImage (const MeanImage &mi)
 Copy constructor.

virtual ~MeanImage ()
 Destructor.

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


Constructor & Destructor Documentation

iptk::MeanImage::MeanImage 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::MeanImage::MeanImage const iptk::Image im  ) 
 

Image registering constructor.

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

iptk::MeanImage::MeanImage const MeanImage mi  ) 
 

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::MeanImage::~MeanImage  )  [virtual]
 

Destructor.

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


Member Function Documentation

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

The function which actually extracts the mean image.

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