READ_ENVIHDR

版本 1.0.0.0 (2.0 KB) 作者: Ian Howat
Read and return ENVI image file header information.
2.7K 次下载
更新时间 2007/7/26

查看许可证

INFO = READ_ENVIHDR('HDR_FILE') reads the ASCII ENVI-generated image header file and returns all the information in a structure of parameters.

Example:
>> info = read_envihdr('my_envi_image.hdr')
info =
description: [1x101 char]
samples: 658
lines: 749
bands: 3
header_offset: 0
file_type: 'ENVI Standard'
data_type: 4
interleave: 'bsq'
sensor_type: 'Unknown'
byte_order: 0
map_info: [1x1 struct]
projection_info: [1x102 char]
wavelength_units: 'Unknown'
pixel_size: [1x1 struct]
band_names: [1x154 char]

引用格式

Ian Howat (2024). READ_ENVIHDR (https://www.mathworks.com/matlabcentral/fileexchange/15630-read_envihdr), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Import and Export 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

-Fixed problem with reading image coordinates when a point other than the upper left corner is in the header. The fields info.map_info.ulx and uly are now mapx and mapy to reflect this.