measureColor
Measure color reproduction using test chart
Syntax
Description
esfrChart or colorChecker Object
Use an esfrChart or a colorChecker object when
you want to automatically detect the color regions of interest (ROIs) of a test
chart. The esfrChart object supports the Enhanced or Extended
version of the Imatest® eSFR test chart [1]. The
esfrChart object supports the Calibrite ColorChecker® Classic test chart [2].
measures the color values at all color ROIs of an Imatest eSFR test chart or a Calibrite ColorChecker Classic test chart.colorValues = measureColor(chart)
[
also returns a color correction matrix computed using a linear least squares
fit.colorValues,colorCorrectionMatrix] = measureColor(chart)
Test Chart Image (since R2024a)
Use a test chart image for other types of test charts that are not supported by
the esfrChart or colorChecker objects. You must
identify the positions of the color ROIs.
measures the color values at all color ROIs at positions
colorValues = measureColor(im,roiPositions,refLAB)roiPositions for test chart image
im. The reference L*a*b* values of each ROI are given
by refLAB.
optionally specifies the color space and white point using name-value
arguments.colorValues = measureColor(im,roiPositions,refLAB,Name=Value)
[
also returns a color correction matrix computed using a linear least squares
fit, using any combination of input arguments from previous syntaxes.colorValues,colorCorrectionMatrix] = measureColor(___)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
References
[1] Imatest. "Esfr". https://www.imatest.com/mathworks/esfr/.
[2] Calibrite. "ColorChecker Classic". https://calibrite.com/us/product/colorchecker-classic/.






