上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: /** 功能:BYTE组转IplImage,并可实现图像的上下倒置*入参:pImg,BYTE数组指针。byteSize BYTE数组大小,width图像宽,height图像高*返回:转化后的IplImage指针*/IplImage * Byte2IplImg( BYTE *pImg,long by... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(143) 评论(0) 推荐(0)
摘要: 最近要做一个性别识别的项目,在人脸检测与五官定位上我采用OPENCV的haartraining进行定位,这里介绍下这两天我学习的如何用opencv训练自己的分类器。在这两天的学习里,我遇到了不少问题,不过我遇到了几个好心的大侠帮我解决了不少问题,特别是无忌,在这里我再次感谢他的帮助。 一、简介目... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(801) 评论(0) 推荐(0)
摘要: 试题4: void GetMemory( char *p ){ p = (char *) malloc( 100 );}void Test( void ) { char *str = NULL; GetMemory( str ); strcpy( str, "hello worl... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(109) 评论(0) 推荐(0)
摘要: /*test.ini//////////////[index]name=小朱年龄=23 [index2]sex=男/////////////////*/ #include "stdio.h"#include "iostream.h"#include "windows.h" int main(... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(85) 评论(0) 推荐(0)
摘要: LOGFONT logfont; GetObject(::GetStockObject(DEFAULT_GUI_FONT),sizeof(logfont),&logfont); logfont.lfCharSet=GB2312_CHARSET; logfont.lfWeight = FW_N... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(226) 评论(0) 推荐(0)
摘要: 接口函数 Interface.h ///////////////////#include "stdafx.h"#pragma comment(lib,"PrintMSG.lib") extern "C" __declspec(dllexport) void ShowDlg(HWND hMa... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(135) 评论(0) 推荐(0)
摘要: HBITMAP hbitmap=LoadALLPIC(strFilePath,207,190);//如sPath="D:\\f.jpg CMyCstatic *m_static=(CStatic*)GetDlgItem(IDC_STATIC1); m_static->ModifyStyle... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(228) 评论(0) 推荐(0)
摘要: 摘要 本文首先介绍了利用MFC提供的文档视图框架来实现一个打印程序,实现打印预览,在此基础上,同时通过对MFC源代码的深入探讨,提出了利用该方法在对话框上用MFC实现打印功能,结果表明,利用MFC实现打印不仅方便,而且功能很强大,能够根据不同的需求很方便的打印出所需要的格式。本文还实现了一个在对... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(569) 评论(0) 推荐(0)
摘要: #include #include #include #define BUFF_SIZE 1024wchar_t * ANSIToUnicode( const char* str ){ int textlen ; wchar_t * result; textlen = Mu... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(179) 评论(0) 推荐(0)
摘要: CBrush m_HollowBrush; ////////////////////////////////////////////////////////// CSign2Dlg::CSign2Dlg(CWnd* pParent /*=NULL*/) : CDialog(CSig... 阅读全文
posted @ 2012-12-06 15:28 废弃账号 阅读(104) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页