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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
Read Message
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 09:46:35 PDT 2025

Total time taken to generate the page: 0.16199 seconds