vc++
共 3 篇文章
opencv 查找矩形
opencv 查找矩形 //矩形查找 BOOL CImageFun::FindSquares(IplImage *srcImage, double fMaxR, double fMinR, ARRCIR_XY_R &ptarr, int npar1, int npar2) { CvSeq *contour; int header_size, i, count; CvPoint *PointArray; CvPoint2D32f *PointArray32f; CvPoint myCenter; CvBox2D *myBox = (CvBox2D *) malloc(sizeof(CvBox2…
2012-07-22 13:08 · vc++
VC++ 中用来调试和输出 console 信息的工具
VC++ 中用来调试和输出 console 信息的工具 /******************************************************************** 创建日期: 2004/09/02 文件名称: DBWindow.h 作者: 袁桂芳(Fangrn) 版本: 2.0 邮箱: fangrn@163.com 创建目的: 用VC MFC/DLL编程时通常Debug版需要将测试信息通过控制台输出,而 编译成Release版时需要将这些输出调试信息的代码给注释掉,通 常这些代码较多操作比较麻烦。 这个程序的作用就是为了程序员在进行MFC/DLL软件开发时De…
2012-07-22 12:28 · vc++
枚举指定路径下的制定类型文件
#pragma once //枚举指定路径下的制定类型文件 //@LPCTSTR 文件全路径 //@pUserData 用户参数数据? //@return 是否是用户取消 typedef BOOL (CALLBACK * LookUpFileCallBack)(LPCTSTR/*文件名称(包含全路径)*/); #ifdef COMDLL_EXPORTS #define COMDLL_API __declspec(dllexport) #else #define COMDLL_API __declspec(dllimport) #endif class COMDLL_API CEnumFile…
2012-07-22 12:26 · vc++