MergeMertens high memory usage on iOS

asked 2017-12-07 09:56:25 -0600

    // create fusion
Mat fusion;
Ptr<MergeMertens> merge_mertens = createMergeMertens();
merge_mertens->process(images, fusion);

This will use over 1GB of memory for an array of two 5376x2688 images which will terminate the app. Can I optimise this somehow so it will work on mobile devices without resizing the images?

edit retag flag offensive close merge delete