Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Exposure Fusion createMergeMertens not working in 3.1.0

$
0
0
I have a simple Android application, running proper with OpenCV 3.0.0, but crashing in 3.1.0 with error FATAL signal 11. Is there something wrong in 3.1.0 library ? List images = new ArrayList(); String path = Environment.getExternalStorageDirectory().toString() + "/Download" + "/"; Mat hdrImage = new Mat(); Mat ldrImage = new Mat(); for(int i = 0; i < InFiles.length; i++) { Mat m = Imgcodecs.imread(path + InFiles[i]); Log.d("TAG", "xprocess "+path+InFiles[i]); images.add(m); } Photo.createMergeMertens().process(images, hdrImage); Core.multiply(hdrImage, new Scalar(255.0, 255.0, 255.0), ldrImage); Imgcodecs.imwrite(path + OutImage, ldrImage);

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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