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

iptk::Pixel Class Reference

#include <pixel.h>

List of all members.


Detailed Description

A class to encapsulate a pixel of a gray-scale/intensity image.


Public Member Functions

 Pixel (void)
 Default Constructor.

 Pixel (int xcoord, int ycoord, double intensity)
 Custom Initialisation Constructor.


Public Attributes

int x
 x-coordinate of the pixel.

int y
 y-coordinate of the pixel.

double i
 Intensity value at the pixel.


Constructor & Destructor Documentation

iptk::Pixel::Pixel void   ) 
 

Default Constructor.



This default constructor initialises the Pixel object with (0, 0) as the coordinate and 0 as the intensity value.
This class does not require an explicit copy constructor or an explicit destructor.

iptk::Pixel::Pixel int  xcoord,
int  ycoord,
double  intensity
 

Custom Initialisation Constructor.



The x-cooridnate x is initialised by xcoord and the y-coordinate y is initialised by ycoord. The intensity of the pixel i is initialised by the argument intensity.


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