#include <ImageHSV.h>
Inheritance diagram for ImageHSV::

Public Methods | |
| ImageHSV (unsigned int width, unsigned int height) | |
| Create an image with the given dimensions. | |
| ImageHSV (char *name, FileFormat format) | |
| Create an image from a graphics file. | |
| ImageHSV (ImageRGB &img) | |
| Create an image from RGB image. | |
| ImageHSV (ImageRGB &, unsigned int min_x, unsigned int min_y, unsigned int max_x, unsigned int max_y) | |
| Create an image from a portion of another (RGB) image. More... | |
| ImageHSV (ImageHSV &, unsigned int min_x, unsigned int min_y, unsigned int max_x, unsigned int max_y) | |
| Create an image from a portion of another (HSV) image. More... | |
| void | rgb2hsv () |
| Convert Image RGB->HSV. | |
| void | hsv2rgb () |
| Convert Image HSV->RGB. | |
Static Public Methods | |
| void | convPixel_RGBtoHSV (PixelRGB &, PixelHSV &) |
| Pixel conversion routines. | |
| void | convPixel_HSVtoRGB (PixelHSV &, PixelRGB &) |
| Convert HSV pixel to RGB pixel. | |
HSV Data is stored in THE SAME MEMORY as RGB (so RGB and HSV data is not present simultaneously). Additional methods convert one format to the other. Note: Hue is an angle (0-360) and Sat and Val are on a scale 0-255 (not 0-100 as used in GIMP etc.)
Definition at line 30 of file ImageHSV.h.
|
|
Create an image from a portion of another (RGB) image.
Definition at line 33 of file ImageHSV.cpp. |
|
|
Create an image from a portion of another (HSV) image.
Definition at line 52 of file ImageHSV.cpp. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001