aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinweiClarkChao <[email protected]>2015-08-25 16:54:38 +0800
committerclarkzjw <[email protected]>2018-07-14 00:30:44 +0800
commit694c907ffa175740bf0fd6f402c7889cc1c8098e (patch)
treebe722be5fb00e353300b485cd9e46a465bfc597d
parentc16ba61435b2dc94c9871cee77bd2291febbc7fe (diff)
downloadDehaze-master.tar.gz
add results in READMEHEADmaster
-rw-r--r--DCP/test.cpp2
-rw-r--r--README.md7
-rw-r--r--samples/input.jpgbin0 -> 143834 bytes
-rw-r--r--samples/result.bmpbin0 -> 540054 bytes
4 files changed, 7 insertions, 2 deletions
diff --git a/DCP/test.cpp b/DCP/test.cpp
index 7587c35..71f29fc 100644
--- a/DCP/test.cpp
+++ b/DCP/test.cpp
@@ -2,7 +2,7 @@
2 2
3int main() 3int main()
4{ 4{
5 IplImage *input = cvLoadImage("input.png"); 5 IplImage *input = cvLoadImage("input.jpg");
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
diff --git a/README.md b/README.md
index 911dd97..fa86ec2 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,11 @@ Implementation of Single Image Haze Removal Using Dark Channel Prior.
4 4
5Dependence: OpenCV 3.0 5Dependence: OpenCV 3.0
6 6
7Results
8
9![input](./samples/input.jpg)
10![result](./samples/result.bmp)
11
7### Ref 12### Ref
8+ He K, Sun J, Tang X. Single image haze removal using dark channel prior[J]. Pattern Analysis and Machine Intelligence, IEEE Transactions on, 2011, 33(12): 2341-2353. 13+ He K, Sun J, Tang X. Single image haze removal using dark channel prior[J]. Pattern Analysis and Machine Intelligence, IEEE Transactions on, 2011, 33(12): 2341-2353.
9+ He, Kaiming, Jian Sun, and Xiaoou Tang. "Guided image filtering." Pattern Analysis and Machine Intelligence, IEEE Transactions on 35.6 (2013): 1397-1409. \ No newline at end of file 14+ He, Kaiming, Jian Sun, and Xiaoou Tang. "Guided image filtering." Pattern Analysis and Machine Intelligence, IEEE Transactions on 35.6 (2013): 1397-1409.
diff --git a/samples/input.jpg b/samples/input.jpg
new file mode 100644
index 0000000..d369d87
--- /dev/null
+++ b/samples/input.jpg
Binary files differ
diff --git a/samples/result.bmp b/samples/result.bmp
new file mode 100644
index 0000000..052c75f
--- /dev/null
+++ b/samples/result.bmp
Binary files differ
Powered by cgit v1.2.3 (git 2.41.0)