How to crop images with a fixed aspect ratio
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
After a period of time, I want to re-evaluate MATLAB for image processing. I saw augmentedImageDatastore used to process image data in batches. I regret to find that MATLAB still cannot perform equal-scale cropping of images and cannot implement it manually. I don't think this is a complicated features.Why has it not been implemented yet?
0 commentaires
Réponses (1)
Walter Roberson
le 28 Mar 2021
Modifié(e) : Walter Roberson
le 28 Mar 2021
Use a transform data store.
Notice that transform() is specifically supported for that class; https://www.mathworks.com/help/deeplearning/ref/augmentedimagedatastore.html?searchHighlight=augmented%20data%20store&s_tid=srchtitle#d123e10506
Voir également
Catégories
En savoir plus sur Image Data Workflows 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!