itrax_munsell: Convert an Itrax Image File into Munsell Colour

View source: R/itrax_munsell.R

itrax_munsellR Documentation

Convert an Itrax Image File into Munsell Colour

Description

Reads a colour calibrated Itrax image file and processes it to estimate Munsell colour.

Usage

itrax_munsell(image, proportion = 0.1)

Arguments

image

defines the name of the image file imported using 'itrax_image()'. It is essential that the image has been colour calibrated using a colour card or other method.

proportion

defines the width down the centre of the image to use for processing

Value

a table of values

Examples

## Not run: 
itrax_image(file = system.file("extdata",
                              "CD166_19_S1_optical_lowres.tif",
                              package = "itraxR",
                              mustWork = TRUE),
           meta = system.file("extdata",
                              "CD166_19_S1_xrf_document.txt",
                              package = "itraxR",
                              mustWork = TRUE),
           plot = FALSE) %>%
 magrittr::extract2(1) %>%
 itrax_munsell() %>%
 dplyr::slice_sample(n = 10)
 
## End(Not run)



itraxR documentation built on July 26, 2023, 5:48 p.m.

Related to itrax_munsell in itraxR...