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

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

Definition at line 119 of file Functors.h.

00120         {
00121         ooo[0] = ((double)(rgb[0]+rgb[1]+rgb[2]))/3.0;
00122         ooo[1] = ((double)rgb[0]-rgb[1])/2.0;
00123         ooo[2] = ((double)2.0*rgb[2]-rgb[0]-rgb[1])/4.0;
00124         }


Generated on Fri Mar 19 11:06:00 2010 for ImpalaSrc by  doxygen 1.5.1