how to save multiple images in different folders using a loop?
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Tajinder Pal singh
2020-2-16
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!