[ Home | User Manual | Design | IDL | Links ]
DIVA_IMAGE is a named structure....It is automatically defined in the "diva_image__define" procedure in "diva_image.pro". Real values are assigned in "diva_image_init" (in the same file), a function which is called after an image has been read.
2. Structure TagsThe following table lists the tag names of DIVA_IMAGE....
TAG NAME | TYPE | DESCRIPTION |
file_info | structure | a structure containing the filename and it's derivatives - see here for more details |
pimage | pointer | a pointer to the image - this image is displayed in the main draw area |
o_pimage | pointer | a pointer to the image - a backup copy |
p_pimage | pointer | a pointer to the preview image - this image is displayed in the preview draw area |
s_pimage | pointer | a pointer to the small image - this image is displayed in the DIVA_MATH draw areas |
xsize | the image width | |
ysize | the image height | |
prev_xsize | the preview image width | |
prev_ysize | the preview image height | |
n_dim | number of bands - 1 for greyscale, and 3 for RGB images | |
n_byt | number of bytes per pixel | |
i_mean | the mean value of all the pixel values | |
i_variance | the variance of all the pixel values | |
i_stddev | the standard deviation of all the pixel values - sqrt(variance) | |
i_max | the maximum pixel value | |
i_min | the minimum pixel value | |
ops_name | ||
ops_bshift | ||
mfile_name | ||
mfile_name_str | ||
mfile_date | ||
mfile_time | ||
mfile_pos_from | position of first byte to read | |
mfile_pos_to | position of last byte to read | |
mfile_size | size of image (in bytes) - calculated as mfile_size = [xsize * ysize * n_dim * n_byt] | |
diva_n_images | the number of images in the selected file (1 for single image files) |
[
Home |
User Manual |
Design |
IDL |
Links ]
Copyright © 2003 John Rainnie
Last updated January 2003