How to erase black letters in an image
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an image like this:
Is it possible to erase these letters conserving the background?
0 Kommentare
Antworten (1)
Akira Agata
am 8 Feb. 2024
How about the following?
I = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1611496/image.jpeg');
Igray = rgb2gray(I);
BW = Igray < 10;
se = strel('disk', 10);
BW = imdilate(BW, se);
I2 = inpaintCoherent(I, BW);
imshow(I2)
Siehe auch
Kategorien
Mehr zu Get Started with Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!