subject_43785.htm

来自「一些关于vc的问答」· HTM 代码 · 共 15 行 · 第 1/5 页

HTM
15
字号
<blockquote><p>
回复者:刘畅 回复日期:2003-06-14 10:07:47
<br>内容:// edgecontour.h<BR><BR>#define pi 3.1415927<BR>#ifndef _INC_EdgeContourAPI<BR>#define _INC_EdgeContourAPI<BR>// 函数原型<BR><BR>BOOL WINAPI RobertDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI SobelDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI PrewittDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI KirschDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI GaussDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI HoughDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI FillDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI Fill2DIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI ContourDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR>BOOL WINAPI TraceDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);<BR><BR>#endif //!_INC_EdgeContourAPI<BR><BR>typedef struct{<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Dist;<BR>&nbsp;&nbsp;&nbsp;&nbsp;int AngleNumber;<BR>}&nbsp;&nbsp;&nbsp;&nbsp;MaxValue;<BR><BR>typedef struct{<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Height;<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Width;<BR>}&nbsp;&nbsp;&nbsp;&nbsp;Seed;<BR><BR>typedef struct{<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Height;<BR>&nbsp;&nbsp;&nbsp;&nbsp;int Width;<BR>}&nbsp;&nbsp;&nbsp;&nbsp;Point;<BR><BR>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?