NAME xm_rsat_image - RGB Raster format for the xmap8 program SYNOPSIS xm_sat_image - Input File Format DESCRIPTION The raster file is a 2D or RGB raster image file. (There will be several formats available for input.) For now files are read in in ASCII format defined below. FORMAT Image Data may be imported into Xmap8 via either simple ascii files (format below) --------------------------------------------------------------- Ascii image input: The files are arranged with a simple header line describing a corner of the image and the X-Y dimensions of each block. Then an RGB pixel is read in in order from the corner across each row. NX = number in X direction (columns, horizontal) NY = number in Y direction (rows, vertical) lat = latitude of corner, positive north lon = longitude of corner, positive east x,y = (x and y of corner in km) ignore these for now DX = delta X in km DY = delta Y in km CO = corner designation The corner designation is a 2 letter code : UL = Upper Left LL = Lower Left UR = Upper Right LR = Lower Right header format example: # NX NY lat lon x y Dx Dy CO -------------------------- EXAMPLE FILE INPUT ------------------------- # NX NY lat lon x y Dx Dy CO R(1) G(1) B(1) R(2) G(2) B(2) R(NX*NY) G(NX*NY) B(NX*NY) -------------------------- EXAMPLE FILE INPUT ------------------------- # 305 367 36.087334 -117.849266 0.000000 0.000000 0.030000 0.030000 UL 236 241 245 185 209 223 150 171 170 150 184 206 134 157 201 142 157 187 118 120 142 142 157 150 159 171 194 SEE ALSO xmap8 xm_color xm_hypo xm_map xm_menu xm_origin xm_points xm_raster xm_station xm_well xm_wire xm_xsec xm_ellipse
REFERENCES see article by J. M. Lees: Lees, J. M. (1995) Xmap8: Three-dimensional GIS for geology and geophysics, Seismological Research Letters: 66, 33-37.
Prof. Jonathan M. Lees Yale Geology Dept. P.O. Box 208109 New Haven, CT 06520-8109 (203)432-6947 lees@love.geology.yale.edu