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

Home » Public Forums » archive » Re: Annotating a 3-d Image Array?
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: Annotating a 3-d Image Array? [message #4091 is a reply to message #4070] Mon, 24 April 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <3ngj12$3ra@news.mtu.edu>, "Andrew A. Pilant" <anpilant@mtu.edu> writes:
> Hello-
>
> This is probably ultraultra easy, but I am stuck.
>
> Scenario:
> I have a time series of SSM/I images in a single array, e.g.,
> ssmi=intarr(100,100,20) (20 days of 100x100 images).
>
> I would like to write the date (e.g., "Sep 21") on each image so that
> when I animate them (via movie or xinteranimate) I know the date
> of the image. I'll concatenate a 20x100 box at the bottom to hold the
> text, so the whole array would be 120x100x20. Ultimately, I'll export
> the annotated images/array in some form amenable to mpeg play or
> similar generic animation software.
>
> In reality, there are hundreds of images, so doing the following in
> command line mode won't be feasible:
> tv,image
> xyouts,x,y,'sep 12',/device
> new_i=tvrd()

The method you reject as unfeasible might work fine if you:
- Use the Z buffer device. TVRD() is much faster than with X
- Set the Z device size to be 20x100, so you only use it to buffer the
box used for the string.
- Use IDL's normal array operators to put the new box at the bottom of your
images.

Remember to set the Z device to not do Z buffering (DEVICE, /NOZ) which also
speeds it up.

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
[Message index]
 
Read Message
Read Message
Previous Topic: Ada replacement for Pvwave?
Next Topic: Re: output keywords

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

Current Time: Sat Oct 11 23:20:27 PDT 2025

Total time taken to generate the page: 2.07863 seconds