Digital image Watermarking using Discrete Wavelet Transform

4 views (last 30 days)
Community,
Please, I need idea on how to give different names to series of images(outputs) produce by the below code (i.e. expt.m) and save . Currently,this is the code I have. I need correction on the code where it is neccessary.
Other useful and relevant files are also attached.
Thank you.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 7 Jul 2019
Edited: KALYAN ACHARJYA on 7 Jul 2019
How to give different names to series of images(outputs) produce by the below code (i.e. expt.m) and save.
I assumed that you have already called the images, let say each result images durining iteration is result1
for j=1:length(list)
grayImage=imread(list(j).name);
% do finding
result1=.......
%Save Images
destination='C:\complete path to the destination folder\folder_name\im';
%........................................................................................^^^^^
imwrite(result1,[destination,num2str(j),'.png']);
end
The save image will named as im1, im2, im2, etc...
If you want to save the result images as same as original image names, see my answer here.
  2 Comments
OLUFEMI SONEYE
OLUFEMI SONEYE on 7 Jul 2019
hello, please what does line 4 (i.e. result1=.......) means ? and which line in my code should I insert your code ? Thank you.
KALYAN ACHARJYA
KALYAN ACHARJYA on 7 Jul 2019
result1=.......
Just representation of output image, resultant image which you want to save (result image from your algorithm)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!