How to crop images with a fixed aspect ratio
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 28 de Mzo. de 2021
Editada: Walter Roberson
el 28 de Mzo. de 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
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!