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

ColorPaletteEvaluator Class Reference

#include <ColorPaletteEvaluator.hpp>

List of all members.


Detailed Description

ColorPaletteEvaluator.

Author:
Bernard De Cuyper
Version:
0.05
Date:
10/06/2002
 
Purpose:        Define a Color Palette Evaluator

Paper:          
                

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


Public Methods

 ColorPaletteEvaluator (int nentries=256)
 ~ColorPaletteEvaluator ()
void init ()
bool addEntry (int r, int g, int b)
bool evaluate (AnImage *colorIm)
int numberOfEntries ()
bool isActive (int index)
int getEntry (int index)
int getRank (int index)
int getIndex (int rgb)
int getIndex (int r, int g, int b)
int getValue (int iposition)
int getRed (int iposition)
int getGreen (int iposition)
int getBlue (int iposition)
int getPaletteIndex (int r, int g, int b)

Protected Methods

int getKey (int rgb)
int getKey (int r, int g, int b)

Private Attributes

int nsize
bool * active
int * entry
int * rank
int n
int nmax


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