Adding poisson noise to image data store

Is possible to add poisson noise to the imageDataStore to generate more data for training a network?

 采纳的回答

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’:
function dataOut = addNoise(data)
dataOut = data;
for idx = 1:size(data,1)
dataOut{idx} = imnoise(data{idx},'poisson');
end
end

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by