University of Illinois at Urbana-Champaign

emcCameraReacquireImage

NAME

emcCameraReacquireImage - Get a new image from the camera

SYNOPSIS

#include "emc.h"
int emcCameraReacquireImage(EM *em, int id, EMImage *image, int type);

DESCRIPTION

emcCameraReacquireImage() acquires an image from the digital camera associated with camera identification number id and place resulting image in the data structure passed.

*em
points to an EM control and communications structure that was returned by the emcOpen() call.
id
camera identification number which was returned by the emcCameraOpen() call.
*image
pointer to the image to overwrite with the new image acquisition.
type
type of image to acquire:
EMC_SINT8 1-byte signed integers
EMC_SINT32 4-byte signed integers
EMC_UINT8 1-byte unsigned integers
EMC_UINT16 2-byte unsigned integers
EMC_UINT32 4-byte unsigned integers
EMC_FLOAT32 4-byte floats
EMC_FLOAT64 8-byte floats

DIAGNOSTICS

EMC_OK (0) Success
EMC_ERROR (-1) Error

PREVIOUS Page 20 of 54 NEXT