PlateLocateMethod.h
资源名称:车牌识别.rar [点击查看]
上传用户:sgmlaoniu
上传日期:2013-03-16
资源大小:403k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- //包含车牌定位的主要算法
- #include "DIBAPI.h"
- #ifndef _INC_SUANFA1
- #define _INC_SUANFA1
- // 函数原型
- BOOL WINAPI ConvertToGrayScale(LPSTR lpDIB);
- BOOL WINAPI InteEqualize(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
- BOOL WINAPI RobertDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
- BOOL WINAPI ThresholdTrans(LPSTR lpDIBBits, LONG lWidth, LONG lHeight, BYTE bThre);
- BOOL WINAPI myHprojectDIB(LPSTR lpDIB, LONG lWidth, LONG lHeight,
- int* iTop, int* iBottom);
- BOOL WINAPI myVprojectDIB(LPSTR lpDIB, LONG lWidth, LONG lHeight,
- int* iLeft, int* iRight);
- BOOL WINAPI myTemplate(LPSTR lpDIB);
- HDIB WINAPI myCropDIB(HDIB hDIB, LPRECT lpRect);
- BOOL WINAPI myMedianFilter(LPSTR lpDIBBits, LONG lWidth, LONG lHeight,
- int iFilterH, int iFilterW,
- int iFilterMX, int iFilterMY);
- unsigned char WINAPI myGetMedianNum(unsigned char * bArray, int iFilterLen);
- BOOL WINAPI myFindRightAngle(CDC* pDC,LPSTR lpDIB,int* iLeft,int* iTop,int* iRight,int* iBottom);
- BOOL WINAPI DrawRectangle(CDC* pDC,int iLeft,int iTop,int iRight,int iBottom);
- #endif //!_INC_SUANFA1