Changeset 163 for trunk/SRC/Picture/imdisp.pro
- Timestamp:
- 08/29/06 14:59:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Picture/imdisp.pro
r157 r163 3 3 ; @hidden 4 4 ;- 5 FUNCTION IMDISP_GETPOS, ASPECT, POSITION=POSITION, MARGIN=MARGIN5 FUNCTION imdisp_getpos, ASPECT, POSITION=POSITION, MARGIN=MARGIN 6 6 ; 7 7 compile_opt idl2, strictarrsubs … … 53 53 ; @hidden 54 54 ;- 55 FUNCTION IMDISP_IMSCALE, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $55 FUNCTION imdisp_imscale, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 56 56 NEGATIVE=NEGATIVE 57 57 ; … … 87 87 ; @hidden 88 88 ;- 89 FUNCTION IMDISP_IMREGRID, DATA, NX, NY, INTERP=INTERP89 FUNCTION imdisp_imregrid, DATA, NX, NY, INTERP=INTERP 90 90 ; 91 91 compile_opt idl2, strictarrsubs … … 131 131 ; @hidden 132 132 ;- 133 PRO IMDISP_IMSIZE, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $133 PRO imdisp_imsize, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $ 134 134 POSITION=POSITION, MARGIN=MARGIN 135 135 ; … … 223 223 ; [3, NX, NY], [NX, 3, NY], or [NX, NY, 3] form. 224 224 ; 225 ; @keyword RANGE 225 ; @keyword RANGE {type=vector}{default=min and max array values} 226 226 ; For Pseudo Color images only, a vector with two elements 227 227 ; specifying the minimum and maximum values of the image 228 228 ; array to be considered when the image is byte-scaled 229 ; (default is minimum and maximum array values).230 229 ; This keyword is ignored for True Color images, 231 230 ; or if the NOSCALE keyword is set. 232 231 ; 233 ; @keyword BOTTOM 232 ; @keyword BOTTOM {default=0} 234 233 ; Bottom value in the color table to be used 235 ; for the byte-scaled image 236 ; (default is 0). 234 ; for the byte-scaled image. 237 235 ; This keyword is ignored if the NOSCALE keyword is set. 238 236 ; 239 ; @keyword NCOLORS 237 ; @keyword NCOLORS {default=!D.TABLE_SIZE - BOTTOM} 240 238 ; Number of colors in the color table to be used 241 239 ; for the byte-scaled image 242 ; (default is !D.TABLE_SIZE - BOTTOM).243 240 ; This keyword is ignored if the NOSCALE keyword is set. 244 241 ; 245 ; @keyword MARGIN 242 ; @keyword MARGIN {default=0.1 or 0.025 if !P.MULTI is set to display multiple images} 246 243 ; A scalar value specifying the margin to be maintained 247 244 ; around the image in normal coordinates 248 ; (default is 0.1, or 0.025 if !P.MULTI is set to display 249 ; multiple images). 250 ; 251 ; @keyword INTERP 245 ; 246 ; @keyword INTERP {default=nearest neighbor sampling} 252 247 ; If set, the resized image will be interpolated using 253 248 ; bilinear interpolation 254 ; (default is nearest neighbor sampling). 255 ; 256 ; @keyword DITHER 249 ; 250 ; @keyword DITHER {default=no dithering} 257 251 ; If set, true color images will be dithered when displayed 258 252 ; on an 8-bit graphics device 259 ; (default is no dithering). 260 ; 261 ; @keyword ASPECT 253 ; 254 ; @keyword ASPECT {default=maintain native aspect ratio} 262 255 ; A scalar value specifying the aspect ratio (height/width) 263 256 ; for the displayed image 264 ; (default is to maintain native aspect ratio).265 257 ; 266 258 ; @keyword POSITION {default= [0.0,0.0,1.0,1.0]} … … 275 267 ; actually used to display the image. 276 268 ; 277 ; @keyword NOSCALE 278 ; If set, the image will not be byte-scaled 279 ; (default is to byte-scale the image). 280 ; 281 ; @keyword NORESIZE 269 ; @keyword NOSCALE {default=to byte-scale the image} 270 ; If set, the image will not be byte-scaled. 271 ; 272 ; @keyword NORESIZE {default=To resize the image to fit the display} 282 273 ; If set, the image will not be resized. 283 ; (default is to resize the image to fit the display). 284 ; 285 ; @keyword ORDER 274 ; 275 ; @keyword ORDER {default=To display the image from the bottom up} 286 276 ; If set, the image is displayed from the top down 287 ; (default is to display the image from the bottom up).288 277 ; Note that the system variable !ORDER is always ignored. 289 278 ; 290 ; @keyword USEPOS 279 ; @keyword USEPOS {default=To honor ASPECT and MARGIN when POSITION vector is supplied} 291 280 ; If set, the image will be sized to exactly fit a supplied 292 ; POSITION vector, over-riding ASPECT and MARGIN 293 ; (default is to honor ASPECT and MARGIN when a POSITION 294 ; vector is supplied). 281 ; POSITION vector, over-riding ASPECT and MARGIN. 295 282 ; 296 283 ; @keyword CHANNEL … … 496 483 ;- 497 484 ;------------------------------------------------------------------------------- 498 PRO IMDISP, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $485 PRO imdisp, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 499 486 MARGIN=MARGIN, INTERP=INTERP, DITHER=DITHER, ASPECT=ASPECT, $ 500 487 POSITION=POSITION, OUT_POS=OUT_POS, NOSCALE=NOSCALE, NORESIZE=NORESIZE, $
Note: See TracChangeset
for help on using the changeset viewer.