% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectra-munsell.R
\name{predict_lab_from_spectra}
\alias{predict_lab_from_spectra}
\title{Predict CIE Lab from Vis-NIR reflectance spectra}
\usage{
predict_lab_from_spectra(spectra, wavelengths)
}
\arguments{
\item{spectra}{Reflectance values, in 0..1 or 0..100. A numeric
vector (one sample), a numeric matrix (rows = samples,
cols = wavelengths) or a data.frame.}

\item{wavelengths}{Numeric vector of the wavelengths (in nm)
corresponding to the columns of \code{spectra}. Must cover
at least 400-700 nm; values outside 380-780 are ignored.}
}
\value{
A data.frame with columns \code{L}, \code{a}, \code{b}.
}
\description{
Convenience wrapper: \code{\link{predict_xyz_from_spectra}}
followed by the standard CIE Lab transform under D65 / 2-degree
observer.
}
