From 694c907ffa175740bf0fd6f402c7889cc1c8098e Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Tue, 25 Aug 2015 16:54:38 +0800 Subject: add results in README --- DCP/test.cpp | 2 +- README.md | 7 ++++++- samples/input.jpg | Bin 0 -> 143834 bytes samples/result.bmp | Bin 0 -> 540054 bytes 4 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 samples/input.jpg create mode 100644 samples/result.bmp 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 @@ int main() { - IplImage *input = cvLoadImage("input.png"); + IplImage *input = cvLoadImage("input.jpg"); IplImage *result = cvCreateImage(cvGetSize(input), IPL_DEPTH_8U, 3); dehaze(result, input); 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. Dependence: OpenCV 3.0 +Results + +![input](./samples/input.jpg) +![result](./samples/result.bmp) + ### Ref + 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. -+ 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 ++ 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 Binary files /dev/null and b/samples/input.jpg differ diff --git a/samples/result.bmp b/samples/result.bmp new file mode 100644 index 0000000..052c75f Binary files /dev/null and b/samples/result.bmp differ -- cgit v1.2.3