Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

ByteImage Class Reference

#include <ByteImage.hpp>

Inheritance diagram for ByteImage:

Inheritance graph
[legend]
Collaboration diagram for ByteImage:

Collaboration graph
[legend]
List of all members.

Detailed Description

Eight bit image.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        Interface Grey like images and emulate color images
                

@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.


Public Methods

 ByteImage (int w, int h)
 ByteImage (int w, int h, unsigned char data)
 ByteImage (int w, int h, unsigned char *data)
 ByteImage (RImage &data)
virtual ~ByteImage ()
virtual AnImagecopy ()
virtual AnImagerotate90Left ()
virtual AnImagerotate90Right ()
virtual AnImagescaleDown (int multiplier=2)
virtual AnImagescaleUp (int multiplier=2)
virtual AnImagezeroInterleaving ()
virtual AnImagepartImage (int x0=0, int y0=0, int w=256, int h=256)
virtual AnImagesubImage (int x0, int y0, int x1, int y1)
virtual AnImagesmallImage (double xscale, double yscale)
virtual AnImagesmallImage (int newWidth)
virtual int available8BitsColors ()
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 setValues (unsigned char value)
virtual void setChannel (AnImage *channel, int ch=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 value)
virtual int get (int x, int y)
virtual void setRGB (int x, int y, int r, int g, int b)
virtual unsigned char * getData ()
virtual void restaure (int iterations, double coeff)
virtual void restaure (int type, int iterations, double coeff)
virtual void report (FILE *file)
virtual void output ()

Protected Methods

void beltramiGRestoration (int iterations, double coeff, RImage *im)

Private Attributes

unsigned char * palign
unsigned char * p1
unsigned char ** image


The documentation for this class was generated from the following files:
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com