Learn R Programming

screenshot (version 0.9.2)

image2gray_matrix: 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)

Value

 An xy dimensional matrix.

Arguments

img

A cimg object.