Skip to content

Lilin2015/Author---Dehazing-via-Graph-Cut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the demo of the manuscipt "Dehazing via Graph Cut". It have some detail problems, but the main ideas of the proposed method are exactly implemented.


"opencv_world300.dll" is needed. It is included in the file. However, if any problem happens on mex file, you can compile the mex by yourself with the source code in 'Appendix.zip'.


Run 'main.m'.


There are some known problems of the demo:

  1. the mexfunction 'GraphCut' might crash after being called multi-times. It might has memory leak problem but we don't known the reason yet.
  2. if the mexfunction 'GraphCut' keeps crash on a single image, try to resize the image.
  3. the core code of graph cut is compatible with gray-scale images, but the whole program is still wrote for RGB-image. You can achieve it by some simple modification without changing the core code of graph cut.

Examples:

image

About

the matlab demo for the manuscript "Dehazing via Graph Cut"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages