image2gray_matrix {screenshot}R Documentation

Convert cimg class into grayscale xy matrix. Helper function for locate_image(). Use grayscale to Speed up and to simplify code.

Description

Convert cimg class into grayscale xy matrix. Helper function for locate_image(). Use grayscale to Speed up and to simplify code.

Usage

image2gray_matrix(img)

Arguments

img

A cimg object.

Value

 An xy dimensional matrix.

[Package screenshot version 0.9.1 Index]