R/fct_detect.R
to_gray_matrix.Rd
Convert a magick image to a grayscale integer matrix
to_gray_matrix(img)
A magick image.
An integer matrix indexed [x, y] (width by height), values 0-255.
[x, y]