How to Remove the name from the image???
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Naishil shah
am 23 Dez. 2013
Kommentiert: Naishil shah
am 23 Dez. 2013
I want to remove the name which is on the left side please help me to solve this problem.I want to remove it completely.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 23 Dez. 2013
imshow(grayImage);
axis on;
grayImage(row1:row2, col1:col2) = 0; % Figure out what rows and columns to erase.
imshow(grayImage);
5 Kommentare
Image Analyst
am 23 Dez. 2013
Are all text pixels 255 and no other image pixels 255? If so, just get a binary mask of the letters and erase
letterPixels = grayImage == 255;
grayImage(letterPixels) = 0;
Are the images color? If so then find the mask for all three color channels and AND them together. Might there be other pixels that are not text that could be confused as text? If so you'll have to determine what's different about those white pixels than the text white pixels, such as the size, shape, or whatever. If that happens, then upload an image where it's erasing incorrect things.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!