注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

面朝大海 春暖花开

一点心得,转载本博客文章,请注明转帖,谢谢!

 
 
 

日志

 
 
关于我

中国科学院博士 主要从事遥感机理、定量反演、数据处理以及GIS应用研究。ArcGIS、Envi 、ERDAS、Ecognition软件、IDL语言、6S、SAIL

网易考拉推荐

IDL中数据的类型及其创建方式  

2012-12-09 18:36:53|  分类: idl |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
在 IDL中,其数据类型及其定义方式如下
Data Type
Description
Creation
Routines

Byte

An 8-bit unsigned integer ranging in value from 0 to 255. Pixels in images are commonly represented as byte data.

a = 5B   a = BYTE(5) 

BYTE

BYTARR

Integer

A 16-bit signed integer ranging from -32,768 to +32,767.

b = 0   b = 0S   b = FIX(0) 

FIX

INTARR

Unsigned Integer

A 16-bit unsigned integer ranging from 0 to 65535

c = 0U   c = UINT(0) 

UINT

UINTARR

Long

A 32-bit signed integer ranging in value from approximately minus two billion to plus two billion.

d = 0L   d = LONG(0) 

LONG

LONARR

Unsigned Long

A 32-bit unsigned integer ranging in value from 0 to approximately four billion.

e = 0UL   e = ULONG(0) 

ULONG

ULONARR

64-bit Long

A 64-bit signed integer ranging in value from –9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.

f = 0LL   f = LONG64(0) 

LONG64

LON64ARR

64-bit Unsigned Long

A 64-bit unsigned integer ranging in value from 0 to 18,446,744,073,709,551,615.

g = 0ULL   g = ULONG64(0) 

ULONG64

ULON64ARR

Floating-point

A 32-bit, single-precision, floating-point number in the range of ±1038, with approximately six or seven decimal places of significance.

h = 0.0   h = FLOAT(0) 

FLOAT

FLTARR

Double-precision

A 64-bit, double-precision, floating-point number in the range of ±10308 with approximately 14 decimal places of significance.

i = 0.0D   i = DOUBLE(0) 

DOUBLE

DBLARR

Complex

A real-imaginary pair of single-precision, floating-point numbers. Complex numbers are useful for signal processing and frequency domain filtering.

j = $ COMPLEX(1.0, 0.0)   j = COMPLEX(1,0) 

COMPLEX

COMPLEXARR

Double-precision complex

A real-imaginary pair of double-precision, floating-point numbers.

k = $ DCOMPLEX(1.0, 0.0) 

DCOMPLEX

DCOMPLEXARR

String

A sequence of characters, from 0 to 2147483647 (2.1 GB) characters in length, which is interpreted as text.

l = 'Hello'   l = $ STRING([72B, 101B, $  108B, 108B, 111B]) 

STRING

STRARR

  评论这张
 
阅读(947)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017