フィルターのクリア

Can you help me to identify these shapes?

2 ビュー (過去 30 日間)
ROMIL
ROMIL 2014 年 2 月 28 日
回答済み: ROMIL 2014 年 2 月 28 日
I am working on a project where i have to identify shapes on the pictures taken from a webcam.
This is the picture I have.
The thing is that i am not able to convert it properly into a binary image from where I can use it to identify the shapes. Please can anybody assist.
  2 件のコメント
Walter Roberson
Walter Roberson 2014 年 2 月 28 日
What error do you get when you attempt to convert it to a binary image?
ROMIL
ROMIL 2014 年 2 月 28 日
Not particularly an error Walter. There is a lot of noise in the image and also edges aren't sharp so my binary image is like this

サインインしてコメントする。

回答 (2 件)

Walter Roberson
Walter Roberson 2014 年 2 月 28 日
Your threshold is too high for the one on the left. The one on the right is going to be a problem, so imclose() it so you can get the boundary, then when you have extracted the region you can start doing edge processing.

ROMIL
ROMIL 2014 年 2 月 28 日
Walter that's where I'm stuck. A code or an excerpt will be very useful.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by