컴퓨터 그래픽 움직이는 사람 캐치,영상처리
- 최초 등록일
- 2004.06.14
- 최종 저작일
- 2004.06
- 23페이지/ 한컴오피스
- 가격 1,000원
소개글
간단간단한 주석을 달아놓았구여, 소스파일, 헤더파일을 각각 파일별로 복사해서 한글파일에다가 같다붙여놨습니다..^^*
목차
1.MovingDetector.h
2.MovingDetectorDlg.h
3.StdAfx.h
4.resource.h
5.MovingDetector.cpp
6.MovingDetector.cpp
7.StdAfx.cpp
본문내용
// 매 frame이 캡쳐될때마다 호출될 callback function 지정
if (capSetCallbackOnFrame(m_hWndCapture, capCallbackOnFrame) == FALSE)
return FALSE;
// Camera Driver와 Capture Window 연결
if (capDriverConnect(m_hWndCapture, 0) == FALSE)
return FALSE;
//////////////////////////////////////////////////////////////////////////////
// 현재 Video Format을 조사해서 24bits color가 아니면 24bits color로 바꾼다.
capGetVideoFormat(m_hWndCapture, &g_bmInfo, sizeof(BITMAPINFO));
if (g_bmInfo.bmiHeader.biBitCount != 24)
{
g_bmInfo.bmiHeader.biBitCount = 24;
g_bmInfo.bmiHeader.biCompression = 0;
g_bmInfo.bmiHeader.biSizeImage = g_bmInfo.bmiHeader.biWidth *
참고 자료
디지털 영상철 <사이텍미디어>
기초c++<성안당>