remove corner centroid in image

1 次查看(过去 30 天)
Allen Ray
Allen Ray 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 CenterFile Exchange 中查找有关 Get 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