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

1 view (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 18 Mar 2013

Community Treasure Hunt

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

Start Hunting!