remove corner centroid in image

1 visualizzazione (ultimi 30 giorni)
Allen Ray
Allen Ray il 16 Ott 2016
Modificato: Image Analyst il 16 Ott 2016
how to remove the corner centroid ?i have removed the noise to calculate the number of coins. Anyone can helps please.

Risposte (1)

Image Analyst
Image Analyst il 16 Ott 2016
Modificato: Image Analyst il 16 Ott 2016
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

Community Treasure Hunt

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

Start Hunting!

Translated by