Ref_2_Lab: Ref_2_Lab

View source: R/Ref_2_Lab.R

Ref_2_LabR Documentation

Ref_2_Lab

Description

Function to convert reflectance spectra to CIELab values

Usage

Ref_2_Lab(wS, S)

Arguments

wS

wavelenth vector

S

matrix of reflectance spectra. One spectrum per line. Number of columns should match length(wS)

Value

A matrix of dimension (nrow(S),3) where the columns are L, a and b value, one row per sample


PannetonB/inspectrar documentation built on Feb. 4, 2023, 1:57 p.m.