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

Home » Public Forums » archive » Re: Moving window on an image
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: Moving window on an image [message #67668 is a reply to message #67667] Sat, 15 August 2009 12:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeff N. writes:

> Why do you need to add 2 to the indices returned by value_locate()
> here? I can see why you'd need to add 1 to them, but not 2.

If Value_Locate doesn't find *any* values in a particular
range, it returns a -1. I can histogram values -1 to 6, but
it seems to make more intuitive sense to histogram values
1 to 8 in this case.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Moving window on an image
Next Topic: What a Wild, Wacky Place

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

Current Time: Sun Nov 30 00:08:10 PST 2025

Total time taken to generate the page: 0.16196 seconds