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

Home » Public Forums » archive » croping jpeg 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: croping jpeg image [message #91223 is a reply to message #91218] Wed, 17 June 2015 21:27 Go to previous messageGo to previous message
Shaktivel Pillai is currently offline  Shaktivel Pillai
Messages: 16
Registered: June 2015
Junior Member
On Wednesday, June 17, 2015 at 11:46:34 PM UTC+5, Phillip Bitzer wrote:
> On Wednesday, June 17, 2015 at 8:44:26 AM UTC-5, kpaa...@gmail.com wrote:
>> i have opened a jpeg image in idl using
>> tv,image,true=1
>>
>> now i want to crop only the central region of the sun where sunspots are present.... for these i used the cursor command and placed it in low left and right---got the co-ordinates----and then placed the cursor at right top--got the x and y......then i used image=image[low x:topx,lowy:topy]
>>
>> but im not getting the image croped....instead getting
>> % subscript range values of the form low:high must be >=0,<size,with low<=high:image
>
> What are the values for low_x, top_x, etc? What are the dimensions of image?

low x=44.53
low y=359.79
top x=163.05
top y=435.64


still im not getting the image croped..please help me in this
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issue using the XROI command
Next Topic: cgWindow - what am I doing wrong that makes winID change values?

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

Current Time: Wed Oct 08 14:07:27 PDT 2025

Total time taken to generate the page: 0.00220 seconds