comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: MOsaicking more than 2 images with cggeomosaic
items: Re: MOsaicking more than 2 images with cggeomosaic

MOsaicking more than 2 images with cggeomosaic
type: item
description: 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
creator: Marta Yebra
date: 2015-09-07T00:49:57-00:00

Re: MOsaicking more than 2 images with cggeomosaic
type: item
description: 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.")
creator: David Fanning
date: 2015-09-07T01:18:51-00:00

Re: MOsaicking more than 2 images with cggeomosaic
type: item
description: 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
creator: Marta Yebra
date: 2015-09-11T05:11:34-00:00