Is it possible to combine 3 photos of different focal lengths to make the clearest image possible?
I'm creating a function on my Android app that takes 3 photos at three different focal lengths and will combine the images to make one sharp image. Because each photo has a different focuses there will be parts of the photo that will be blurry and parts that will be clear. Is it possible to find the clear parts of the images and combine them into one single clear photo? I'm completely new to OpenCV and was wondering if something like this was even possible and if it would be difficult. I imagine something like this would be pretty difficult since the code has to recognize what is clear and what isn't. In addition, what would be the best way to approach this? I've looked at some capabilities of OpenCV like filtering and blending but i'm unsure of what to use exactly.