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

template<class ValT>
Impala::Core::Array::Trait::RgbLabel< ValT >::RgbLabel (  )  [inline]

Constructor : creates LUT.

Definition at line 24 of file RgbLabel.h.

References Impala::Core::Array::Trait::RgbLabel< ValT >::mTab.

00025     {
00026         mTab[0][0] = 127; mTab[0][1] = 127; mTab[0][2] = 127; // 50% grey
00027         mTab[1][0] = 255; mTab[1][1] =   0; mTab[1][2] =   0; // red
00028         mTab[2][0] =   0; mTab[2][1] = 255; mTab[2][2] =   0; // green
00029         mTab[3][0] = 255; mTab[3][1] = 255; mTab[3][2] =   0; // yellow
00030         mTab[4][0] =   0; mTab[4][1] =   0; mTab[4][2] = 255; // blue
00031         mTab[5][0] = 255; mTab[5][1] =   0; mTab[5][2] = 255; // magenta
00032         mTab[6][0] =   0; mTab[6][1] = 255; mTab[6][2] = 255; // cyan
00033         mTab[7][0] = 255; mTab[7][1] = 255; mTab[7][2] = 255; // white
00034         mTab[8][0] =   0; mTab[8][1] =   0; mTab[8][2] =   0; // black
00035     }


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