How can i extract vertical lines from the print given?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to extract only the verticle lines which might be present in the lip print given using only morphological operations. Is there any preprocessing required before doing so?


댓글 수: 0
답변 (1개)
Image Analyst
2017년 2월 11일
You can use bwareaopen() to get rid of the large blobs. Then get rid of horizontal lines using
windowWidth = 5; % Whatever...some odd number.
verticalLines = imerode(binaryImage, ones(windowWidth, 1));
댓글 수: 7
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!