加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

ENVI下BandMath的数据类型转换说明

(2011-01-29 07:35:10)
标签:

杂谈

分类: ENVI/IDL

数据类型

计算函数

缩写

数据范围

每个像元所占字节数

8-bit字节型(Byte)

byte()

B

0-255

1

16-bit整型(Integer)

fix()

 

-32768-32767

2

16-bit无符号整型(Unsigned Int)

unit()

U

0-65535

2

32-bit长整型(Long Integer)

long()

L

大约+/-20亿

4

32-bit无符号长整型(Unsigned Long)

ulong()

UL

0-大约40亿

4

32-bit浮点型(Floating Point)

float()

.(decimal point)

+/-1e38

4

64-bit双精度浮点型(Double Precision)

double()

D

+/-1e308

8

64-bit整型(64-bit Integer)

long64()

LL

大约+/-9e18

8

无符号64-bit整型(Unsigned 64-bit)

ulong64()

ULL

0-大约2e19

8

复数型(Complex)

complex()

 

+/-1e38

8

双精度复数型(Double Complex)

dcomplex()

 

+/-1e308

16

 

数据类型

 

 

计算函数

 

 

缩写

 

 

数据范围

 

 

每个像元所占字节数

 

 

8-bit字节型(Byte

 

 

byte()

 

 

B

 

 

0-255

 

 

1

 

 

16-bit整型(Integer

 

 

fix()

 

 

 

 

 

-32768-32767

 

 

2

 

 

16-bit无符号整型(Unsigned Int

 

 

unit()

 

 

U

 

 

0-65535

 

 

2

 

 

32-bit长整型(Long Integer

 

 

long()

 

 

L

 

 

大约+/-20亿

 

 

4

 

 

32-bit无符号长整型(Unsigned Long

 

 

ulong()

 

 

UL

 

 

0-大约40亿

 

 

4

 

 

32-bit浮点型(Floating Point

 

 

float()

 

 

.decimal point

 

 

+/-1e38

 

 

4

 

 

64-bit双精度浮点型(Double Precision

 

 

double()

 

 

D

 

 

+/-1e308

 

 

8

 

 

64-bit整型(64-bit Integer

 

 

long64()

 

 

LL

 

 

大约+/-9e18

 

 

8

 

 

无符号64-bit整型(Unsigned 64-bit

 

 

ulong64()

 

 

ULL

 

 

0-大约2e19

 

 

8

 

 

复数型(Complex

 

 

complex()

 

 

 

 

 

+/-1e38

 

 

8

 

 

双精度复数型(Double Complex

 

 

dcomplex()

 

 

 

 

 

+/-1e308

 

 

16

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有