How could I count number of these small beads?

1 view (last 30 days)
I want to count the number of beads in each square.

Answers (1)

Image Analyst
Image Analyst on 14 May 2018
Edited: Image Analyst on 14 May 2018
Use stdfilt() to identify the square-ish regions. Then use a tophat filter, imtophat(), or maybe imbothat().

Community Treasure Hunt

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

Start Hunting!