Non-parametric noise measure tau

A nonparametric measure of noise in a monochromic image is obtained by calculating an average NMS threshold.
7 download
Aggiornato 1 set 2023

Visualizza la licenza

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.

Cita come

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

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.

Visualizza più stili
Compatibilità della release di MATLAB
Creato con R2022b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
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