skin.export: Turn the output from skin.all into a matrix of median trait...

View source: R/export.R

skin.exportR Documentation

Turn the output from skin.all into a matrix of median trait values

Description

Turn the output from skin.all into a matrix of median trait values

Usage

skin.export(color_list, remove_tag = TRUE, green_thresh = -5, red_thresh = 50)

Arguments

color_list

Output from skin.all function

remove_tag

If TRUE, objects below 'green_thresh' or above 'red_thresh' will be removed from the data before taking median values

green_thresh

Minimum CIELAB green-red value for object data to not be removed

red_thresh

Maximum CIELAB green-red value for object data to not be removed

Value

A matrix of the median values of redness, skinning, and lightness for each image

Examples

  load(system.file("example_data", "skin_exmp.rds", package = "TubAR"))
  skin.export(skin_exmp, remove_tag=TRUE, green_thresh=-5, red_thresh=50)

shannonlabumn/TubAR documentation built on Aug. 14, 2022, 10:48 a.m.