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 #44362] Fri, 10 June 2005 06:28 Go to previous message
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <3gqvbmFdhiinU1@uni-berlin.de>, "Sebastian"
<swalter@zedat.fu-berlin.de> wrote:
> Hello group,
> i have two (or even more) images of irregular shape (in fact, they are
> referenced orbits of a satellite), the rest of the image is black. i
> ....
> some advice??? Thanks in advance!
> Viele Gruesse
> Sebastian

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: Thu Oct 09 13:17:40 PDT 2025

Total time taken to generate the page: 0.63956 seconds