0

For a project, I'm trying to count objects on an image. For the most part, I'm successful as objects are at least a little bit separated from each others.

For other portions, no morphological transformations seems to work

I'm now thinking of counting 'missing objects' : ie

source image

enter image description here

Idea : as all object are roughly the same size, maybe I could use an 'image template' (or some kind of np kernel)

enter image description here

by calculating the size of 'holes' I could calculate the num of templates that could fit ?

Any thoughts or ideas to spare ?

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Gil
  • 77
  • 1
  • 2
  • 8
  • 1
    can you post the code of what you have done – Kenan Dec 22 '19 at 02:39
  • Try this solution, it is the same problem with a different image: https://stackoverflow.com/questions/42374463/matlab-segmentation-to-separate-touching-objects-in-an-image/42891793#42891793 – Ozcan Dec 23 '19 at 05:38
  • Compute mean number of green pixels per object and estimate num of objects by counting pixels. May be not very accurate, but simple way. – Andrey Smorodov Dec 23 '19 at 09:14

0 Answers0