Go to the source code of this file.
Classes | |
struct | _PixelSize |
Memory used by each pixels component. More... | |
struct | _SimplePixelImage |
A simple data type to store computer images. More... | |
Planes description for every ImageType | |
For each image type it is infered a planes structure
| |
typedef enum _BWImagePlane | BWImagePlane |
Planes for a Black White Image. | |
typedef enum _RGBImagePlane | RGBImagePlane |
enum | _BWImagePlane { BW_GREY, BW_PLANES_NUMBER } |
Planes for a Black White Image. | |
enum | _RGBImagePlane { RGB_RED, RGB_GREEN, RGB_BLUE, RGB_PLANES_NUMBER } |
Typedefs | |
typedef enum _ImageType | ImageType |
Image colour spaces. | |
typedef PixelType ** | PixelPlane |
Pixel Plane data type. | |
typedef _PixelSize | PixelSize |
Memory used by each pixels component. | |
typedef unsigned char | PixelType |
Pixel data type. | |
typedef _SimplePixelImage | SimplePixelImage |
A simple data type to store computer images. | |
Enumerations | |
enum | _ImageType { IMAGE_BW, IMAGE_RGB, IMAGE_HSV, IMAGE_HSL, IMAGE_TYPES_NUMBER } |
Image colour spaces. More... | |
Functions | |
PixelPlane | allocPixelPlane (unsigned uNumrows, unsigned uNumcols) |
Allocates a ![]() | |
PixelPlane * | allocPixelPlaneArray (SimplePixelImage const &inputImage) |
Returns a pointer to an allocated PixelPlaneArray with the dimensions given by the inputImage records. | |
void | allocPixelPlanesArrayInSimplePixelImage (SimplePixelImage &inputImage) |
Allocates the PixelPlanesArray in inputImage with the dimensions given by inputImage records. | |
void | copyPixelPlaneInSimplePixelImage (SimplePixelImage &inputImage, PixelPlane pixelPlane, unsigned uImagePlane) |
void | copyPixelPlanesArrayInSimplePixelImage (SimplePixelImage &destinationImage, PixelPlane *sourcePlanesArray) |
void | copySimplePixelImageParameters (SimplePixelImage &destinationImage, SimplePixelImage const &sourceImage) |
void | drawFrameInSimplePixelImage (SimplePixelImage &image, unsigned long frameLevel) |
void | freePixelPlane (PixelPlane pixelPlaneToFree) |
void | freePixelPlanesArray (PixelPlane *PlanesArray) |
void | freePixelPlanesArrayInSimplePixelImage (SimplePixelImage &inputImage) |
void | readPortableMapToSimplePixelImage (char const *source_file, SimplePixelImage &inputImage) |
Stores a Portable Map Image into a SimplePixelImage image data type. | |
void | writeSimplePixelImageToPortableMap (SimplePixelImage const &outputImage, char const *file_name) |
This header contains definition of wieldy types and functions which are helpful to deal with computer images.
|
Image colour spaces. This enumeration is used to assign an image its colour representation type. Since the pixel colour data can be represented in many different ways.
|
|
Memory used by each pixels component. The SimplePixelImage type is based on a pixel component planes description of the image. This structure describes the memory used by each pixel component.
|
|
A simple data type to store computer images.
This structure data type can hold any pixel image.
|
|
Image colour spaces. This enumeration is used to assign an image its colour representation type. Since the pixel colour data can be represented in many different ways.
|
|
Returns a pointer to an allocated PixelPlaneArray with the dimensions given by the inputImage records.
These are: |
|
Allocates the PixelPlanesArray in inputImage with the dimensions given by inputImage records. When a SimplePixelImage is declared no memory is allocated for its PixelPlane array . That is due to the fact that in order to allocate a PixelPlane array, it must be known:
Therefore, before using allocPixelPlaneArray it is needed to have initialized: |
|
Stores a Portable Map Image into a SimplePixelImage image data type.
|