Remove blue or black colored lines in the Image

2 visualizaciones (últimos 30 días)
Learner
Learner el 26 de Oct. de 2020
Respondida: Priysha LNU el 28 de Oct. de 2020
Hi, In the attached plot, there a two colored lines (blue and black), I want to know the process of removing either blue or black colored lines. Is there any process using matlab for detecting and removing a specific colored lines.

Respuestas (1)

Priysha LNU
Priysha LNU el 28 de Oct. de 2020
Hi,
For detection of specific colors, color-based segmentation using K-Means Clustering might help. Please refer the documentation link below for more information regarding this technique:
The provieded example shows how to segment colors in an automated fashion using the L*a*b color space and K-means clustering.
You can then perform a replacement operation to delete these lines and replace them with new pixel values.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by