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

template<class ArrayT>
void Impala::Core::Array::GetRgbPixelsLM ( ArrayT *  src,
UInt8 *  pixels,
Real64  logScale,
int  resWidth = -1,
int  resHeight = -1,
Geometry::GeoIntType  gi = Geometry::NEAREST 
) [inline]

Definition at line 112 of file GetRgbPixels.h.

References Impala::Core::Array::Element::E1Max(), Impala::Core::Array::Element::E1Min(), Impala::Core::Array::Pattern::PatRgbOp(), PixMax(), and PixMin().

00115 {
00116     typedef typename ArrayT::ArithType ArithT;
00117 
00118     ArithT val;
00119     val = PixMin(src);
00120     Real64 lowVal = Element::E1Min(val);
00121     val = PixMax(src);
00122     Real64 highVal = Element::E1Max(val);
00123     Trait::RgbLogMag<ArithT> rgbOpLogMag(lowVal, highVal, logScale);
00124     Pattern::PatRgbOp(src, pixels, resWidth, resHeight, gi, rgbOpLogMag);
00125 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:56:40 2010 for ImpalaSrc by  doxygen 1.5.1