Adding poisson noise to image data store
13 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 Apr 2019
Edited:
MathWorks Support Team
on 6 Oct 2021
Is possible to add poisson noise to the imageDataStore to generate more data for training a network?
Accepted Answer
MathWorks Support Team
on 6 Oct 2021
Edited:MathWorks Support Team
on 6 Oct 2021
This is possible using the transform/combine methods that were added to Datastore in 2019a, together with this and the "imnoise" function in the image processing toolbox can be used to add Poisson noise to an image to simulate that noise model for denoising workflows.
Below is an example, which walks through on how to use transform and combine to implement a data pre-processing pipeline for denoise problems with an arbitrary noise model:
And in the “addNoise” function, use the ‘poisson’ option in the IPT function "imnoise" instead of ‘salt & pepper’:
functiondataOut = addNoise(数据)
dataOut = data;
foridx = 1:size(data,1)
dataOut{idx} = imnoise(data{idx},'poisson');
end
end
0 Comments
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!