How to blend pyramidal images given a depth map?
I need to show a pic giving the 3D perception, so I need to focus the image where I point with mouse. How can I represent the final image with all the blur levels without doing 2 for loops, but using some OpenCV functions as for example the MultiBandBlender? Please provide some code! Thanks