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

Home » Public Forums » archive » MOsaicking more than 2 images with cggeomosaic
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
MOsaicking more than 2 images with cggeomosaic [message #91863] Sun, 06 September 2015 17:49 Go to next message
Marta Yebra is currently offline  Marta Yebra
Messages: 16
Registered: August 2012
Junior Member
Hello

I would like to mosic 18 scenes in tif (using only IDL). I wanted to used something like cggeomosaic but this routine seems to only work for two images?

THanks, Marta
Re: MOsaicking more than 2 images with cggeomosaic [message #91864 is a reply to message #91863] Sun, 06 September 2015 18:18 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Marta Yebra writes:

> I would like to mosic 18 scenes in tif (using only IDL). I wanted to used something like cggeomosaic but this routine seems to only work for two images?

There is nothing particularly magical about cgGeoMossaic. It is not a
very sophisticated program. I can think of about 10 better ways to write
it just off the top of my head. It's a memory hog, for sure. I wrote it
one afternoon to do a particular job for me and thought others might
find it useful.

In principle, you could write a loop through your files, mosaicking the
n-1 output with the nth image. I don't see any particular reason that
wouldn't work, and if this is a one-off, efficiency is probably
overrated. You could delete the intermediate files that would get
created in your loop, unless you wanted to examine them for some reason.

The loop might take 10 minutes to write. It's worth a try as a first
step. Unless, of course, this is not a one-off. Then you will probably
want to forge a different solution.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: MOsaicking more than 2 images with cggeomosaic [message #91902 is a reply to message #91864] Thu, 10 September 2015 22:11 Go to previous message
Marta Yebra is currently offline  Marta Yebra
Messages: 16
Registered: August 2012
Junior Member
On Monday, 7 September 2015 11:18:54 UTC+10, David Fanning wrote:
> Marta Yebra writes:
>
>> I would like to mosic 18 scenes in tif (using only IDL). I wanted to used something like cggeomosaic but this routine seems to only work for two images?
>
> There is nothing particularly magical about cgGeoMossaic. It is not a
> very sophisticated program. I can think of about 10 better ways to write
> it just off the top of my head. It's a memory hog, for sure. I wrote it
> one afternoon to do a particular job for me and thought others might
> find it useful.
>
> In principle, you could write a loop through your files, mosaicking the
> n-1 output with the nth image. I don't see any particular reason that
> wouldn't work, and if this is a one-off, efficiency is probably
> overrated. You could delete the intermediate files that would get
> created in your loop, unless you wanted to examine them for some reason.
>
> The loop might take 10 minutes to write. It's worth a try as a first
> step. Unless, of course, this is not a one-off. Then you will probably
> want to forge a different solution.
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

Thanks David!!! Yes it is a one-off process so that should work.
Have a nice weekend
Marta
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Invert Matrix, MATLAB vs IDL
Next Topic: medical image reconstruction

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

Current Time: Wed Oct 08 15:14:28 PDT 2025

Total time taken to generate the page: 0.00596 seconds