deltaEtAl

版本 1.0.0 (4.3 KB) 作者: Mathias Anton
Calculates non-parametric contrast measures for any gray value image as described in the cited publication.
0.0 次下载
更新时间 2024/10/15

查看许可证

The function uses a single grey value image (matrix) as in input. In addition, a data structure thr is required as an input which contains threshold values obtained by Otsu's method. This structure is output by the attached function greyThreshO, which again calls the function multithresh from Matlab's image processing toolbox. (The users may furnish their own function that yields a similar data structure with thresholds as an output, in that case the image processing toolbox will not be needed). The optional input perc is only needed when the normalised slope at the thresholds (NST) is desired as an optional output, this will be described in a follow-up publication. Finally, the optional input pcov is needed if extreme values in the image (like defunct pixels which produce outliers) have to be excluded.
The function calculates the order statistic of the image and from that, with the help of the threshold(s), values of the relative grey value distance δ, the range R, the mean values LH and LL beneath and above the threshold as well as the pixel number nT where the threshold yT is located. If the input perc is nonzero, the normalised slope NST at the threshold yT is also calculated. To that end, the order statistic is scaled to the intervals [0,1] both for the grey values and the pixel number.
Using δ, one obtains the so-called mean brightness distance MBD by multiplication with R, i.e. MBD=. MBD divided by the sum of LL and LH yields the contrast equivalent distance CED = MBD / (LH+LL). For low noise, CED converges to the Michelson contrast .
For the calculation of the distance-to-noise ratio DNR, the additional function avThreshNoise is required, which is also available on the Matlab Central.(Please look for "avThreshNoise" or "Non-parametric Noise measure tau" ).
If the input thr.values contains more than one element, the contrast parameters are calculated for each threshold value separately. This is useful if more than two distinct grey value levels can be identified in the image.
For more details, please see the cited publication (free access).

引用格式

Mathias Anton (2024). deltaEtAl (https://www.mathworks.com/matlabcentral/fileexchange/173950-deltaetal), MATLAB Central File Exchange. 检索时间: .

Anton, M., et al. “A Nonparametric Measure of Contrast in x-Ray Images.” Physics in Medicine Biology, vol. 69, no. 15, IOP Publishing, July 2024, p. 155013, doi:10.1088/1361-6560/ad6119.

查看更多格式
MATLAB 版本兼容性
创建方式 R2024b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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