フィルターのクリア

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