New version of look.pro [message #6170] |
Thu, 02 May 1996 00:00 |
Fred Knight
Messages: 6 Registered: May 1996
|
Junior Member |
|
|
There is a new version of look.pro at
http://idlastro.gsfc.nasa.gov:80/ftp/contrib/knight/look.pro
The file is about 121k long, so I attach an excerpt from the header below. The
new version has a number of improvements, including improved sliders, better
catalog/blink/movie selection, intrinsic Postscript printing, and better help.
As always, I appreciate feedback---either pro or con.
Fred
;+
; Name:
; look
; Purpose:
; This procedure produces a widget to view an image or series of images.
; o You roam in a grid of 2x2 windows with menus on three sides.
; o The plots are dynamic: horizontal and vertical cuts are updated
; as you move the mouse over the full and zoom images.
; o Zoom by dragging the left mouse over the full image.
; o Select numerous options in the Options menu,
; o Look is extensible ...
; ...
;
; Examples:
; look ; 1) Test with test images
; images = randomu(seed,10,10,100)
; look,images ; 2) Display series of 2-D images
; look,/noload ; 3) Use existing images from common
; common look ; 4) To access the stored images at main level
; look,/help ; 5) Just display the look.pro header
; look,/assoc ; 6) Use an associate variable; prompt for
; ; file and definition of variable.
; ; OR
; file = 'existing_file'
; definition = 'intarr(128,128)'
; look,/assoc,file=file,definition=definition
; ; The associate variable can have
; ; additional variables---with a tag.
; definition = '{struct,header:bytarr(100),data:intarr(128,128)}'
; ; Up to v3.6, the structure has to be named!
; look,/assoc,tag=1,file=file,definition=definition
; ; use tag #1 (data) in the structure
; look,loader_name='getdata',dimensions=[3,4,5]
; ; 7) Use getdata.pro to obtain the set of
; ; 3x4x5 images,
; ; each of size returned by getdata.
; ; Here 3 dimension sliders will be used.
; look,procedures='process'
; ; 8) Add processing procedures, e.g., to use
; ; YOUR OWN process.pro to
; ; modify the current image.
; look,functions=['roberts','sobel']
; ; 9) Add edge filters to Options menu
;
|
|
|