일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Artificial Intelligence
- R
- 통계
- c++
- 딥러닝
- WebGL
- 데이터 과학
- 빅데이터
- Machine Learning
- No SQL
- 김양재 목사
- Statistics
- 주일설교
- MongoDB
- 김양재 목사님
- probability
- 인공지능
- 우리들교회
- openCV
- node.js
- 빅데이타
- 김양재
- 몽고디비
- 빅 데이터
- Deep learning
- Big Data
- data science
- 확률
- nodeJS
- 빅 데이타
Archives
- Today
- Total
Scientific Computing & Data Science
[OpenCV] Image를 불러서 Window에 띄우기 본문
개발 환경
Microsoft Windows 7
Visual Studio V11 (2012)
OpenCV 3.0.0
Example Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include <stdio.h> #include <iostream> #include <opencv2/opencv.hpp> int _tmain(int argc, _TCHAR* argv[]) { // Read an image cv::Mat image = cv::imread("[YOUR_IMAGE_PATH]"); // Set name of the window cv::namedWindow("My Image"); // Show the window cv::imshow("My Image", image); cv::waitKey(5000); return 0; } | cs |
'Programming > OpenCV' 카테고리의 다른 글
[OpenCV] Image Pointer(ptr)를 이용하여 픽셀 접근하기 (0) | 2015.03.01 |
---|---|
[OpenCV] Reducing Color Space (Quantization) (0) | 2015.02.22 |
[OpenCV] Random Number 발생을 통한 이미지 생성 (0) | 2014.08.05 |
[OpenCV] Display an Image (0) | 2014.08.05 |
[OpenCV] MFC-OpenCV 연동하기 (9) | 2014.06.10 |