Re: Image editing with IDL? [message #29727] |
Tue, 19 March 2002 09:35 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Michael A. Miller (mmiller3@iupui.edu) writes:
> I wonder if anyone can point me to some IDL code that will let me
> edit images? In particular, I want to be able to (semi-)
> automatically segment images based on level sets and erase
> specified segments.
You could try something like WindowImage from my
program library to segment an image based on window
level and width. (XStretch is another segmentation
tool, based on the image histogram.) Erasing parts
of an image is trivial. Just edit (with your erasing
tool) a 0/1 mask that you apply to the image before
you display it.
http://www.dfanning.com/programs/windowimage.pro
For example, you could add erasure to the WindowImage
program by using, say, the right mouse button to erase
and the left mouse button to set the window level and
width.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|