>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  IMGOPEN
Libraries

IMGOPEN

IMGOPEN

Name


      IMGOPEN

Purpose


      Prepare a large image to be read.

Category


Calling Sequence


      imgopen, filename, nx, ny

Inputs


      filename = name of image file. in
      nx = number of pixels per image line. in
      ny = number of image lines. in

Keyword Parameters


Keywords


        TYPE=t image data type (def = byte).
          1: byte, 2: integer, 3: long integer,
          4: float, 5: double, 6: complex.
          Strings and structures not allowed.
        OFFSET=off offset in bytes to skip over a header (def=0).
        ERROR=err error flag. 0: OK, -1: file not found,
          -2: parameter value error.
        /LIST list name and size of a currently open image.

Outputs


Common Blocks


      img_com

Notes


      Notes: TYPE is the same numeric value as returned
        by the SIZE function (see manual).
        Image is read by IMGREAD.
        Image must have fixed length records.

Modification History


      Ray Sterner, 12 Mar, 1991
      R. Sterner, 17 Sep, 1991 --- modified common.
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 1991, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us