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

RLinearRGBtoXYZitu601.hpp

00001 #ifndef __RLinearRGBtoXYZitu601__
00002 #define __RLinearRGBtoXYZitu601__
00003 
00004 
00005 
00031 #include <stdio.h>
00032 
00033 #include "ARLinearColorSpaceMapping.hpp"
00034 
00035 class RLinearRGBtoXYZitu601 : public ARLinearColorSpaceMapping
00036 {
00037 public:
00038         
00039 RLinearRGBtoXYZitu601():ARLinearColorSpaceMapping()
00040 {
00041 // RGB(1,1,1) -> device independent XYZ
00042 T[0][0]= 0.5141; T[1][0]= 0.3239; T[2][0]= 0.1604;
00043 T[0][1]= 0.2651; T[1][1]= 0.6702; T[2][1]= 0.0641;
00044 T[0][2]= 0.0241; T[1][2]= 0.1228; T[2][2]= 0.8444;
00045 
00046 // RGB(1,1,1) <- device independent XYZ
00047 Tinv[0][0]= 0.4306; Tinv[1][0]= 0.3415; Tinv[2][0]= 0.1784;
00048 Tinv[0][1]= 0.2220; Tinv[1][1]= 0.7067; Tinv[2][1]= 0.0713;
00049 Tinv[0][2]= 0.0202; Tinv[1][2]= 0.1295; Tinv[2][2]= 0.9394;
00050 }
00051 
00052 virtual ~RLinearRGBtoXYZitu601(){}
00053 
00054 virtual void report(FILE* file){}
00055 };
00056 
00057 #endif
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