Effacer les filtres
Effacer les filtres

How to find x y coordinates of detected blobs

3 vues (au cours des 30 derniers jours)
Nuwan Dassanayake
Nuwan Dassanayake le 16 Sep 2013
Dear All,
Do you know how to find the center coordinate of a blob. That means after detected blobs i need to assign variables to that blob locations.

Réponse acceptée

Image Analyst
Image Analyst le 16 Sep 2013
You need to ask regionprops for the Centroid or Weighted Centroid. See my Image Segmentation Tutorial for an example: Image Analyst's File Exchange It does exactly that.

Plus de réponses (1)

Nuwan Dassanayake
Nuwan Dassanayake le 16 Sep 2013
Dear Image Analyst Thank You very much for help!
  5 commentaires
Image Analyst
Image Analyst le 20 Sep 2013
You can't do things like a<x<b you need to do (a<x) && (x<b) .
Nuwan Dassanayake
Nuwan Dassanayake le 23 Sep 2013
Thank You Sir It has worked !

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by