[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image slicing
- Subject: Re: Image slicing
- From: davidf(at)dfanning.com (David Fanning)
- Date: Tue, 24 Aug 1999 11:50:22 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <37C2D413.97D3EDCB@dera.gov.uk>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:16285
Tim Lamont-Smith (tlsmith@dera.gov.uk) writes:
> I have a 2D image which I want to take a slice through. What
> I could do is use ROT to rotate my image so that I can then
> plot one of the columns, but this is very unsatisfactory.
>
> What I would really like to be able to have is something a
> little bit like LIVE_IMAGE, where it is possible to draw a
> line on the image using the cursor, but then have the data
> values along that line returned, and possibly have the
> indices returned as well. CURSOR could be used, but then you
> only get to guess the two endpoints and plot the line on the
> image afterwards. BOX_CURSOR could also be used, and then
> you have to imagine a line between the diagonals. I suspect
> modifying BOX_CURSOR and calling it something like
> LINE_CURSOR may be the best way.
>
> Does anyone have software to do this already ?
> Does anyone else think that this would be a useful feature
> for IDL to have ?
If you can't do this in 10 minutes after reading
these two articles, let me know. :-)
http://www.dfanning.com/tips/rubberband_widget.html
http:://www.dfanning.com/tips/image_profile.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155