How to remove a red text from a greyscale image?!
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mariam Sheha
el 4 de Abr. de 2016
Comentada: Mariam Sheha
el 8 de Abr. de 2016
Hello my friends;
hope you are all doing well,,
i'd like to ask how can i segment or remove a red text from grey scal image?!
i think about making a for loop and if condition so that if found the red color (1,0,0) will convert it to white but it doesn't work?! can you please check that with me or tell me about another solution for that! (i am using matlab 7.10)
example of the image i am talking about is attached!
0 comentarios
Respuesta aceptada
Walter Roberson
el 4 de Abr. de 2016
Convert to HSV. The range of hues for the red will be very different than the range of hues for the grayscale.
Now, take one pane of the image, and double() it. Use the locations where red were detected and assign NaN to the array just mentioned. Now you can use John D'Errico's inpaint_nan File Exchange Contribution.
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!