"L. Spiro Engine"
|
00001 00016 #ifndef __LSI_IMAGEUTILS_H__ 00017 #define __LSI_IMAGEUTILS_H__ 00018 00019 #include "../LSIImageLib.h" 00020 #include "../Image/LSIImage.h" 00021 00022 namespace lsi { 00023 00030 class CImageUtils { 00031 public : 00032 // == Functions. 00039 static LSVOID LSE_CALL GetHistogram( const CImage &_iImage, LSUINT8 * _pui8Buffer ); 00040 00049 static LSVOID LSE_CALL GetHistogram( const CImage &_iImage, 00050 LSUINT8 * _pui8BufferR, LSUINT8 * _pui8BufferG, LSUINT8 * _pui8BufferB ); 00051 00060 static LSVOID LSE_CALL FindLowAndHigh( const LSUINT8 * _pui8Buffer, LSFLOAT _fTolerance, 00061 LSUINT32 &_ui32Low, LSUINT32 &_ui32High ); 00062 }; 00063 00064 } // namespace lsi 00065 00066 #endif // __LSI_IMAGEUTILS_H__