Hello! Firstly I must admit the title it is not good. I hope that you can help me solving my problem and chaging the title.
After doing image processing I got this output:
As you see in detail, there points which has irregular shapes:
My final goal is from this:
Achieving something like this:
I don't know how to do it. If I need to filter/smoothe the contour lines and then apply a rectangle shape, for instance, or if there is a way to go straight forward without applying any filter.
During the image process I was able to collect some keypoints, as you can see, When I plotted them they are in between contours on the center of the irregular shape. The figure show them bigger than they really are, because it was created from matplotlib.