Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
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 31
Tags
more
Archives
Today
Total
관리 메뉴

저장소

영상반전 본문

OpenCV

영상반전

김연호님 2016. 4. 10. 22:05

#include <opencv/cv.h>

#include <opencv/highgui.h>


void main()


{

IplImage* img = cvLoadImage("C:/Users/Administrator/Desktop/pop.png");


cvNamedWindow("Image", 2);

cvNamedWindow("Result", 1);

cvShowImage("Image", img);


cvNot(img, img);


cvShowImage("Result", img);


cvWaitKey(0);


cvReleaseImage(&img);




}


'OpenCV' 카테고리의 다른 글

morphology  (0) 2016.05.15
특징점 추출  (0) 2016.04.13
이미지 띄우기  (0) 2016.04.09
edge detection(canny)  (0) 2016.04.09
edge detection(sobel)  (0) 2016.04.09
Comments