[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Image slicing
- Subject: Image slicing
- From: Tim Lamont-Smith <tlsmith(at)dera.gov.uk>
- Date: Tue, 24 Aug 1999 18:19:15 +0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: DERA
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:16282
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 ?
cheers,
Tim
--
*************************************
Tim Lamont-Smith
DERA, R205, St. Andrew's Road,
Malvern, Worcs., WR14 3PS
E-Mail: tlsmith@dera.gov.uk
Tel.: +44 (0)1684 896753
Fax.: +44 (0)1684 894252
*************************************