Learn R Programming

Rvision (version 0.3.5)

subImage: Extract Subimage

Description

subImage extracts a portion of an Image and returns it as an Image object.

Usage

subImage(image, x, y, width, height)

Arguments

image

An Image object.

x, y

The coordinates of the bottom-left corner of the subimage within the original image.

width

The width of the subimage.

height

The height of the subimage.

Value

An Image object.

See Also

Image

Examples

Run this code
# NOT RUN {
# TODO

# }

Run the code above in your browser using DataLab