#include <RGBImage.hpp>
Inheritance diagram for RGBImage:
Purpose: Interface of color images
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RGBImage (int w, int h) | |
RGBImage (int w, int h, unsigned char data) | |
RGBImage (int w, int h, unsigned char *data) | |
RGBImage (int w, int h, unsigned char red, unsigned char green, unsigned char blue) | |
RGBImage (int w, int h, unsigned char *red, unsigned char *green, unsigned char *blue) | |
RGBImage (RImage &red, RImage &green, RImage &blue) | |
virtual | ~RGBImage () |
virtual unsigned char * | getData () |
virtual void | set (AnImage *src) |
virtual void | set (FImage &data, int ch=0) |
virtual void | set (RImage &data, int ch=0) |
virtual void | set (CImage &data, int ctype=0, int ch=0) |
virtual void | setChannel (AnImage *channel, int ch=0) |
virtual void | setValues (unsigned char value) |
virtual AnImage * | copy () |
virtual AnImage * | flipHorizontal () |
virtual AnImage * | flipVertical () |
virtual AnImage * | rotate90Left () |
virtual AnImage * | rotate90Right () |
virtual AnImage * | rotate180 () |
virtual AnImage * | scaleDown (int multiplier=2) |
virtual AnImage * | scaleUp (int multiplier=2) |
virtual AnImage * | scaleUp (int multiplier, int r, int g, int b) |
virtual AnImage * | zeroInterleaving () |
virtual AnImage * | partImage (int x0=0, int y0=0, int w=256, int h=256) |
virtual AnImage * | subImage (int x0, int y0, int x1, int y1) |
virtual AnImage * | smallImage (double xscale, double yscale) |
virtual AnImage * | smallImage (int width) |
virtual int | available8BitsColors () |
virtual void | setData (AnImage *src, AnImage *mask=0) |
virtual int | getRed (int x, int y) |
virtual int | getGreen (int x, int y) |
virtual int | getBlue (int x, int y) |
virtual int | getGrey (int x, int y) |
virtual void | setRed (int x, int y, int value) |
virtual void | setGreen (int x, int y, int value) |
virtual void | setBlue (int x, int y, int value) |
virtual void | setGrey (int x, int y, int value) |
virtual void | set (int x, int y, int rgb) |
virtual int | get (int x, int y) |
virtual void | setRGB (int x, int y, int r, int g, int b) |
virtual void | restaure (int model, int chMode, int type, int iterations, double coeff, double rsat=0.5) |
virtual void | restaure (int type, int iterations, double coeff) |
virtual void | report (FILE *file) |
virtual void | output () |
Protected Methods | |
void | meanCurvature3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
void | geodesicMeanCurvature3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
void | peronaMalik3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
void | geodesicPeronaMalik3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
void | beltrami3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
void | geodesicBeltrami3Restoration (int iterations, double coeff, RImage *channel1, RImage *channel2, RImage *channel3) |
Private Attributes | |
unsigned char * | palign |
unsigned char * | p1 |
unsigned char ** | image |