Remove blue or black colored lines in the Image
1 次查看(过去 30 天)
显示 更早的评论
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.

0 个评论
回答(1 个)
Priysha LNU
2020-10-28
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!