Fill in '1' of binary image at certain region

1 view (last 30 days)
Hi everyone,
Could anyone please help me with my binary image.
I had a binary image (attached)
What I need is to fill in '1' only at the small rectangles (seven of them).
Thank you in advance :)

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!