Convert cimg class into grayscale xy matrix. Helper function for locate_image(). Use grayscale to Speed up and to simplify code.
Source: R/locate_image.R
image2gray_matrix.RdConvert cimg class into grayscale xy matrix.
Helper function for locate_image().
Use grayscale to Speed up and to simplify code.