Giter VIP home page Giter VIP logo

hdr-cloud-segmentation's Introduction

High-Dynamic-Range Imaging for Cloud Segmentation

With the spirit of reproducible research, this repository contains all the codes required to produce the results in the manuscript:

S. Dev, F. M. Savoy, Y. H. Lee and S. Winkler, High-Dynamic-Range Imaging for Cloud Segmentation, Atmospheric Measurement Techniques (AMT), 2018.

Please cite the above paper if you intend to use whole/part of the code. This code is only for academic and research purposes.

Code Organization

The codes are written in MATLAB.

Dataset

The SHWIMSEG: Singapore HDR Whole Sky IMaging SEGmentation Database, associated with this manuscript can be accessed from this link. This will be helpful for public benchmarking and subsequent research.

The dataset should be copied in the folder ./HDRSEG.

Core functionality

  • BRImage_func.m Calculates a ratio image from an RGB sky/cloud image.
  • color16_struct.m Calculates various color channels used in cloud segmentation.
  • error_withSat_s_c.m Computes the various error metrics by neglecting the saturated pixels in an image.
  • findSat_th.m Estimates the saturated map of an image.
  • maskSaturatedHDR.m Estimates the mask of saturated map for an HDR image.
  • maskSaturatedLDR.m Estimates the mask of saturated map for an LDR image.
  • MCE_func.m Internal function to compute Li et al. approach.
  • RGBPlane.m Finds the R- G- and B- plane of an image.
  • showasImage.m Normalizes a matrix into the range [0,255].

The codes related to HDR imaging are contained in the folder ./HDRimaging. These codes are adapted from:

Debevec, Paul E., and Jitendra Malik. "Recovering high dynamic range radiance maps from photographs." In Proceedings of the 24th annual conference on Computer graphics and interactive techniques, pp. 369-378. ACM Press/Addison-Wesley Publishing Co., 1997.

The codes related to graph cut are contained in the folder ./GraphCut. Please cite the following papers, in case you use this graph cut module.

Efficient Approximate Energy Minimization via Graph Cuts, Yuri Boykov, Olga Veksler, Ramin Zabih, IEEE transactions on PAMI, vol. 20, no. 12, p. 1222-1239, November 2001.

What Energy Functions can be Minimized via Graph Cuts?, Vladimir Kolmogorov and Ramin Zabih, IEEE Transactions on Pattern Analysis and Machine Intelligence, (PAMI), vol. 26, no. 2, February 2004, pp. 147-159.

An Experimental Comparison of Min-Cut/Max-Flow Algorithms for Energy Minimization in Vision, Yuri Boykov and Vladimir Kolmogorov, In IEEE Transactions on Pattern Analysis and Machine Intelligence, (PAMI), vol. 26, no. 9, September 2004, pp. 1124-1137.

Matlab Wrapper for Graph Cut, Shai Bagon, in www.wisdom.weizmann.ac.il/~bagon, December 2006.

Reproducibility

Please run the following to generate all the results and figures in the paper.

  • Figure3.m Generates figure 3 of the manuscript.
  • Figure5.m Generates figure 5 of the manuscript.
  • Figure6.m Generates figure 6 of the manuscript.
  • Li_LDR.m Computes Li et al. approach for LDR images.
  • Li_tonemapped.m Computes Li et al. approach for tonemapped images.
  • Long_LDR.m Computes Long et al. approach for LDR images.
  • Long_tonemapped.m Computes Long et al. approach for tonemapped images.
  • Mantelli_LDR.m Computes the Mantelli et al. approach for LDR images.
  • Mantelli_tonemapped.m Computes the Mantelli et al. approach for tonemapped images.
  • Souza_LDR.m Computes the Souza et al. approach for LDR images.
  • Souza_tonemapped.m Computes the Souza et al. approach for tonemapped images.
  • proposed_LDR.m Computes the proposed approach for LDR images.
  • proposed_tonemapped.m Computes the proposed approach for tonemapped images.
  • proposed_HDR.m Computes the proposed approach for HDR images.

In addition to all the related codes, we have also shared the generated results. These files are contained in the folder ./results.

hdr-cloud-segmentation's People

Contributors

soumyabrata avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.