powered by
Conversion of RGB to Lab colour type
RGB_to_Lab(input_data)
a 3-dimensional array (RGB image)
Meaning: RGB (Red-Green-Blue) to LAB (Lightness, A-colour-dimension, B-colour-dimension) colour conversion
https://ivrl.epfl.ch/research-2/research-current/research-superpixels/research-snic_superpixels/
# NOT RUN { library(OpenImageR) set.seed(1) array_3d = array(sample(1:255, 675, replace = TRUE), c(15, 15, 3)) res = RGB_to_Lab(array_3d) # }
Run the code above in your browser using DataLab