New IDL Web resource [message #7841] |
Thu, 09 January 1997 00:00 |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
IDL'ers,
Here is my contribution to the IDL community at large. Contained on my
web page of IDL functions are several useful utilities for handling
handles, file I/O utilities (especially for Bruker and GE Signa 5.x MR
Images), and several useful widget applications. You can find these at:
http://www.irc.chmcc.org/idl/philsIDL.html
One of the widgets that I hope you all will find useful is XDISPAY.
This is an image display and region of interest (ROI) display tool. It
is completly extenable to be included in your own widget applications,
or for use from the command line. When called from the command line
XDISPLAY returns the top handle to a list of ROI pointer.
Getting information about the ROIs is greatly simplified by using the
included ROI_INFO function which can return any of the following: # of
pixels contained in the ROI, mean and standard deviation (default), a
list of indices (with the INDEX keyword), or any IDL or user written
FUNCTION that is defined and expects a vector (image(indices)) as the
first positional parametedispInfo. This USER_FUNC can also have up to
three additional parameters and an unlimited number of keywords (as long
as they are not used for the return of information) that are
appropriate.
I pretty sure that I've worked all the bugs out, but I make no promises!
A couple of notes of usage and such:
1) Install these programs in a directory in your IDL_PATH. Make sure
that it is above the default IDL path as some of these routines are
rewrites of IDL procedures (i.e. XREGISTERED).
2) Thanks to David Fanning. A great tutor and an excellent programmer
as I'm sure you all know. I was the first customer of Fanning Consulting
and I must say that if anyone out there wants to learn IDL programming
right the first time, give him a call. Many of these utilities came
into being as a direct result of David's tutoring.
3) Some of these routines use some of David's programming examples
(notably XCOLORS.PRO). Check out Coyote's Guide to IDL Programming by
David Fanning at http://www.dfanning.com for more info.
I'd also like to thank everyone else who has made code freely
available. I don't think I would have gotten to this level of
programming (and I hope you all think it's a high one! :) ) without your
exmaples.
Thanks for your time,
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|