text.png how to remove vertical lettering on a photo?

2 views (last 30 days)
betty on 6 Jan 2022
Commented: betty on 6 Jan 2022
how to remove all of the vertical text in the image below? i'm trying the following code but it doesn't work
[r c]=ginput(4);
figure , imshow(BW1)
J = regionfill(I,r,c);
figure , imshow(J)

Accepted Answer

Simon Chan
Simon Chan on 6 Jan 2022
regionfill supports grayscale image and your input image is a black and white image only.
Therefore, regionfill gives an error.
In your case, just use:
to give you the final image

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by