#include "dcp.h" int main() { IplImage *input = cvLoadImage("input.png"); IplImage *result = cvCreateImage(cvGetSize(input), IPL_DEPTH_8U, 3); dehaze(result, input); cvNamedWindow("Result"); cvShowImage("Result", result); cvWaitKey(); return 0; }