I want to apply some image processing operations on an equirectangular image. (shown below)
For this purpose i want to select a region of interest such that the half circles on both ends (represented by green color) should be discarded whereas the area inside the red boundary should be considered.
Let the size of the image is X * Y , where X is width and Y is height. The radius of both circles will be X/(2*4). How can I select this ROI in openCV?