How to add noise to every image in image datastore?
5 views (last 30 days)
Show older comments
Csanad Levente Balogh
on 6 Dec 2020
Commented: Csanad Levente Balogh
on 6 Jan 2021
Hi! I am trying to add gauss noise to every image in image datastore. I want to compare a network trained on normal images with a network trained on only noisy images. A found a soltion here:
The way the noise is added here, is by creating a TransformedDatastore, but I can not use it to train a netvork. It gives the folowing error:
It also threw an error every time I wanted to use it's own object functions, even though I followed the steps in the link above. I basically want to have two image datastores with the same pictures, one with noise, one without noise. Is there a way to do that?
0 Comments
Accepted Answer
Shadaab Siddiqie
on 9 Dec 2020
From my understanding you want add gaussian noise to all the image, you can use imnoise and loop through all the images from your dataset.
More Answers (0)
See Also
Categories
Find more on Pattern Recognition and Classification 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!