getRedChannel

format

double[][] getRedChannel()

description

Retrieves the contents of the image's red channel as an array of pixel values.

parameters

none

returns

a two-dimensional array of double-precision floating-point pixel values

throws

The getRedChannel() method does not throw any exceptions.