Non-parametric noise measure tau

版本 2.0 (3.1 KB) 作者: Mathias Anton
A nonparametric measure of noise in a monochromic image is obtained by calculating an average NMS threshold.
8.0 次下载
更新时间 2023/9/1

查看许可证

If T(x,y,t) is the non-maximum suppression (NMS) image for threshold t, the number n(t) of pixels is calculated, where the (absolute) difference of a pixel gray value to its four or eight neighbour pixels exceeds the threshold t. The average threshold tau is obtained by averaging t using n(t) as a weight.
The function tau=avThreshNoise(Y) calculates the corresponding tau values for an array of images Y (Y has the size [ny,nx,nim], where nim is the number of images).
It turns out that tau is proportional to the standard deviation of the noise in the image, where the proportionality factor depends on the covariance of the noise and on whether 4 or 8 NN are considered.
For white noise with a standard deviation of Unity, e.g., tau= 0.4817 (8 NN) or 0.5619 (4 NN).
The advantage of using tau as a measure of noise is that it can be estimated from images with a structured background, as e.g. from x-ray diagnostic images. Only very fine structured, periodic backgrounds influence the value of tau, when the spatial frequency is close to the grid size. Large scale structures leave tau unaffected.
Details can be found in the citation given below.
The updated version of the function to calculate tau is now approximately 100 times faster than the old one, due to a more efficient algorithm to count the next neighbours developed by Ulf Mäder, University of Applied Sciences, Giessen, Germany.

引用格式

Mathias Anton (2024). Non-parametric noise measure tau (https://www.mathworks.com/matlabcentral/fileexchange/125855-non-parametric-noise-measure-tau), MATLAB Central File Exchange. 检索时间: .

Anton, M., et al. “A Nonparametric Measure of Noise in x-Ray Diagnostic Images—Mammography.” Physics in Medicine &Amp\Mathsemicolon Biology, vol. 68, no. 4, IOP Publishing, Feb. 2023, p. 045003, doi:10.1088/1361-6560/acb485.

查看更多格式
MATLAB 版本兼容性
创建方式 R2022b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
2.0

The function is now significantly faster, by using a subfunction developed by Ulf Mäder, Institute of Medical Physics and Radiation Protection, University of Applied Sciences, Giessen, Germany. Instead of three files thres is now only one function.

1.0.1

Bugfix in avThresh8, case when no pixels exceeding threshold are found was treated incorrectly, now corrected.

1.0.0