MATLAB Answers

Read and Save images sequence from folder

22 views (last 30 days)
Jose Smeil
Jose Smeil on 16 Jan 2020 at 13:59
Commented: Darshan Ramakant Bhat on 17 Jan 2020 at 4:09
Hello,
I have sequence of image in folder image000001.jpg ,image000002.jpg.......image001600.jpg
I need to read those images with this order : from 1 to 1600.
i will do some treatment , after that i need to save each image with other name and other format :
Example : output000001.bmp , output000002.bmp....... output0016000.bmp
Please Could you help me on this request ?
Regards

  4 Comments

Show 1 older comment
Jose Smeil
Jose Smeil on 16 Jan 2020 at 17:07
Hi Stephen,
Thanks for your answer.
For the 2nd request , how i can save the output image with the above specific name ?
Spencer Chen
Spencer Chen on 16 Jan 2020 at 17:40
You can reverse the process outlined in the solution provided by Stephen and use imwrite() with the new file names to save your images.
Blessings,
Spencer

Sign in to comment.

Answers (0)

Sign in to answer this question.