[mmFind] [Up] [mmRoi] Image Information and Manipulation

mmGetroi
Get specified region of interest (subimage).

Synopsis

Image mmGetroi ( const Image& f , const Image& X1 , const Image& S );

Input

f Image [ Gray-scale (uint8 or uint16) or binary image ]

X1 Image [ Gray-scale (uint8 or uint16) or binary image ]

Start of rectangle (offset).

S Image [ Gray-scale (uint8 or uint16) or binary image ]

Size of rectangle. (zero in any dimension means the last element in that dimension)

Output

Y Image [ Gray-scale (uint8 or uint16) or binary image ]

Description

Get a region of interest from an image. The parameters are the offset coordinates of the left hand corner of the image X1 as [x1 y1] and the rectangle size. If any size value is is zero, it is treated as size of the offset until the last element of that coordinate.

[mmFind] [Up] [mmRoi]