Calibrate images using ColorChecker.
colorChecker(
IDlist,
prepath = NULL,
extension = NULL,
colorCheckerType = "X-Rite",
fixedCorners = FALSE,
patchSize = 0.6,
colorCheckerXY = NULL,
fixedModel = NULL,
resampleFactor = NULL,
adjustCoords = FALSE
)
Calibrated image(s) ('filename_calibrated.jpg')
List of sample IDs.
Prepath (default = NULL).
Extension (default = NULL).
Type of colorChecker. Options are 'X-Rite ' and 'ColorGauge Micro Analyzer' (default = 'X-Rite ').
Specify whether to set the coordinates of the colorChecker corners for every image (default = FALSE).
Proportion of ColorChecker patch that will be used for observed RGB values (default = 0.6).
Landmark list of colorChecker corners as returned
by makeList
. The image will not be plotted.
Precalculated model to adjust colors. Should be a listof a model for R, G and B (the colorChecker function gives as output such a list obtained from the last image in the analysis).
Integer for downsampling used by redRes
.
Adjust landmark coordinates in case they are reversed compared to pixel coordinates (default = FALSE).