remove corner centroid in image

1 回表示 (過去 30 日間)
Allen Ray
Allen Ray 2016 年 10 月 16 日
編集済み: Image Analyst 2016 年 10 月 16 日
how to remove the corner centroid ?i have removed the noise to calculate the number of coins. Anyone can helps please.

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 16 日
編集済み: Image Analyst 2016 年 10 月 16 日
I'd have to know how you got them in the first place. This is a very easy problem, assuming that all coin denominations are a different area. Or if two coins have close to the same area, then they should be of different color. Simply threshold, call bwareafilt() to get rid of small noise specks, and call regionprops() to get the area. Then have a look up table that gives the denomination for each area. Very easy. See my Image Processing Tutorial in my File Exchange, where I identify 5 cent and 10 cent coins. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by