亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tvimage.pro

?? IDL中用于顯示二維圖像的函數
?? PRO
字號:
;+
; NAME:
;     TVIMAGE
;
; PURPOSE:
;     This purpose of TVIMAGE is to enable the TV command in IDL
;     to be a completely device-independent and color-decomposition-
;     state independent command. On 24-bit displays color decomposition
;     is always turned off for 8-bit images and on for 24-bit images.
;     The color decomposition state is restored for those versions of
;     IDL that support it (> 5.2). Moreover, TVIMAGE adds features
;     that TV lacks. For example, images can be positioned in windows
;     using the POSITION keyword like other IDL graphics commands.
;     TVIMAGE also supports the !P.MULTI system variable, unlike the
;     TV command. TVIMAGE was written to work especially well in
;     resizeable graphics windows. Note that if you wish to preserve
;     the aspect ratio of images in resizeable windows, you should set
;     the KEEP_ASPECT_RATIO keyword, described below. TVIMAGE works
;     equally well on the display, in the PostScript device, and in
;     the Printer and Z-Graphics Buffer devices. The TRUE keyword is
;     set automatically to the correct value for 24-bit images, so you
;     don't need to specify it when using TVIMAGE.
;
; AUTHOR:
;       FANNING SOFTWARE CONSULTING:
;       David Fanning, Ph.D.
;       1645 Sheely Drive
;       Fort Collins, CO 80526 USA
;       Phone: 970-221-0438
;       E-mail: davidf@dfanning.com
;       Coyote's Guide to IDL Programming: http://www.dfanning.com/
;
; CATEGORY:
;     Graphics display.
;
; CALLING SEQUENCE:
;
;     TVIMAGE, image
;
; INPUTS:
;     image:    A 2D or 3D image array. It should be byte data.
;
;       x  :    The X position of the lower-left corner of the image.
;               This parameter is only recognized if the TV keyword is set.
;               If the Y position is not used, X is taken to be the image
;               "position" in the window. See the TV command documenation
;               for details.
;
;       y  :    The Y position of the lower-left corner of the image.
;               This parameter is only recognized if the TV keyword is set.
;
; KEYWORD PARAMETERS:
;
;     BACKGROUND:   This keyword specifies the background color. Note that
;               the keyword ONLY has effect if the ERASE keyword is also
;               set or !P.MULTI is set to multiple plots and TVIMAGE is
;               used to place the *first* plot.
;
;     ERASE:    If this keyword is set an ERASE command is issued
;               before the image is displayed. Note that the ERASE
;               command puts the image on a new page in PostScript
;               output.
;
;     _EXTRA:   This keyword picks up any TV keywords you wish to use.
;
;     HALF_HALF: If set, will tell CONGRID to extrapolate a *half* row
;               and column on either side, rather than the default of
;               one full row/column at the ends of the array.  If you
;               are interpolating images with few rows, then the
;               output will be more consistent with this technique.
;               This keyword is intended as a replacement for
;               MINUS_ONE, and both keywords probably should not be
;               used in the same call to CONGRID.
;
;     KEEP_ASPECT_RATIO: Normally, the image will be resized to fit the
;               specified position in the window. If you prefer, you can
;               force the image to maintain its aspect ratio in the window
;               (although not its natural size) by setting this keyword.
;               The image width is fitted first. If, after setting the
;               image width, the image height is too big for the window,
;               then the image height is fitted into the window. The
;               appropriate values of the POSITION keyword are honored
;               during this fitting process. Once a fit is made, the
;               POSITION coordiates are re-calculated to center the image
;               in the window. You can recover these new position coordinates
;               as the output from the POSITION keyword.
;
;     MARGIN:   A single value, expressed as a normalized coordinate, that
;               can easily be used to calculate a position in the window.
;               The margin is used to calculate a POSITION that gives
;               the image an equal margin around the edge of the window.
;               The margin must be a number in the range 0.0 to 0.333. This
;               keyword is ignored if the POSITION or OVERPLOT keywords are
;               used. It is also ignormed when TVImage is executed in a
;               multi-plot window, EXCEPT if it's value is zero. In this
;               special case, the image will be drawn into its position in
;               the multi-plot window with no margins whatsoever. (The
;               default is to have a slight margin about the image to separate
;               it from other images or graphics.
;
;
;     MINUS_ONE: The value of this keyword is passed along to the CONGRID
;               command. It prevents CONGRID from adding an extra row and
;               column to the resulting array, which can be a problem with
;               small image arrays.
;
;     NOINTERPOLATION: Setting this keyword disables the default bilinear
;               interpolation done to the image when it is resized. Nearest
;               neighbor interpolation is done instead. This is preferred
;               when you do not wish to change the pixel values of the image.
;               This keyword must be set, for example, when you are displaying
;               GIF files that come with their own non-IDL color table vectors.
;
;     NORMAL:   Setting this keyword means image position coordinates x and y
;               are interpreted as being in normalized coordinates. This keyword
;               is only valid if the TV keyword is set.
;
;     OVERPLOT: Setting this keyword causes the POSITION keyword to be ignored
;               and the image is positioned in the location established by the
;               last graphics command. For example:
;
;                    Plot, Findgen(11), Position=[0.1, 0.3, 0.8, 0.95]
;                    TVImage, image, /Overplot
;
;     POSITION: The location of the image in the output window. This is
;               a four-element floating array of normalized coordinates of
;               the type given by !P.POSITION or the POSITION keyword to
;               other IDL graphics commands. The form is [x0, y0, x1, y1].
;               The default is [0.0, 0.0, 1.0, 1.0]. Note that this can
;               be an output parameter if the KEEP_ASPECT_RATIO keyword is
;               used.
;
;     TV:       Setting this keyword makes the TVIMAGE command work much
;               like the TV command, although better. That is to say, it
;               will still set the correct DECOMPOSED state depending upon
;               the kind of image to be displayed (8-bit or 24-bit). It will
;               also allow the image to be "positioned" in the window by
;               specifying the coordinates of the lower-left corner of the
;               image. The NORMAL keyword is activated when the TV keyword
;               is set, which will indicate that the position coordinates
;               are given in normalized coordinates rather than device
;               coordinates.
;
;               Setting this keyword will ensure that the keywords
;               KEEP_ASPECT_RATIO, MARGIN, MINUS_ONE, MULTI, and POSITION
;               are ignored.
;
; OUTPUTS:
;     None.
;
; SIDE EFFECTS:
;     Unless the KEEP_ASPECT_RATIO keyword is set, the displayed image
;     may not have the same aspect ratio as the input data set.
;
; RESTRICTIONS:
;     If the POSITION keyword and the KEEP_ASPECT_RATIO keyword are
;     used together, there is an excellent chance the POSITION
;     parameters will change. If the POSITION is passed in as a
;     variable, the new positions will be returned in the same variable
;     as an output parameter.
;
;     If a 24-bit image is displayed on an 8-bit display, the
;     24-bit image must be converted to an 8-bit image and the
;     appropriate color table vectors. This is done with the COLOR_QUAN
;     function. The TVIMAGE command will load the color table vectors
;     and set the NOINTERPOLATION keyword if this is done. Note that the
;     resulting color table vectors are normally incompatible with other
;     IDL-supplied color tables. Hence, other graphics windows open at
;     the time the image is display are likely to look strange.
;
; EXAMPLE:
;     To display an image with a contour plot on top of it, type:
;
;        filename = FILEPATH(SUBDIR=['examples','data'], 'worldelv.dat')
;        image = BYTARR(360,360)
;        OPENR, lun, filename, /GET_LUN
;        READU, lun, image
;        FREE_LUN, lun
;
;        TVIMAGE, image, POSITION=thisPosition, /KEEP_ASPECT_RATIO
;        CONTOUR, image, POSITION=thisPosition, /NOERASE, XSTYLE=1, $
;            YSTYLE=1, XRANGE=[0,360], YRANGE=[0,360], NLEVELS=10
;
;     To display four images in a window without spacing between them:
;
;     !P.Multi=[0,2,2]
;     TVImage, image, Margin=0
;     TVImage, image, Margin=0
;     TVImage, image, Margin=0
;     TVImage, image, Margin=0
;     !P.Multi = 0
;
; MODIFICATION HISTORY:
;      Written by:     David Fanning, 20 NOV 1996.
;      Fixed a small bug with the resizing of the image. 17 Feb 1997. DWF.
;      Removed BOTTOM and NCOLORS keywords. This reflects my growing belief
;         that this program should act more like TV and less like a "color
;         aware" application. I leave "color awareness" to the program
;         using TVIMAGE. Added 24-bit image capability. 15 April 1997. DWF.
;      Fixed a small bug that prevented this program from working in the
;          Z-buffer. 17 April 1997. DWF.
;      Fixed a subtle bug that caused me to think I was going crazy!
;          Lession learned: Be sure you know the *current* graphics
;          window! 17 April 1997. DWF.
;      Added support for the PRINTER device. 25 June 1997. DWF.
;      Extensive modifications. 27 Oct 1997. DWF
;          1) Removed PRINTER support, which didn't work as expected.
;          2) Modified Keep_Aspect_Ratio code to work with POSITION keyword.
;          3) Added check for window-able devices (!D.Flags AND 256).
;          4) Modified PostScript color handling.
;      Craig Markwart points out that Congrid adds an extra row and column
;          onto an array. When viewing small images (e.g., 20x20) this can be
;          a problem. Added a Minus_One keyword whose value can be passed
;          along to the Congrid keyword of the same name. 28 Oct 1997. DWF
;      Changed default POSITION to fill entire window. 30 July 1998. DWF.
;      Made sure color decomposition is OFF for 2D images. 6 Aug 1998. DWF.
;      Added limited PRINTER portrait mode support. The correct aspect ratio
;          of the image is always maintained when outputting to the
;          PRINTER device and POSITION coordinates are ignored. 6 Aug 1998. DWF
;      Removed 6 August 98 fixes (Device, Decomposed=0) after realizing that
;          they interfere with operation in the Z-graphics buffer. 9 Oct 1998. DWF
;      Added a MARGIN keyword. 18 Oct 1998. DWF.
;      Re-established Device, Decomposed=0 keyword for devices that
;         support it. 18 Oct 1998. DWF.
;      Added support for the !P.Multi system variable. 3 March 99. DWF
;      Added DEVICE, DECOMPOSED=1 command for all 24-bit images. 2 April 99. DWF.
;      Added ability to preserve DECOMPOSED state for IDL 5.2 and higher. 4 April 99. DWF.
;      Added TV keyword to allow TVIMAGE to work like the TV command. 11 May 99. DWF.
;      Added the OVERPLOT keyword to allow plotting on POSITION coordinates
;         estabished by the preceding graphics command. 11 Oct 99. DWF.
;      Added automatic recognition of !P.Multi. Setting MULTI keyword is no
;         longer required. 18 Nov 99. DWF.
;      Added NOINTERPOLATION keyword so that nearest neighbor interpolation
;         is performed rather than bilinear. 3 Dec 99. DWF
;      Changed ON_ERROR condition from 1 to 2. 19 Dec 99. DWF.
;      Added Craig Markwardt's CMCongrid program and removed RSI's. 24 Feb 2000. DWF.
;      Added HALF_HALF keyword to support CMCONGRID. 24 Feb 2000. DWF.
;      Fixed a small problem with image start position by adding ROUND function. 19 March 2000. DWF.
;      Updated the PRINTER device code to take advantage of available keywords. 2 April 2000. DWF.
;      Reorganized the code to handle 24-bit images on 8-bit displays better. 2 April 2000. DWF.
;      Added BACKGROUND keyword. 20 April 2000. DWF.
;      Fixed a small problem in where the ERASE was occuring. 6 May 2000. DWF.
;      Rearranged the PLOT part of code to occur before decomposition state
;         is changed to fix Background color bug in multiple plots. 23 Sept 2000. DWF.
;      Removed MULTI keyword, which is no longer needed. 23 Sept 2000. DWF.
;      Fixed a small problem with handling images that are slices from 3D image cubes. 5 Oct 2000. DWF.
;      Added fix for brain-dead Macs from Ben Tupper that restores Macs ability to
;         display images. 8 June 2001. DWF.
;      Fixed small problem with multiple plots and map projections. 29 June 2003. DWF.
;      Converted all array subscripts to square brackets. 29 June 2003. DWF.
;      Removed obsolete STR_SEP and replaced with STRSPLIT. 27 Oct 2004. DWF.
;      Small modification at suggestion of Karsten Rodenacker to increase size of
;         images in !P.MULTI mode. 8 December 2004. DWF.
;      Minor modifications on Karsten Rodenacker's own account concerning margination
;         and TV behaviour. 8 December 2004. KaRo
;      There was a small inconsistency in how the image was resized for PostScript as
;         opposed to the display, which could occasionally result in a small black line
;         to the right of the image. This is now handled consistently. 3 January 2007. DWF.
;-
;
;###########################################################################
;
; LICENSE
;
; This software is OSI Certified Open Source Software.
; OSI Certified is a certification mark of the Open Source Initiative.
;
; Copyright 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
毛片av一区二区| 欧美另类变人与禽xxxxx| 欧美在线短视频| www亚洲一区| 亚洲电影一区二区三区| 国产一区在线观看视频| 日本高清不卡一区| 国产亚洲1区2区3区| 日本伊人色综合网| 91黄色小视频| 中文字幕国产一区| 黑人精品欧美一区二区蜜桃 | 亚洲综合男人的天堂| 黑人巨大精品欧美黑白配亚洲| 色久优优欧美色久优优| 中文字幕电影一区| 国产精品亚洲综合一区在线观看| 欧美日韩亚洲综合| 亚洲一区在线观看视频| a级高清视频欧美日韩| 久久久久久一级片| 国产乱码一区二区三区| 日韩欧美视频在线 | 亚洲精品视频在线观看网站| 国内精品免费**视频| 91精品蜜臀在线一区尤物| 一级精品视频在线观看宜春院| 成人18精品视频| 国产精品美女www爽爽爽| 大陆成人av片| 国产精品久久久久永久免费观看| 国产69精品久久99不卡| 久久久美女毛片| 国产成人精品免费网站| 国产精品美女久久久久久久| 丁香激情综合国产| 中文字幕在线不卡一区| 91美女蜜桃在线| 亚洲成人激情自拍| 91.com视频| 国产一区二区三区四 | 欧美一区二区三区四区高清| 婷婷激情综合网| 日韩一区二区三区四区五区六区| 日本不卡一区二区三区高清视频| 欧美日韩视频在线第一区| 亚洲成a人v欧美综合天堂下载| 欧美日韩国产三级| 老司机免费视频一区二区三区| 欧美va在线播放| 丰满白嫩尤物一区二区| 亚洲三级在线播放| 欧美精品久久99久久在免费线| 免费看欧美美女黄的网站| 日韩欧美国产wwwww| 国产成人在线视频网址| 亚洲免费伊人电影| 91精品欧美综合在线观看最新 | 97久久久精品综合88久久| 美洲天堂一区二卡三卡四卡视频| 91精品国产91久久综合桃花| 蜜臀av性久久久久蜜臀aⅴ流畅| 久久久久国产精品麻豆 | 国产一区二区三区免费观看| 中文字幕亚洲精品在线观看| 欧美系列在线观看| 久久99精品久久久久久动态图 | 国产三级三级三级精品8ⅰ区| 成人免费精品视频| 日韩av不卡在线观看| 《视频一区视频二区| 欧美男女性生活在线直播观看| 国模套图日韩精品一区二区| 成人欧美一区二区三区视频网页| 制服丝袜在线91| 成人午夜精品在线| 免费看日韩精品| 一区二区国产盗摄色噜噜| 欧美电视剧免费全集观看| 91福利区一区二区三区| 国产乱码精品1区2区3区| 亚洲aⅴ怡春院| 最新热久久免费视频| 欧美大片一区二区| 欧美日韩视频不卡| 91日韩在线专区| 国产成人在线免费观看| 免费久久精品视频| 午夜精品视频一区| 亚洲女人的天堂| 欧美激情在线一区二区| 日韩欧美国产综合| 制服丝袜中文字幕亚洲| 91精彩视频在线观看| 成人av电影免费在线播放| 国产在线精品一区二区夜色| 一区二区三区精品在线| 国产精品的网站| 日本一区二区电影| 久久综合久久鬼色| 日韩精品自拍偷拍| 欧美日韩精品一区视频| 91电影在线观看| 91视频免费观看| 91蝌蚪porny九色| 不卡在线观看av| av高清久久久| 99精品一区二区三区| 国产成人av电影在线| 国产成人啪午夜精品网站男同| 麻豆精品在线视频| 日韩福利视频导航| 免费观看久久久4p| 久草精品在线观看| 国模冰冰炮一区二区| 国产在线精品视频| 国产麻豆视频一区二区| 国产不卡高清在线观看视频| 国产精品一区二区在线观看不卡 | 国产精品黄色在线观看| 欧美国产精品中文字幕| 中文字幕av一区二区三区免费看| 久久精品免视看| 欧美极品美女视频| 亚洲欧美色图小说| 亚洲成人免费视| 久久国产精品99精品国产| 九一久久久久久| 成人小视频在线| 91在线国产观看| 欧美吞精做爰啪啪高潮| 在线电影欧美成精品| 精品99久久久久久| 国产精品人成在线观看免费| 亚洲精品老司机| 亚洲成av人**亚洲成av**| 美女视频黄 久久| 成人不卡免费av| 欧美日韩不卡在线| 久久亚洲影视婷婷| 自拍偷拍亚洲激情| 日韩精品乱码av一区二区| 国精产品一区一区三区mba桃花| 国产精品综合二区| 欧美在线三级电影| 久久久精品人体av艺术| 国产精品久久久久aaaa樱花| 亚洲大片在线观看| 国产盗摄女厕一区二区三区| 色就色 综合激情| 久久亚洲捆绑美女| 亚洲五月六月丁香激情| 国产一区二区在线电影| 欧美综合欧美视频| 国产喂奶挤奶一区二区三区| 亚洲欧美日韩国产成人精品影院| 日韩精品一级中文字幕精品视频免费观看 | 青青草原综合久久大伊人精品优势| 久久超碰97中文字幕| 色8久久精品久久久久久蜜| 欧美一区二区三区视频在线| 国产精品免费网站在线观看| 日韩国产在线观看一区| 99视频精品全部免费在线| 欧美一级生活片| 亚洲欧美一区二区久久| 国产精品99精品久久免费| 欧美老年两性高潮| 亚洲少妇30p| 国产乱子伦一区二区三区国色天香| 在线精品亚洲一区二区不卡| 精品久久人人做人人爰| 午夜不卡av免费| 99久久免费视频.com| 久久人人爽人人爽| 日本午夜一本久久久综合| 色婷婷综合激情| 中文字幕亚洲区| 国产成人在线色| 欧美精品一区二区三区四区| 午夜精品福利一区二区蜜股av | gogogo免费视频观看亚洲一| 日韩美女视频在线| 婷婷六月综合亚洲| 欧美主播一区二区三区美女| 中文字幕日韩一区| 丁香网亚洲国际| 国产欧美精品在线观看| 国内精品国产三级国产a久久| 日韩欧美亚洲另类制服综合在线| 午夜精品久久久久久久| 欧美在线视频你懂得| 一区二区成人在线| 欧美专区亚洲专区| 亚洲图片欧美色图| 欧美三片在线视频观看 | 欧美情侣在线播放| 婷婷激情综合网| 日韩一区二区三区观看| 蜜桃精品在线观看|