I’m struggling with how to obtain the furthest vision region of my camera. This is in reality how to take a specific region of the image and then process it to contour it in order to have some interesting values like area, center of mass etc. I’ve done some research and maybe using moments in openCV could be the way to follow, but I don’t know how to obtain an specific area from the total area calculated with moments.
PS: I’ve tried to crop the original image to obtain the parts I want and then process the result, but this procedure doesn’t work properly in this environment.
Thank you in advance.
This image represents the area or the mask (white one) that I want to obtain.