HI,
I have implemented an image enhancement technique that uses Merge Mertens. I have coded it in Python and C++. On same set of images of same size and dimensions, Merge Mertens takes less than 2 seconds on Python while taking 11 seconds on C++. I want my C++ code to be faster as I have to deploy it on android devices.
Moreover, I implemented my own basic unoptimized version of exposure fusion on both Python and C++. They were both taking almost the same amount of time as Merge Mertens took in their respective languages.
Is there any reason why this is happening? How could I achieve same time as Python on C++ as speed is necessary for me as I would be using this code for android.