Вопрос

enter image description here

In the shown image, I need to find the center points of the white blobs or I need to segment each white blob (to get an image which only contains that blob) from the background. What is the efficient way to do it?

Это было полезно?

Решение

Seems this is what exactly you are looking for: Image Segmentation Tutorial ("BlobsDemo").

It contains demo to illustrate simple blob detection, measurement, and filtering. First it finds all the objects, then filters results to pick out objects of certain sizes. The basic concepts of thresholding, labeling, and regionprops are demonstrated with examples.

Другие советы

You need to use watershed algoritm for segmentation.

http://www.mathworks.com/help/images/ref/watershed.html

After segment cells use regionprops function.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top