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

Home » Public Forums » archive » Re: In Praise of HISTOGRAM
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: In Praise of HISTOGRAM [message #30247] Sat, 13 April 2002 06:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning (david@dfanning.com) was dumb enough to
write the other day:

> Hang on a minute! What if we create an integer array, put
> one image in the low bits and the other image in the high
> bits. Won't each pixel have a unique number value? Then,
> what if we take a histogram of that? Won't that give us
> a vector of 2^16-1 values? And what if we reform that
> into the 256 by 256 array we are looking for?

Uh, it was pointed out to me that HIST_2D was doing
this since about 1938 or so. I feel a bit like Columbus
re-discovering the New World. :-(

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
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
[Message index]
 
Read Message
Read Message
Previous Topic: Re: basic soubt with fltarr
Next Topic: Re: Finding the Non-Matching elements in two vectors

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

Current Time: Wed Oct 08 17:25:12 PDT 2025

Total time taken to generate the page: 0.00382 seconds