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

Home » Public Forums » archive » Re: How to subset many images in batch mode?
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: How to subset many images in batch mode? [message #52279 is a reply to message #52265] Wed, 24 January 2007 00:35 Go to previous messageGo to previous message
kavin is currently offline  kavin
Messages: 5
Registered: December 2006
Junior Member
yeah,I want to use a smaller image as mask to subset many big images
automatically.
It's a heave work.
I want to know that does there exist any ENVI routine to accomplish my
task automated?

On 1月24日, 上午1时36分, "Jean H."
<jghas...@DELTHIS.ucalgary.ANDTHIS.ca> wrote:
> kavin wrote:
>> Hi,everyone!
>
>> I want to subset many images with one smaller image in batch mode,but I
>> can not find the right command to fulfill it.
>> waiting for the answers....................So you mean you have one small image that you want to use as a mask?
>
> 1) get the corners coordinates of your "small image"
> 2) convert them to the pixel coordinate of your "big image" (in ENVI I
> believe)
> 3) Find the cells that are within this area, using POLYFILL
> 4) subset your image using the indices from #3 newImage =
> bigImage[indices]
> 5) if your "big images" have the same characteristics, use the indices
> you found in #3 for all of them. If not, go to #2
>
> Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: print wrong characters
Next Topic: read VTK files with IDL

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

Current Time: Wed Oct 08 19:59:18 PDT 2025

Total time taken to generate the page: 0.00446 seconds