Learn R Programming

romero.gateway (version 0.4.4)

getPixelValues: Get the pixel values of an Image. An error will be thrown if invalid z, t or c values are specified.

Description

Get the pixel values of an Image. An error will be thrown if invalid z, t or c values are specified.

Usage

getPixelValues(image, z, t, c)

Arguments

image

The image

z

Z plane index (default: 1)

t

T plane index (default: 1)

c

Channel index (default: 1)

Value

The pixel values as two-dimensional array [x][y]

Examples

Run this code
# NOT RUN {
pixel_values <- getPixelValues(image)
# }

Run the code above in your browser using DataLab