This repository provides the official implementation for the paper "IHDCP: Single Image Dehazing Using Inverted Haze Density Correction Prior". To protect intellectual property, the core implementation is distributed as MATLAB p-code (.p files).
- MATLAB R2021b or newer
- Windows OS
- Place input images in the
input_images/folder. - Open MATLAB and run
demo.m. - Dehazed results will be saved to the
output_images/folder.
demo.m: Entry script that reads images frominput_images/and writes results tooutput_images/.- Core p-code files (runnable, source code hidden):
Airlight.pboxfilter.pdehazing.pguidedfilter.pmaxfilt2.pvanherk.p
input_images/: Sample input images.output_images/: Dehazed results generated after runningdemo.m.
If you use this code in your research, please cite our paper:
@ARTICLE{liu2026ihdcp,
author={Liu, Yun and Li, Tao and Tan, Chunping and Ren, Wenqi and Ancuti, Cosmin and Lin, Weisi},
journal={IEEE Transactions on Image Processing},
title={IHDCP: Single Image Dehazing Using Inverted Haze Density Correction Prior},
year={2026},
volume={35},
number={},
pages={1448-1461},}- Do not rename or move
.pfiles or change their relative paths; this may cause runtime errors. - Batch processing is supported: place multiple images in
input_images/, anddemo.mwill iterate and generate corresponding results. - If you encounter MATLAB version compatibility issues, please try a newer MATLAB release.
For technical inquiries or licensing, please contact us at lt3088919588@email.swu.edu.cn. The core algorithm is provided as p-code only to protect intellectual property.