123456789101112131415161718192021 |
- #ifndef FREFILTER_H
- #define FREFILTER_H
- #ifdef _EXPORTING
- #define FUNC_DECLSPEC __declspec(dllexport)
- #else
- #define FUNC_DECLSPEC extern "C" int __declspec(dllimport)
- #endif
- //FUNC_DECLSPEC GetEXI( unsigned short* pData,int nWidth,int nHeight,int nLeft,int nRight,int nTop,int nBottom);
- bool CalWindow(int nFlag,unsigned short* pData, int nWidth,int nHeight,int &nWindowBegin, int &nWindowEnd,int l,int r,int t,int b);
- bool CalWindow4NewEXI(int nFlag, int* pHistogram, int nWidth, int nHeight, int &nWindowBegin, int &nWindowEnd );
- int GetAvg(int *pHistogram,int begin,int end,int nPoint,int nRange,int nGrayNum);
- int GetMaxi(int *pHistogram,int nBegin,int nEnd,int nGrayNum);
- int GetMini(int *pHistogram,int nBegin,int nEnd,int nGrayNum);
- void Smooth(int *pHistogram,int nGrayNum,int nTemSize);
- int GetEXI4Detector( WORD* pImage, BYTE* pMask, BYTE* pMask1,int nWidth, int nHeight, int ImageBit, int &EXI ) ;
- #endif
|