aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'DCP/test.cpp')
-rw-r--r--DCP/test.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/DCP/test.cpp b/DCP/test.cpp
index 7efeeb7..2af8719 100644
--- a/DCP/test.cpp
+++ b/DCP/test.cpp
@@ -2,13 +2,12 @@
2 2
3int main() 3int main()
4{ 4{
5 IplImage *input = cvLoadImage("input.png"); 5 IplImage *input = cvLoadImage("house-input.bmp");
6 IplImage *result = cvCreateImage(cvGetSize(input), IPL_DEPTH_8U, 3); 6 IplImage *result = cvCreateImage(cvGetSize(input), IPL_DEPTH_8U, 3);
7 dehaze(result, input); 7 dehaze(result, input);
8 8
9 cvNamedWindow("Result"); 9 cvSaveImage("result.bmp", result);
10 cvShowImage("Result", result); 10 cvReleaseImage(&result);
11 cvWaitKey(); 11 cvReleaseImage(&input);
12
13 return 0; 12 return 0;
14} \ No newline at end of file 13}
Powered by cgit v1.2.3 (git 2.41.0)