||
ENVI_ENTER_DATA
This procedure is used to enter image data in memory into ENVI. The individual images appear as bands in the Available Bands List and are available for display or use by other ENVI functions. ENVI_ENTER_DATA internally calls ENVI_SETUP_HEAD and registers the bands in the available bands list. Items entered using ENVI_ENTER_DATA are considered IN_MEMORY items.
利用该函数可以将影像进入计算机内存,开始处理,也可以获得fid。
This procedure is used to manage ENVI files in memory and on disk.
Syntax
ENVI_FILE_MNG [, /DELETE], ID=file ID, /REMOVE
Set this keyword to delete the specified file from the hard disk.
Use this keyword to specify the file ID for the open file. This is the value returned from the keyword R_FID in the ENVI_OPEN_FILE procedure. FID is a long integer with a value greater than 0.
Set this keyword to remove the specified file from within ENVI.
Example
Remove the file specified by FID from ENVI and delete it from the disk.
ENVI_FILE_MNG, id=fid, /REMOVE, /DELETE
该函数,避免处理的影像出现在ENVI Band List里,加快计算速度。
STRMID
The STRMID function extracts a substring from a string expression. The result of the function is a string of Length characters taken from Expression , starting at character position First_Character .
The expression from which the substring is to be extracted. If this argument is not a string, it is converted using IDL's default formatting rules. If Expression is an array, the result is an array with the same structure, where each element contains the substring of the corresponding Expression element.
If the variable B contains the string "IDL is fun", the substring "is" can be extracted and stored in the variable C with the command:
用于删减字符串,可用于文件批量重命名。
不断添加中……
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 18:16
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社