measureTexture
Syntax
Description
[
calculates the spatial frequency response (SFR) of a Dead Leaves, Spilled Coins, or similar
test chart image, sfr,psd,psdRef] = measureTexture(im,roiTexture,roiUniform)im. For these types of test charts, the SFR is a
metric for the sharpness of texture. The function also measures the power spectral density
(PSD) of the test chart and a simulated reference image, and returns the measurements in
psd and psdRef, respectively.
The function simulates a reference image based on regions of interest (ROIs) for texture
regions and uniform regions, specified as roiTexture and
roiUniform, respectively [1].
[
calculates the SFR using a real reference image, sfr,psd,psdRef] = measureTexture(im,roiTexture,roiUniform,imRef,roiTextureRef,roiUniformRef)imRef. The function
calculates the PSDs using additional information about ROIs of texture regions and uniform
regions within the reference image, specified as roiTextureRef and
roiUniformRef, respectively.
Examples
Input Arguments
Output Arguments
References
[1] McElvain, Jon, Scott P. Campbell, Jonathan Miller, and Elaine W. Jin. “Texture-Based Measurement of Spatial Frequency Response Using the Dead Leaves Target: Extensions, and Application to Real Camera Systems.” In Digital Photography VI, 7537:115–25. SPIE, 2010. https://doi.org/10.1117/12.838698.
Version History
Introduced in R2024b



