Functions | |
void | Show_Compressed_Image (HC_KEY key, float *x, float *y, float *z, char *format, int *width, int *height, int *size, void *data) |
void | DShow_Compressed_Image (HC_KEY key, double *x, double *y, double *z, char *format, int *width, int *height, int *size, void *data) |
void | Show_Compressed_Image_Size (HC_KEY key, char *format, int *width, int *height, int *size) |
void Show_Compressed_Image | ( | HC_KEY | key, | |
float * | x, | |||
float * | y, | |||
float * | z, | |||
char * | format, | |||
int * | width, | |||
int * | height, | |||
int * | size, | |||
void * | data | |||
) |
Returns the pixel data associated with provided image key. This API should only be used if the underlying image data is in a compressed form.
key | - Unique numeric identifier pointing to an image in the database. | |
x | - The coordinates of the center of the image (Returned to caller). | |
y | - | |
z | - | |
format | - A description of how data in the data array is packed (Returned to caller). See Insert_Image() for details. | |
width | - The number of columns (Returned to caller). | |
height | - The number of rows (Returned to caller). |
void DShow_Compressed_Image | ( | HC_KEY | key, | |
double * | x, | |||
double * | y, | |||
double * | z, | |||
char * | format, | |||
int * | width, | |||
int * | height, | |||
int * | size, | |||
void * | data | |||
) |
Similar to Show_Compressed_Image(), but operates on double-precision data.
key | - Unique numeric identifier pointing to an image in the database. | |
x | - The coordinates of the center of the image (Returned to caller). | |
y | - | |
z | - | |
format | - A description of how data in the data array is packed (Returned to caller). See Insert_Image() for details. | |
width | - The number of columns (Returned to caller). | |
height | - The number of rows (Returned to caller). |
void Show_Compressed_Image_Size | ( | HC_KEY | key, | |
char * | format, | |||
int * | width, | |||
int * | height, | |||
int * | size | |||
) |
Finds the size of a particular image, This is useful in determining the size of the data structure that must hold data.
key | - Unique numeric identifier pointing to a compressed image in the database. | |
format | - A description of how data in the data array is packed. See Insert_Image. Returned to caller. Passed by reference always. | |
width | - The number of columns in data | |
height | - The number of rows in data | |
data | - The pixel values currently stored in the image referenced by key, encoded according to format. Returned to caller. Passed by reference always. |