Re: dual histogram stumper [message #33363 is a reply to message #33297] |
Tue, 17 December 2002 22:14   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Rick Towler (rtowler@u.washington.edu) writes:
> There isn't an up to date FAQ for the group but David's site is the next
> best thing. It is best to bookmark David's site and check there before
> posting since the answer can usually be found within his helpful pages.
> There is so much goodness there even he forgets some of it ( but that may be
> due to age ;)
>
> http://www.dfanning.com/tips/histogram_tutorial.html
Now hold on there. This is suppose to be the season
of light, but this week the doctor ordered me not to
play tennis (or ski) for a month to allow a wrist injury
to heal, and now I'm accused of getting old. I don't see
much light in that. :-(
(Not to mention my friend, Diego, is back in town for
the holidays, ready to resume our epic battle, which--
when we left off last time--had him in the lead 21 sets
to 20, with Diego winning the decisive set 18-16 in a
third set tie-breaker on an offensive lob, for goodness
sake. Oh, woe is me! I still have nightmares of that
ball floating gently over my head.)
Anyway, I wasn't ignoring Surendar's question. Just waiting
for JD to step in to explain it before I made a mess of it.
Briefly, the REVERSE_INDICES keyword is the way to get back the
pixel indices of the pixels in each bin. Sort of like the WHERE
function, although much, MUCH faster. In fact, REVERSE_INDICES
contains the magic in much of the HISTOGRAM command.
And Rick is right, if you really want to understand the
details, the only place to do so is JD's fabulous (and
famous) Histogram Tutorial.
http://www.dfanning.com/tips/histogram_tutorial.html
If you really can't find such a thing in the PV-Wave version
of HISTOGRAM, then this really is going to be a Bah Humbug
kind of a year. :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|