Hi guys, I would like some tips to solve this problem. Thank for your help.
I have an image with some geometrical figures in it. I would like to obtain a new image with only the geometrical figures in it ( neglecting the backround). I also want to keep the intensity information of the starting image for the area inside the geometrical figures.
ps: i need to imbinarize the starting picture cause switching to gray image and thresholding the values doesn't work as desired.
I will attach my script.
Best Answer