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

Home » Public Forums » archive » Re: combine histograms
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: combine histograms [message #56932] Wed, 28 November 2007 13:15 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
thomas.jagdhuber writes:

> I have several subscenes of an image just for processing reasons. So I
> made a histogram for each subscene. Now I want to combine this
> histograms to a final histogram over the whole scene. Is there a smart
> way to do this?

Assuming your image was BYTE data, or that you were
careful when you created your histograms and you
set the BINSIZE, MIN, and MAX to the same values
for all of your sub-images, I imagine you could
just add the darn things together. :-)

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.")
Re: combine histograms [message #57030 is a reply to message #56932] Wed, 28 November 2007 13:49 Go to previous message
thomas.jagdhuber@dlr. is currently offline  thomas.jagdhuber@dlr.
Messages: 19
Registered: February 2007
Junior Member
On Nov 28, 10:15 pm, David Fanning <n...@dfanning.com> wrote:
> thomas.jagdhuber writes:
>> I have several subscenes of an image just for processing reasons. So I
>> made a histogram for each subscene. Now I want to combine this
>> histograms to a final histogram over the whole scene. Is there a smart
>> way to do this?
>
> Assuming your image was BYTE data, or that you were
> careful when you created your histograms and you
> set the BINSIZE, MIN, and MAX to the same values
> for all of your sub-images, I imagine you could
> just add the darn things together. :-)
>
> 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.")

I have floats. Does this matter? And I set the min, max and binsize on
the same values in all subscenes.

thanks,
thomas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to build ASCII File
Next Topic: Saving Projects

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

Current Time: Wed Oct 08 15:22:10 PDT 2025

Total time taken to generate the page: 0.00546 seconds