Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Array::Trait::UpoSRGB2RGBPtr::UpoSRGB2RGBPtr ( Real64  gamma = 2.2  )  [inline]

Definition at line 20 of file UpoSRGB2RGB.h.

References lookupTable.

00021     {
00022         for(int i = 0; i < 256; i++)
00023         {
00024             lookupTable[i] = pow(Real64(i) / 255.0, gamma) * 255.0;
00025         }
00026     }


Generated on Fri Mar 19 11:05:50 2010 for ImpalaSrc by  doxygen 1.5.1