crop_multiple_images(images_folder)
This will enable users to crop a batch of images stored in a single folder. The function is based on Matlab's imcrop and extends its capabilities. The allowed image types are bmp, gif, hdf, jpg, jpeg, jp2, jpx, pbm, pcx, pgm, png, pnm, ppm, ras, tif, tiff, xwd.
The user picks a folder and the function will check if it contains any figures. If more than one figure type is found, the user will pick which type to crop.
Then, the user will interactively crop the first figure (similarly to imcrop). Finally, upon approval, all the images in the folder will be cropped using the same coordinates.
Cite As
Amir Paster (2023). crop_multiple_images(images_folder) (https://www.mathworks.com/matlabcentral/fileexchange/59707-crop_multiple_images-images_folder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion > Image Sequences and Batch Processing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |