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

 採用された回答

MathWorks Support Team
MathWorks Support Team 2021 年 10 月 6 日
編集済み: MathWorks Support Team 2021 年 10 月 6 日

0 投票

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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by