Hello,
Is there a way using OpenCV to create a gray scale image of the Depth Map / Sharpness Level of an image?
I don't need the "Depth Map" to be accurate, just to set a different shade of gray to a different distances.
Equivalently, set a different gray level according to the sharpness of the area (Since Distance, Focus Distance and Depth of Field set the sharpness).
Any idea?
Thanks.