Cropping a Folder of Images
1 view (last 30 days)
Show older comments
I am trying to crop multiple images instead of cropping them on at a time. I tried using the "imcrop" command but the result was an "Invalid Input". Is there a way to do this with a loop?
0 Comments
Accepted Answer
Image Analyst
on 23 May 2019
See code samples in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
Put imcrop() in the middle of the for loop.
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!