Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

MergeDebevec produces strange color effect

$
0
0
Hello, In attachment, an archive with 3 bracketed photos and LDR result after MergeDebevec and tonemapping, as you can see, a dark area appears on the left above the beach. I'm using opencv 3.1 but the result is the same with older versions. This strange behavior occurs only on bright area of the bracketed photos. Here is the code snippet : try { Ptr merge_debevec = createMergeDebevec(); std::vector times; times.push_back(1.0f /80); times.push_back(1.0f / 30); times.push_back(1.0f/8); merge_debevec->process(inputArr, output,times,response); merge_debevec.release(); Ptr tonemap_Durand = createTonemapDurand(); Mat ldr; tonemap_Durand->process(output, ldr); tonemap_Durand.release(); imwrite("c:\\ldr.jpg", ldr *255); } catch (Exception ex) { } ![](/upfiles/14729688149142568.jpg) ![](/upfiles/14729687902593475.jpg) ![](/upfiles/14729687666354187.jpg) ![](/upfiles/14729687415027098.jpg)

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>