Introduction - If you have any usage issues, please Google them yourself
Hough transform BOOL Hough (HWND hWnd) (//define a linear structure of its own typedef struct (int topx// the highest point of the x coordinates int topy// the highest point of the y coordinates int botx// the lowest point of the x coordinates int boty// lowest point of the y coordinates) MYLINE DWORD BufSize LPBITMAPINFOHEADER lpImgData LPSTR lpPtr HDC hDc LONG x, y long i, maxd int k int Dist, Alpha HGLOBAL hDistAlpha, hMyLine int* lpDistAlpha MYLINE* lpMyLine,* TempLine, MaxdLine static LOGPEN rlp = ( PS_SOLID, 1,1, RGB (255,0,0)) HPEN rhp// We are dealing with is actually 256 grayscale, but only uses two colors 0 and 255. if (NumColors! = 256) (MessageBox (hWnd,
Packet : 49636965hough.rar filelist
Hough变换.txt