Vous suivez désormais cette question
- Les mises à jour seront visibles dans votre flux de contenu suivi.
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails.
How to classify images depending on the shape of each image's object ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/591620/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/591625/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/591630/image.jpeg)
6 commentaires
- First of all you need to binarize the image and find edges of image using canny edge detection.
- Then you need use regionprops to extract various isolated regions in the image.
- You need to find centroid of regions.
- Then at various angles, you can find distance between centroid of region and point on edge of image.
- This makes your shape descriptors.
- You can compare these descriptors with descriptors of known share to categorize your query or unkown object.
Réponses (3)
1 commentaire
30 commentaires
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596385/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596385/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596395/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596400/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596650/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/596850/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/598440/image.jpeg)
20 commentaires
Voir également
Catégories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Une erreur s'est produite
Impossible de terminer l’action en raison de modifications de la page. Rechargez la page pour voir sa mise à jour.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asie-Pacifique
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)