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

Home » Public Forums » archive » Mosaic
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 [message #51470 is a reply to message #51426] Fri, 24 November 2006 09:53 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
what about something like: round((X origine coord of input n - X
origine coord of output) / resolution of the ouput)

Jean

bujji wrote:
> Thanks Mr David,
>
> I cud resolve the problem for two images. If there are 'n' number of
> images then tell me generic way to define X0,Y0,POS,DIMS.
>
> Regards,
> Prahlad
>
> David Streutker wrote:
>
>> X0 and Y0 are vectors which contain the starting pixels for each of
>> your input images, with respect to the output mosaic. For example, if
>> you are mosaicking four 100 x 100 images into one 200 x 200 image,
>> then:
>>
>> X0 = [0, 0, 100, 100]
>> Y0 = [0, 100, 0, 100]
>>
>> (I can't remember if these are referenced from the upper left or lower
>> left corner.)
>>
>> POS determines which bands of the input files to include, and in what
>> order. If there are two bands in the four files listed above, use
>> something like this:
>>
>> POS = rebin(lindgen(2), 2, 4)
>>
>> print, POS
>> 0 1
>> 0 1
>> 0 1
>> 0 1
>>
>> Hope that helps,
>> David
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: A single title, xtitle and ytitle
Next Topic: Obtain all child widgets

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

Current Time: Fri Oct 10 09:44:51 PDT 2025

Total time taken to generate the page: 0.16349 seconds