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 |