colorChecker {patternize}R Documentation

Calibrate images using ColorChecker.

Description

Calibrate images using ColorChecker.

Usage

colorChecker(
  IDlist,
  prepath = NULL,
  extension = NULL,
  colorCheckerType = "X-Rite",
  fixedCorners = FALSE,
  patchSize = 0.6,
  colorCheckerXY = NULL,
  fixedModel = NULL,
  resampleFactor = NULL,
  adjustCoords = FALSE
)

Arguments

IDlist

List of sample IDs.

prepath

Prepath (default = NULL).

extension

Extension (default = NULL).

colorCheckerType

Type of colorChecker. Options are 'X-Rite ' and 'ColorGauge Micro Analyzer' (default = 'X-Rite ').

fixedCorners

Specify whether to set the coordinates of the colorChecker corners for every image (default = FALSE).

patchSize

Proportion of ColorChecker patch that will be used for observed RGB values (default = 0.6).

colorCheckerXY

Landmark list of colorChecker corners as returned by makeList. The image will not be plotted.

fixedModel

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).

resampleFactor

Integer for downsampling used by redRes.

adjustCoords

Adjust landmark coordinates in case they are reversed compared to pixel coordinates (default = FALSE).

Value

Calibrated image(s) ('filename_calibrated.jpg')


[Package patternize version 0.0.5 Index]