GeoCOM Reference Manual
Image Processing – IMG
Leica TPS1200 – Version 1.50
127
14
I
MAGE
P
ROCESSING
–
IMG
14.1
INTRODUCTION
This subsystem enables the capture of Telescopic Camera Images and the configuration of image parameters. There are
two functions available to configure the image parameters and to read the currently defined parameters,
IMG_SetTccConfig and
IMG_GetTccConfig
respectively. One can capture an image by invoking the
IMG_TakeTccImage
command.
Captured images are saved in jpeg compressed format to the Internal Memory or CF card into the \Images directory.
Each file name contains a prefix and a number in the following format: prefix###.jpg (e.g. image024.jpg).
14.2
USAGE
Imaging functionality applicable for TM30 / TS30 only.
In order to use the imaging functionality, make sure that a valid GeoCOM Imaging license key is loaded onto the
instrument. If not available , these functions return error messages.
Note:
Imaging RPC’s require valid GeoCOM imaging license key for successful execution.
14.3
CONSTANTS AND TYPES
Memory device type
enum IMG_MEM_TYPE // MemDeviceType
{
IMG_INTERNAL_MEMORY = 0x0, // internal memory module (optional)
IMG_PC_CARD = 0x1 // external pc card
};
Image Parameters
struct IMG_TCC_CONFIG
{
unsigned long ulImageNumber;
unsigned long ulQuality;
unsigned long ulSubFunctNumber;
char szFileNamePrefix[IMG_MAX_FILE_PREFIX_LEN];
};
Length of file name prefix
const short IMG_MAX_FILE_PREFIX_LEN 20;