how to save multiple images in different folders using a loop?
Show older comments
Hello everyone, I am new in image processing and I want help. I have a folder (dataset) that contains 1000 images and I want to insert noise 'salt & pepper' with different density noise (0.01,0.02 and 0.03) , I used this line to do this:
im = imread('C:\Users\SAMSUNG\Desktop\AHTD3A0002_Para1.tif');
J = imnoise(im,'salt & pepper',0.01);
Please help me to do this : I want to save the result in 3 folder ( data1 contains images after noise with d=0.01, data2 contains images after noise with d=0.02 and data3 contains images after noise with d=0.03).
any suggestation and thanks in advance
Accepted Answer
More Answers (1)
Tajinder Pal singh
on 16 Feb 2020
0 votes
can you please help me in the follwoing
if in the same way as above i want to save the different images (in a loop around 1000 images) result in different folders(1000 in no.) results should not be overalpped
Categories
Find more on Blocked Images 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!