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

Home » Public Forums » archive » How to create an image from the last columns of a stack of images?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to create an image from the last columns of a stack of images? [message #45395] Thu, 01 September 2005 00:17 Go to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
Hi everyone,

I have a large image cube(1920x1080x3000 - columns x rows x bands)
from which i need to create a new image from the last column of all the
input bands. Actually, there's a loop involved, the second image to
create is from the set of next to last columns of all the input bands.
I'm wondering how to go about doing this. I could use the ASSOC
function to get to each band without having to read the entire band
into memory, but this is still taking a long time. If I needed to
extract rows rather than columns I'd probably use point_lun in a loop
over each band, but since I need columns I'm not going to be reading
contiguous chunks of data from disk (I don't think), so I'm not sure
thats really efficient either. Anyone have any suggestions?

Thanks,
Jeff
[Message index]
 
Read Message
Read Message
Previous Topic: Re: realizing the formula in idl
Next Topic: Programming annoyances

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

Current Time: Fri Oct 10 15:54:18 PDT 2025

Total time taken to generate the page: 1.51786 seconds