Ask Your Question

Revision history [back]

MergeMertens high memory usage on iOS

    // 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?