#include <image.h>
Public Methods | |
| ColorImage () | |
| ColorImage (unsigned int height, unsigned int width) | |
| ColorImage (string FileName) | |
| ColorImage (Magick::Image &magick_image) | |
| void | fromMagickImage (Magick::Image &magick_image) |
| ColorImage (const ColorImage &other) | |
| ~ColorImage () | |
| void | readFile (string FileName) |
| GtkWidget * | toGTK () |
| GdkPixbuf * | toGDK () |
| GrayImage * | toGrayImage () |
| void | cropCopy (const unsigned int x, const unsigned int y, ColorImage &to) |
| ColorImage * | cropCopy (const unsigned int x, const unsigned int y, const unsigned int width, const unsigned int height) |
| ColorImage * | copy () |
| void | sample (ColorImage &to) |
| void | equalize () |
| COLOR & | elementAt (unsigned int x, unsigned int y) |
| void | dot (unsigned int x, unsigned int y, unsigned char red, unsigned char green, unsigned char blue) |
| void | box (unsigned int x, unsigned int y, unsigned int width, unsigned int height, unsigned char red, unsigned char green, unsigned char blue) |
| unsigned int | getHeight (void) |
| unsigned int | getWidth (void) |
| COLOR * | getData (void) |
Protected Attributes | |
| int | height |
| int | width |
| COLOR * | data |
| bool | is_set |
Friends | |
| class | GrayImage |
|
|
defualt constructor |
|
||||||||||||
|
construct an empty image
|
|
|
read in an image from a file
|
|
|
initilise based off of a Magick++ Image
|
|
|
copy constructor
|
|
|
delete the image data |
|
||||||||||||||||||||||||||||||||
|
draw a box
|
|
|
make an exact duplicate of this image
|
|
||||||||||||||||||||
|
make a copy of a sub window the the image
|
|
||||||||||||||||
|
make a copy of this placing it into 'to' croping it to a box starting at x,y with the specified width and height of to
|
|
||||||||||||||||||||||||
|
draw a dot
|
|
||||||||||||
|
used to access a single pixle in the image
|
|
|
preform histogram qualization
|
|
|
convert an imageMagick image to an IMAGE as quickly as possible
|
|
|
get a pointer to the acctual image data
|
|
|
get the hight
|
|
|
get the width
|
|
|
read an image in from a file
|
|
|
make a copy from to to resizing it to the width and height of to
|
|
|
|
|
|
convert an image to a GrayScale
|
|
|
convert to a GtkWidget image
|
|
|
|
|
|
acctual image data |
|
|
height of the image |
|
|
is the data acctualy valid |
|
|
width of the image |
1.2.14 written by Dimitri van Heesch,
© 1997-2002