필터 지우기
필터 지우기

How can i extract vertical lines from the print given?

조회 수: 2 (최근 30일)
PP
PP 2017년 2월 11일
댓글: PP 2017년 2월 23일
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?

답변 (1개)

Image Analyst
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
Image Analyst
Image Analyst 2017년 2월 23일
That's what the second, more general snippet of code does.
PP
PP 2017년 2월 23일
Thank you. That helped.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by