Find multiple objects and their dimensions in image

1 vue (au cours des 30 derniers jours)
jpirozzolo
jpirozzolo le 7 Juil 2017
Commenté : jpirozzolo le 12 Juil 2017
I am working on a machine learning program in python that classifies cicadas (type of insect) in an image. I wrote the classifier in python, but that requires dimensions that I feed to it from an image. I thought that MATLAB would be an effective way to find the dimensions of these insects from an image, but can't find a way to find the dimensions of multiple objects. What would be the most effective way to do this? And which methods would be able to return height and width of the insects. photos: https://drive.google.com/drive/folders/0BxhgVftMoWYAZWxVYjNHUjlGQW8?usp=sharing

Réponse acceptée

Akhilesh Mishra
Akhilesh Mishra le 11 Juil 2017
You can try using 'regionprops' function. Please refer to the following documentation for a relevant example and detailed documentation of this function -
  1 commentaire
jpirozzolo
jpirozzolo le 12 Juil 2017
Thanks so much, that gave me what I needed.

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 11 Juil 2017
See my File Exchange for a variety of Image Segmentation methods: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
Attach your image(s) here if you want me to look at them, not some third party site.

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by