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

void Impala::Core::Array::Trait::FuncUpoRGB2OOOPtr::DoIt ( double *  ooo,
unsigned char *  rgb 
) [inline]

Definition at line 135 of file Functors.h.

00136         {
00137         ooo[0] = ((double)(rgb[0]+rgb[1]+rgb[2]))/3.0;
00138         ooo[1] = ((double)rgb[0]-rgb[1])/2.0;
00139         ooo[2] = ((double)2.0*rgb[2]-rgb[0]-rgb[1])/4.0;
00140         }


Generated on Thu Jan 13 09:18:45 2011 for ImpalaSrc by  doxygen 1.5.1