how to save the generated images by GAN?
3 views (last 30 days)
Show older comments
Nagwa megahed
on 14 Aug 2021
Commented: amel laidi
on 5 Nov 2021
i need to generate images by GAN ,so i followed ' Train Generative Adversarial Network' example presented here
but i have a difficulty in saving the generated images as a separated images not a dlarray
can any one help?
2 Comments
Accepted Answer
Image Analyst
on 14 Aug 2021
Look where they display the images:
I = imtile(extractdata(dlXGeneratedNew));
I = rescale(I);
figure
image(I)
axis off
title("Generated Images")
So can't you just use extractdata() to get one image and then use imwrite() on that?
6 Comments
amel laidi
on 5 Nov 2021
can you tell us in details how you used this solution on individual images? thank you
More Answers (0)
See Also
Categories
Find more on Image Data Workflows 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!