Remove blue or black colored lines in the Image

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.

답변 (1개)

Priysha LNU
Priysha LNU 2020년 10월 28일

0 개 추천

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.

제품

릴리스

R2015b

질문:

2020년 10월 26일

답변:

2020년 10월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by