spmallick / learnopencv

Learn OpenCV : C++ and Python Examples
https://www.learnopencv.com/
21.1k stars 11.58k forks source link

Improving-Illumination-in-Night-Time-Images C++ version run time error. #787

Open zhangzidan opened 1 year ago

zhangzidan commented 1 year ago

error info: image

dehaze ==> get_corrected_transmission ==> std::pair<cv::Mat, cv::Mat> illuminate_channels = get_illumination_channel(im3, w);

im3 is cv::Mat im3(I.size(), CV_32FC3) CV_ELEM_SIZE1(traits::Depth<_Tp>::value is: 1 im3.elemSize1() value is : 4

brmarkus commented 1 year ago

Can you provide more details about your environment, please? Which version of this repo do you use, which version of OpenCV do you use? Using OpenCV as pre-built or manually built from source-code? Which input/picture/video do you use, can you share command-lines you used, please?