01 |
READ_TIFF |
|
读取单通道或多通道 TIFF 格式数据,返回图像数组及相关参数。 ----------------------------------------------- Result = READ_TIFF( Filename [, R, G, B] [, CHANNELS=scalarorvector] [, DOT_RANGE=variable] [, GEOTIFF=variable] [, ICC_PROFILE=variable] [, IMAGE_INDEX=value] [, INTERLEAVE={0 | 1 |2}] [, ORIENTATION=variable] [, PHOTOSHOP=variable] [, PLANARCONFIG=variable] [, SUB_RECT=[x, y, width, height]] [, /VERBOSE] ) ----------------------------------------------- ◈ Filename:TIFF 文件名 ◈ GEOTIFF:返回包含 TIFF 数据信息的结构体
|
|
tifarr = READ_TIFF('d:\aa.tif', GEOTIFF=geotag)
;一个象元的经度值: geotag.ModelPixelScaleTag[0] ;一个象元的纬度值: geotag.ModelPixelScaleTag[1] ;最小的经度值: geotag.ModelTiePointTag[3] ;最大的纬度值: geotag.ModelTiePointTag[4]
|
02 |
WRITE_TIFF |
|
写入 TIFF 文件。 ----------------------------------------------- WRITE_TIFF, Filename[, Image] [, /APPEND] [, /BIGTIFF] [, BITS_PER_SAMPLE={1 | 4 | 8}] [, RED, GREEN, BLUE=value] [, /CMYK] [, COMPRESSION={0 | 1 | 2 | 3}] [, DESCRIPTION=string] [, DOCUMENT_NAME=string] [, DOT_RANGE=intarray] [, GEOTIFF=structure] [, /COMPLEX | , /DCOMPLEX | , /DOUBLE | , /L64 | , /LONG | , /SHORT | , /FLOAT] [, ICC_PROFILE=bytearray] [, ORIENTATION=value] [, PHOTOSHOP=array] [, PLANARCONFIG={1 | 2}] [, /SIGNED] [, UNITS={1 | 2 | 3}] [, /VERBOSE] [, XPOSITION=units] [, XRESOL=pixels/inch] [, YPOSITION=units] [, YRESOL=pixels/inch] ----------------------------------------------- ◈ Filename:TIFF 文件名 ◈ GEOTIFF:返回包含 TIFF 数据信息的结构体
|
|
|