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

Home » Public Forums » archive » Re: Subset Image
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
Re: Subset Image [message #45457] Fri, 16 September 2005 10:29 Go to next message
Julio[1] is currently offline  Julio[1]
Messages: 52
Registered: May 2005
Member
Hi,

I want to subset the image using ROIs. I can't use SUB_RECT because I
don't know the limits (columns, rows) of each subset (it is specified
by ROIs).
Thanks at any rate,
Julio
Re: Subset Image [message #45467 is a reply to message #45457] Fri, 16 September 2005 05:08 Go to previous messageGo to next message
steffenfr is currently offline  steffenfr
Messages: 3
Registered: September 2005
Junior Member
Hi! when you read a file in e.g. a tiff: READ_TIFF( ) it has a keyword
SUB_RECT, with that you can specify a subset, not sure if this is what
you need...
Re: Subset Image [message #45638 is a reply to message #45457] Fri, 16 September 2005 18:32 Go to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
The 'subset via ROI' function in ENVI sets every pixel outside of the
ROI to zero right? There are actually lots of ways to do this with
IDL. The answer really depends on your ROI. If your ROI is
rectangular, you can do it with array subscripting. If your ROI is an
irregular shape, you would probably use the WHERE() function. Are you
planning to draw the ROI's with IDL too? If so, you might try XROI.

Jeff


Julio wrote:
> Hi,
>
> I want to subset the image using ROIs. I can't use SUB_RECT because I
> don't know the limits (columns, rows) of each subset (it is specified
> by ROIs).
> Thanks at any rate,
> Julio
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL memory limitation? (continuted)
Next Topic: Re: IDL memory limitation? (continuted)

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

Current Time: Fri Oct 10 08:16:25 PDT 2025

Total time taken to generate the page: 0.55764 seconds