template<class ValT>
Actual operation.
Definition at line 39 of file RgbLabel.h. References Impala::Core::Array::Element::E1Cast(), and Impala::Core::Array::Trait::RgbLabel< ValT >::mTab. 00040 { 00041 int pix = Element::E1Cast(pixV, int()); 00042 int mask = (pix == 0) ? 8 : pix % 8; 00043 *rgbPtr++ = mTab[mask][0]; 00044 *rgbPtr++ = mTab[mask][1]; 00045 *rgbPtr++ = mTab[mask][2]; 00046 }
Here is the call graph for this function:
|