摘要:
/** 功能:BYTE组转IplImage,并可实现图像的上下倒置*入参:pImg,BYTE数组指针。byteSize BYTE数组大小,width图像宽,height图像高*返回:转化后的IplImage指针*/IplImage * Byte2IplImg( BYTE *pImg,long by... 阅读全文
posted @ 2012-12-06 15:28
废弃账号
阅读(150)
评论(0)
推荐(0)
摘要:
最近要做一个性别识别的项目,在人脸检测与五官定位上我采用OPENCV的haartraining进行定位,这里介绍下这两天我学习的如何用opencv训练自己的分类器。在这两天的学习里,我遇到了不少问题,不过我遇到了几个好心的大侠帮我解决了不少问题,特别是无忌,在这里我再次感谢他的帮助。 一、简介目... 阅读全文
posted @ 2012-12-06 15:28
废弃账号
阅读(803)
评论(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
废弃账号
阅读(115)
评论(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
废弃账号
阅读(86)
评论(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
废弃账号
阅读(228)
评论(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
废弃账号
阅读(181)
评论(0)
推荐(0)
摘要:
CBrush m_HollowBrush; ////////////////////////////////////////////////////////// CSign2Dlg::CSign2Dlg(CWnd* pParent /*=NULL*/) : CDialog(CSig... 阅读全文
posted @ 2012-12-06 15:28
废弃账号
阅读(108)
评论(0)
推荐(0)
摘要:
下面的例子中,先取得编辑框本身的字体,然后改变其大小(需要注意的是,这种方法下,编辑框本身的字体如果不是TrueType型的话,字体大小的变化不是“连续”的,某些大小值的设定有可能不起作用): CYourDlg中增加成员变量CFont m_font; //这个绝对不... 阅读全文
posted @ 2012-12-06 15:28
废弃账号
阅读(389)
评论(0)
推荐(0)
摘要:
string strtest; string::size_type pos=strtest.find_first_not_of( ' '); string strnew = strtest.substr(pos,strtest.size()-pos); 阅读全文
posted @ 2012-12-06 15:28
废弃账号
阅读(235)
评论(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
废弃账号
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号