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

Home » Public Forums » archive » 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 [message #51504 is a reply to message #51415] Thu, 23 November 2006 18:18 Go to previous messageGo to previous message
bujji is currently offline  bujji
Messages: 10
Registered: October 2005
Junior Member
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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Painfully slow IDL startup
Next Topic: Re: Envi: suggest how to save gcps to an ascii file

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

Current Time: Fri Oct 10 05:38:53 PDT 2025

Total time taken to generate the page: 0.02652 seconds