Ignore:
Timestamp:
07/07/06 11:57:27 (18 years ago)
Author:
navarro
Message:

english and nicer header (1)

Location:
trunk/SRC/Picture
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Picture/imdisp.pro

    r132 r133  
    11;------------------------------------------------------------------------------- 
     2;+ 
     3; @hidden 
     4;- 
    25FUNCTION IMDISP_GETPOS, ASPECT, POSITION=POSITION, MARGIN=MARGIN 
    36; 
     
    4750END 
    4851;------------------------------------------------------------------------------- 
     52;+ 
     53; @hidden 
     54;- 
    4955FUNCTION IMDISP_IMSCALE, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
    5056  NEGATIVE=NEGATIVE 
     
    7884END 
    7985;------------------------------------------------------------------------------- 
     86;+ 
     87; @hidden 
     88;- 
    8089FUNCTION IMDISP_IMREGRID, DATA, NX, NY, INTERP=INTERP 
    8190; 
     
    119128END 
    120129;------------------------------------------------------------------------------- 
     130;+ 
     131; @hidden 
     132;- 
    121133PRO IMDISP_IMSIZE, IMAGE, X0, Y0, XSIZE, YSIZE, ASPECT=ASPECT, $ 
    122134  POSITION=POSITION, MARGIN=MARGIN 
     
    176188 
    177189END 
    178 ;------------------------------------------------------------------------------- 
    179 PRO IMDISP, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
    180   MARGIN=MARGIN, INTERP=INTERP, DITHER=DITHER, ASPECT=ASPECT, $ 
    181   POSITION=POSITION, OUT_POS=OUT_POS, NOSCALE=NOSCALE, NORESIZE=NORESIZE, $ 
    182   ORDER=ORDER, USEPOS=USEPOS, CHANNEL=CHANNEL, $ 
    183   BACKGROUND=BACKGROUND, ERASE=ERASE, $ 
    184   AXIS=AXIS, NEGATIVE=NEGATIVE, _EXTRA=EXTRA_KEYWORDS 
    185 ; 
    186   compile_opt idl2, strictarrsubs 
    187 ; 
    188  
     190;******************************************************************************* 
    189191;+ 
    190 ; NAME: 
    191 ;    IMDISP 
    192 ; 
    193 ; PURPOSE: 
     192; 
     193; @file_comments  
    194194;    Display an image on the current graphics device. 
    195195;    IMDISP is an advanced replacement for TV and TVSCL. 
     
    214214;    - Photographic negative images can be displayed via the NEGATIVE keyword. 
    215215; 
    216 ; CATEGORY: 
    217 ;    Image display 
    218 ; 
    219 ; CALLING SEQUENCE: 
    220 ;    IMDISP, IMAGE 
    221 ; 
    222 ; INPUTS: 
    223 ;    IMAGE       Array containing image data. 
     216; @categories Image display 
     217; 
     218; @param IMAGE {in}{required} Array containing image data. 
    224219;                Pseudo (indexed) color images must have 2 dimensions. 
    225220;                True color images must have 3 dimensions, in either 
    226221;                [3, NX, NY], [NX, 3, NY], or [NX, NY, 3] form. 
    227222; 
    228 ; OPTIONAL INPUTS: 
    229 ;    None. 
    230 ; 
    231 ; KEYWORD PARAMETERS: 
    232 ;    RANGE       For Pseudo Color images only, a vector with two elements 
     223; @keyword RANGE For Pseudo Color images only, a vector with two elements 
    233224;                specifying the minimum and maximum values of the image 
    234225;                array to be considered when the image is byte-scaled 
     
    237228;                or if the NOSCALE keyword is set. 
    238229; 
    239 ;    BOTTOM      Bottom value in the color table to be used 
     230; @keyword BOTTOM Bottom value in the color table to be used 
    240231;                for the byte-scaled image 
    241232;                (default is 0). 
    242233;                This keyword is ignored if the NOSCALE keyword is set. 
    243234; 
    244 ;    NCOLORS    Number of colors in the color table to be used 
     235; @keyword NCOLORS Number of colors in the color table to be used 
    245236;                for the byte-scaled image 
    246237;                (default is !D.TABLE_SIZE - BOTTOM). 
    247238;                This keyword is ignored if the NOSCALE keyword is set. 
    248239; 
    249 ;    MARGIN      A scalar value specifying the margin to be maintained 
     240; @keyword MARGIN A scalar value specifying the margin to be maintained 
    250241;                around the image in normal coordinates 
    251242;                (default is 0.1, or 0.025 if !P.MULTI is set to display 
    252243;                multiple images). 
    253244; 
    254 ;    INTERP      If set, the resized image will be interpolated using 
     245; @keyword INTERP If set, the resized image will be interpolated using 
    255246;                bilinear interpolation 
    256247;                (default is nearest neighbor sampling). 
    257248; 
    258 ;    DITHER      If set, true color images will be dithered when displayed 
     249; @keyword DITHER If set, true color images will be dithered when displayed 
    259250;                on an 8-bit graphics device 
    260251;                (default is no dithering). 
    261252; 
    262 ;    ASPECT      A scalar value specifying the aspect ratio (height/width) 
     253; @keyword ASPECT A scalar value specifying the aspect ratio (height/width) 
    263254;                for the displayed image 
    264255;                (default is to maintain native aspect ratio). 
    265256; 
    266 ;    POSITION    On input, a 4-element vector specifying the position 
     257; @keyword POSITION On input, a 4-element vector specifying the position 
    267258;                of the displayed image in the form [X0,Y0,X1,Y1] in 
    268259;                in normal coordinates 
     
    271262;                offset and size are known (e.g. MAP_IMAGE output). 
    272263; 
    273 ;    OUT_POS    On output, a 4-element vector specifying the position 
     264; @keyword OUT_POS On output, a 4-element vector specifying the position 
    274265;                actually used to display the image. 
    275266; 
    276 ;    NOSCALE    If set, the image will not be byte-scaled 
     267; @keyword NOSCALE If set, the image will not be byte-scaled 
    277268;                (default is to byte-scale the image). 
    278269; 
    279 ;    NORESIZE    If set, the image will not be resized. 
     270; @keyword NORESIZE If set, the image will not be resized. 
    280271;                (default is to resize the image to fit the display). 
    281272; 
    282 ;    ORDER      If set, the image is displayed from the top down 
     273; @keyword ORDER If set, the image is displayed from the top down 
    283274;                (default is to display the image from the bottom up). 
    284275;                Note that the system variable !ORDER is always ignored. 
    285276; 
    286 ;    USEPOS      If set, the image will be sized to exactly fit a supplied 
     277; @keyword USEPOS If set, the image will be sized to exactly fit a supplied 
    287278;                POSITION vector, over-riding ASPECT and MARGIN 
    288279;                (default is to honor ASPECT and MARGIN when a POSITION 
    289280;                vector is supplied). 
    290281; 
    291 ;    CHANNEL    Display channel (Red, Green, or Blue) to be written. 
     282; @keyword CHANNEL Display channel (Red, Green, or Blue) to be written. 
    292283;                0 => All channels (the default) 
    293284;                1 => Red channel 
     
    299290;                images can be displayed on any device supported by IMDISP. 
    300291; 
    301 ;    BACKGROUND If set to a positive integer, the background will be filled 
     292; @keyword BACKGROUND If set to a positive integer, the background will be filled 
    302293;                with the color defined by BACKGROUND. 
    303294; 
    304 ;    ERASE      If set, the screen contents will be erased. Note that if 
     295; @keyword ERASE If set, the screen contents will be erased. Note that if 
    305296;                !P.MULTI is set to display multiple images, the screen is 
    306297;                always erased when the first image is displayed. 
    307298; 
    308 ;    AXIS        If set, plot axes will be drawn on the image. The default 
     299; @keyword AXIS If set, plot axes will be drawn on the image. The default 
    309300;                x and y axis ranges are determined by the size of the image. 
    310301;                When the AXIS keyword is set, IMDISP accepts any keywords 
    311302;                supported by PLOT (e.g. TITLE, COLOR, CHARSIZE etc.). 
    312303; 
    313 ;    NEGATIVE    If set, a photographic negative of the image is displayed. 
     304; @keyword NEGATIVE If set, a photographic negative of the image is displayed. 
    314305;                The values of BOTTOM and NCOLORS are honored. This keyword 
    315306;                allows True color images scanned from color negatives to be 
     
    318309;                is ignored if the NOSCALE keyword is set. 
    319310; 
    320 ; OUTPUTS: 
    321 ;    None. 
    322 ; 
    323 ; OPTIONAL OUTPUTS: 
    324 ;    None 
    325 ; 
    326 ; COMMON BLOCKS: 
    327 ;    None 
    328 ; 
    329 ; SIDE EFFECTS: 
    330 ;    The image is displayed on the current graphics device. 
    331 ; 
    332 ; RESTRICTIONS: 
    333 ;    Requires IDL 5.0 or higher (square bracket array syntax). 
    334 ; 
    335 ; EXAMPLE: 
     311; @restrictions The image is displayed on the current graphics device. 
     312; 
     313; @restrictions Requires IDL 5.0 or higher (square bracket array syntax). 
     314; 
     315; @examples 
    336316; 
    337317;;- Load test data 
     
    472452;map_grid 
    473453; 
    474 ; MODIFICATION HISTORY: 
    475 ; Liam.Gumley@ssec.wisc.edu 
     454; @history Liam.Gumley@ssec.wisc.edu 
    476455; http://cimss.ssec.wisc.edu/~gumley 
    477 ; $Id: imdisp.pro,v 1.47 2002/06/05 16:31:07 gumley Exp $ 
    478456; 
    479457; Copyright (C) 1999, 2000 Liam E. Gumley 
     
    492470; along with this program; if not, write to the Free Software 
    493471; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
     472; 
     473; @version $Id: imdisp.pro,v 1.47 2002/06/05 16:31:07 gumley Exp $ 
     474; 
    494475;- 
     476;------------------------------------------------------------------------------- 
     477PRO IMDISP, IMAGE, RANGE=RANGE, BOTTOM=BOTTOM, NCOLORS=NCOLORS, $ 
     478  MARGIN=MARGIN, INTERP=INTERP, DITHER=DITHER, ASPECT=ASPECT, $ 
     479  POSITION=POSITION, OUT_POS=OUT_POS, NOSCALE=NOSCALE, NORESIZE=NORESIZE, $ 
     480  ORDER=ORDER, USEPOS=USEPOS, CHANNEL=CHANNEL, $ 
     481  BACKGROUND=BACKGROUND, ERASE=ERASE, $ 
     482  AXIS=AXIS, NEGATIVE=NEGATIVE, _EXTRA=EXTRA_KEYWORDS 
     483; 
     484  compile_opt idl2, strictarrsubs 
     485; 
    495486 
    496487rcs_id = '$Id: imdisp.pro,v 1.47 2002/06/05 16:31:07 gumley Exp $' 
Note: See TracChangeset for help on using the changeset viewer.