#include <image.h>
Public Methods | |
| GrayImage () | |
| GrayImage (unsigned int height, unsigned int width) | |
| GrayImage (string FileName) | |
| GrayImage (Magick::Image &magick_image) | |
| void | fromMagickImage (Magick::Image &magick_image) |
| GrayImage (const GrayImage &other) | |
| ~GrayImage () | |
| GrayImage & | operator= (GrayImage &rhs) |
| unsigned char & | elementAt (unsigned int x, unsigned int y) |
| GtkWidget * | toGTK () |
| GdkPixbuf * | toGDK () |
| void | readFile (string FileName) |
| void | resize (int width, int height) |
| void | cropCopy (const unsigned int x, const unsigned int y, GrayImage &to) |
| GrayImage * | cropCopy (const unsigned int x, const unsigned int y, const unsigned int width, const unsigned int height) |
| GrayImage * | copy () |
| void | sample (GrayImage &to) |
| void | equalize () |
| unsigned int | getHeight (void) |
| unsigned int | getWidth (void) |
| unsigned char * | getData (void) |
Protected Attributes | |
| unsigned int | height |
| unsigned int | width |
| unsigned char * | data |
| bool | is_set |
Friends | |
| class | ColorImage |
|
|
|
|
||||||||||||
|
construct an empty image
|
|
|
read in an image from a file
|
|
|
initilise based off of a Magick++ Image
|
|
|
copy constructor
|
|
|
delete the iamge data |
|
|
make an exact duplicate of this 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
|
|
||||||||||||||||
|
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
|
|
||||||||||||
|
gives access to 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
|
|
|
copy the other image into this one
|
|
|
read an image in from a file
|
|
||||||||||||
|
resize the image, deletes previously saved data
|
|
|
make a copy from to to resizing it to the width and height of to
|
|
|
|
|
|
convert to a GtkWidget image
|
|
|
|
|
|
the acctual data of the image |
|
|
the height of the image |
|
|
is the data acctualy valid |
|
|
the width of the image |
1.2.14 written by Dimitri van Heesch,
© 1997-2002