Remove blue or black colored lines in the Image
조회 수: 3 (최근 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!