SimpleOCR:SDK Functions – GetImage

You are here:
< All Topics

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);
Previous SimpleOCR:SDK Functions – EraseBlackBordersImg
Next SimpleOCR:SDK Functions – GetImgBitmap
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top