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 #91224 is a reply to message #91220] Wed, 17 June 2015 21:27 Go to previous message
Shaktivel Pillai is currently offline  Shaktivel Pillai
Messages: 16
Registered: June 2015
Junior Member
On Thursday, June 18, 2015 at 4:27:49 AM UTC+5, jim...@gmail.com wrote:
> Considering:
>
>> i have opened a jpeg image in idl using
>> tv,image,true=1
>
> This means that the image array is pixel interleaved, with dimensions like:
>
> [3,n,m]
>
> To crop the image you need to specify all three dimension in the array, for example:
>
> image=image[*,lowx:topx,lowy:topy]
>
> I hope this helps.
>
> -Jim

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 11:58:14 PDT 2025

Total time taken to generate the page: 0.00246 seconds