edgecontour.h
Upload User: alisonmail
Upload Date: 2013-02-28
Package Size: 500k
Code Size: 1k
Category:

Picture Viewer

Development Platform:

Visual C++

  1. // edgecontour.h
  2. #define pi 3.1415927
  3. #ifndef _INC_EdgeContourAPI
  4. #define _INC_EdgeContourAPI
  5. // 函数原型
  6. BOOL WINAPI RobertDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  7. BOOL WINAPI SobelDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  8. BOOL WINAPI PrewittDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  9. BOOL WINAPI KirschDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  10. BOOL WINAPI GaussDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  11. BOOL WINAPI HoughDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  12. BOOL WINAPI FillDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  13. BOOL WINAPI Fill2DIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  14. BOOL WINAPI ContourDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  15. BOOL WINAPI TraceDIB(LPSTR lpDIBBits, LONG lWidth, LONG lHeight);
  16. #endif //!_INC_EdgeContourAPI
  17. typedef struct{
  18. int Value;
  19. int Dist;
  20. int AngleNumber;
  21. } MaxValue;
  22. typedef struct{
  23. int Height;
  24. int Width;
  25. } Seed;
  26. typedef struct{
  27. int Height;
  28. int Width;
  29. } Point;