MATLAB Answers

How do I save read images into a folder with separate names?

1 view (last 30 days)
Matthew Caron
Matthew Caron on 18 Mar 2013
I am binarizing multiple images from a folder and saving them into another folder. I am doing this through a loop. My problem is that when I saved these images into another folder, they were all under the same file name. I want them to keep the same file name as before, but just in a different folder. End result is to have a folder of images with a specific file name, and another folder with the binarized images with the same file name as before. If its not possible to have the same file name, it is preferred to have a file name that is similar prior to binarization.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!