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

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

Author

Simon Garnier, garnier@njit.edu

Examples

# TODO