how to classify imageData Store images depending on each image's object shape
Afficher commentaires plus anciens
I have ImageDataStore that has 1000 images and looking to classify each images depending on the shape of the object inside each image instead of classifying depending on RCS
Réponses (1)
Image Analyst
le 22 Avr 2021
0 votes
See my attached shape recognition demo. If you need more help, attach your images and say what shape(s) you want to find in them, AFTER you read this:
6 commentaires
Mohamed Elbeialy
le 22 Avr 2021
Mohamed Elbeialy
le 22 Avr 2021
Image Analyst
le 22 Avr 2021
I'd probably threshold to get the flower and get a mask of the largest blob. Determine the thresholds by analyzing the colors around the edge of the image and in the central part and finding the color half way between. OOr ir all your flowers are red, just take the red channel and call imbinarize, followed by imfill() and bwareafilt() to get the largest blob. Then I'd get the boundaries with bwboundaries() and find the disances of each boundary point ot the centroid. Do this for each flower to make up a reference library of distance signals. Then I'd use normalized cross correlation with the distance signal from an unknown flower to see which reference flower it matches up best with.
Mohamed Elbeialy
le 22 Avr 2021
Image Analyst
le 23 Avr 2021
Not sure I'll have time. What's your "use case"? Why do you need to do this? And where/how are you getting the photos.
Mohamed Elbeialy
le 23 Avr 2021
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



