I have a binary image having the size 2200 lines X 3200 columns and I want find all the full white inscribed rectangles (full '1' values) having the minimum size 164 lines X 20 columns and the maximum size 350 lines X 500 columns, get the 4 corners of each rectangle. Remark: The found rectangles can have different size betwwen the minimum and the maximum values mentionned above. enter image description here Please find attached the image.
Thanks