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

Home » Public Forums » archive » Re: "marching ants" rubberband box
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: "marching ants" rubberband box [message #31989 is a reply to message #31987] Wed, 04 September 2002 12:11 Go to previous messageGo to previous message
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
David Fanning <david@dfanning.com> wrote:
> Ted Graves (graves@helix.mgh.harvard.edu) writes:
>
>> Just wondering if anyone had implemented (or knew of a simple way to
>> implement) a "marching ants" rubberband box.
>
> Oh, oh. Yet one more reason to spend less time playing tennis
> and more time reading the literature. :-(
>
> What the hell is a "marching ants" rubberband box!?

In Photoshop or the Gimp, selecting an image region will bound it with
a line of little moving dots, in order to show the edges of the selection
region. These little moving dots are sometimes referred to as "Marching Ants".

Perhaps one way to implement this in IDL would be via manipulation of the
color table - draw one line of two colors, and then alternate what those
colors are via the color table rather than redrawing. Of course this then
reduces the number of colors for the rest of your image by two.

- Marshall
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL5.6?
Next Topic: IDL5.6?

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

Current Time: Fri Oct 10 11:23:31 PDT 2025

Total time taken to generate the page: 0.08214 seconds