SimpleOCR:SDK Functions – GetImage
IMG * GetImage(const SETOFIMG * set, int index)
Gets a pointer to a given image in a set of images.
Return Value
A pointer to the image of order index in the set.
Parameters
set
A pointer to a set of images of type SETOFIMG
index
Order of the image you want to access. The first image is at index 0.
Example
SETOFIMG *doc;
IMG *img;
int nb;
// Creates a set of images
...
// Let's get the last image
img=GetImage(set,(set)-1);