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

Home » Public Forums » archive » Re: mosaic two images in direct graphics
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: mosaic two images in direct graphics [message #44446 is a reply to message #44362] Mon, 13 June 2005 09:16 Go to previous message
Sebastian is currently offline  Sebastian
Messages: 5
Registered: June 2005
Junior Member
Thank You. With 1's instead of 0's in the TOTAL function it works and
gives me a quite homogenic dataset. For really smooth images I have to
do a histogram stretch.

Sebastian

Christopher Lee wrote:
> If you want to merge scientific datasets and not pictures,
> you might want to use all the data you have, e.g.
>
> ; data = [n_images, image_x, image_y]
> ;invalid =value of 'black'
> valid=data ne invalid
> new_data= total(valid*data,0)/(total(valid, 0) > 1)
>
> which will give you the averages of overlapping pixels, and probably an
> error message because I haven't tested it. missing data can be handled
> either using WHERE or using a few more terms in the above equation.
>
> Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need advice about inheritance
Next Topic: Re: plotting data as it arrives using objects

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

Current Time: Fri Oct 10 14:00:20 PDT 2025

Total time taken to generate the page: 0.39993 seconds