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

Home » Public Forums » archive » Re: subset an image by coordinates
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 an image by coordinates [message #68086 is a reply to message #68083] Sun, 20 September 2009 05:12 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Sep 19, 11:14 pm, "Alvaro Paredes L." <alvaropared...@gmail.com>
wrote:
> Hi all
>
> I was searching on the web, but i didn't find an answer to my problem.
> I need to make a subset on an image using
>
> coordinates, but i can't find a way to do it. I see this method
>
> http://groups.google.es/group/comp.lang.idl-pvwave/browse_fr m/thread/...
> and this other (very
>
> similar) http://www.mombu.com/programming/idl/t-subset-an-image-by-ro i-in-idl-...,
> but don't use
>
> coordinates, use an evf file.
>
> IDL/ENVI has a widget that use only two coordinates to cut (upper-left
> and lower-right coordinate), but it isn't
>
> fully automatically.
>
> Is there any function to cut the image with set coordinates and save
> it in a new file?
>
> I really hope you can help me... I'm not a programmer and this
> sometimes it's very hard
>
> Thanks!
>
> Alvaro

Do you mean like:

newimage = oldimage[x0:x1,y0:y1]

?

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Structure
Next Topic: structure

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

Current Time: Sat Oct 11 23:17:55 PDT 2025

Total time taken to generate the page: 0.48209 seconds