User's Guide

GETIMGSZ

Return image size and data type to TAE procedure

Function:

GETIMGSZ returns the number of bands, lines, and pixels per line, and the LAS data-type code, for an LAS image.

Example:

  1. LAS> getimgsz in=@in nb=@nb nl=@nl ns=@ns dt=@dt

    The size information returned by LAS support function c_getin() for the image described by local variable "in" is returned in local variables "nb", "nl", "ns", and "dt", all of type integer. The value returned in "dt" is the numeric data type code as defined in $LASINCLUDE/worgen.h.

Description/Algorithm:

GETIMGSZ uses the LAS support routine c_getddr() to obtain the number of bands, number of lines, number of pixels per line, and data-type code for the input image. These values are then returned in the specified TAE arguments.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [getimgsz-fatal] "Aborting on fatal error"

    A fatal error was encountered while executing a support-library function; the error is described in the message preceding this one.

User Notes:

    None.