is randn() appropriate to emulate noise coming from digital image correlation?

3 ビュー (過去 30 日間)
SA-W
SA-W 2023 年 1 月 17 日
回答済み: Animesh 2023 年 3 月 6 日
I want to emulate experimental data coming from an digital image correlation (DIC) system. Currently, I generate the displacements numerically and want to add artificial noise to it. Based on several other questions here, many people use randn() to generate noise. Is this a proper way to go for DIC data, or are other functions like wgn() better suited for DIC data?

採用された回答

Animesh
Animesh 2023 年 3 月 6 日
Hello,
Yes, randn() is an appropriate function to emulate noise coming from digital image correlation in MATLAB.
To emulate noise in DIC displacement values, you can add random numbers generated by randn() to the displacement values. The standard deviation of the added noise should be chosen to match the level of noise present in the actual DIC measurements. For example, the following code adds Gaussian noise with a standard deviation of 0.1 pixels to a set of displacement values:
displacement = [1.2, 2.3, 3.4, 4.5, 5.6];
noisy_displacement = displacement + 0.1 * randn(size(displacement));
In this example, the randn() function generates random numbers with the same size as the displacement vector, and the 0.1 factor scales the standard deviation of the noise to 0.1 pixels.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFilter Banks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by