IDL image dispaly in window

本文介绍了IDL中的基本图像显示命令,如window、wset、wshow及wdelete等用于窗口操作的指令,以及tv和tvscl用于图像显示的基本命令。此外还详细描述了MOUSSE版本的增强命令如chan、cdel、ctv、ctvscl等,这些命令提供了诸如自动调整窗口大小以匹配图像尺寸等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Image Display Commands:

The basic IDL direct graphics routines for opening, displaying, and adjusting image display windows are  window , which creates a new window and sizes it;  wset , which defines the "current" window; and  wshow , which reveals (or hides) the current window.  wdelete  deletes a window. These routines are used in conjunction with the two basic image display routines  tv  and  tvscl .

  • For instance, to open a 512x512 window with index number  9 at the lower right of your terminal display:

              
                  window,9,xpos=750,ypos=50,xsize=512,ysize=512,$        
                     title='IDL IMAGE WINDOW'
                  wset,9
                  wshow
    

    (All of the arguments in the  window routine are optional.)

    The basic  tv and  tvscl commands do not adjust the size of the current window to the size of the displayed array.

The routines  chan,cdel,ctv,ctvscl  described below are  MOUSSE versions  of the intrinsic IDL windowing/display routines. They offer important convenience features that make work with images faster (e.g. rescaling of window sizes to the image size, combination of the window set and show functions, arbitrary min/max values for the display, etc.). These routines use special common blocks, and to initialize those you must run the Mousse Startup File  (see Appendix C). The descriptions below are for this set of substitutes for the intrinsic routines.

    • Note:  ctv and  ctvscl are intended for 8-bit pseudo-color or 24-bit emulated pseudo-color displays only. They do  not support true-color displays. If you want to display intrinsically true-color images, you must use  tv and tvscl.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值