2016. 5. 27. 14:48
Computer Vision/OpenCV
운영체제 : Windows 8.1 64bit 개발툴 : Visual Studio 2013 작성날짜 : 2016-05-27 |
참고 : OpenCV - To remove opencv title bar
cvNamedWindow("Image_Window", 0); HWND m_hMediaWindow = (HWND)cvGetWindowHandle("Image_Window"); // change style of the child HighGui window DWORD style = ::GetWindowLong(m_hMediaWindow, GWL_STYLE); style &= ~WS_OVERLAPPEDWINDOW; style |= WS_POPUP; ::SetWindowLong(m_hMediaWindow, GWL_STYLE, style); // change style of the parent HighGui window HWND hParent = ::FindWindow(0, "Image_Window"); style = ::GetWindowLong(hParent, GWL_STYLE); style &= ~WS_OVERLAPPEDWINDOW; style |= WS_POPUP;
::SetWindowLong(hParent, GWL_STYLE, style); |
실행화면
'Computer Vision > OpenCV' 카테고리의 다른 글
[OpenCV] error LNK2019: unresolved external symbol opencv (0) | 2020.11.09 |
---|---|
[OpenCV] 웹캠사용하기 (0) | 2016.05.12 |
[OpenCV] 이미지 출력하기 (2) | 2016.05.12 |
[OpenCV] Mat -> IplImage*, IplImage* -> Mat 형변환 (4) | 2015.05.07 |
[OpenCV] 관심영역(ROI) 저장하기 (0) | 2015.04.23 |