comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Image slicing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Image slicing [message #16901] Wed, 25 August 1999 00:00 Go to previous message
Tim Lamont-Smith is currently offline  Tim Lamont-Smith
Messages: 5
Registered: August 1999
Junior Member
Gwyn Fireman wrote:

> Tim Lamont-Smith (tlsmith@dera.gov.uk) wrote:
> : 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.
>
> Tim -
>
> I did this in 1993, IDL version 2. The procedure is heavily integrated
> into the calling application, and would take some work to make current and
> modular. If nobody else offers in a couple of days, I might just whip it
> into shape or send it to you as is.
>
> Hint: I use XOR graphics for the "rubber band" line, CURSOR to get the
> endpoints in device coordinates, converted to data coords myself, and
> found the coords between endpoints myself.

I wasn't familiar with XOR graphics, but it turned out to be straight forward
once I looked at BOX_CURSOR. I pretty much followed the route you outlined.
David Fannings tips on image profiles was also useful.

Thanks,

Tim

--
*************************************
Tim Lamont-Smith
DERA, R205, St. Andrew's Road,
Malvern, Worcs., WR14 3PS
Tel.: +44 (0)1684 896753
Fax.: +44 (0)1684 894252
*************************************
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Are pointers faster in structs ?
Next Topic: Re: VIP

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:37:06 PDT 2025

Total time taken to generate the page: 0.72408 seconds