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

Home » Public Forums » archive » Re: diferent results in program and envi
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: diferent results in program and envi [message #55094 is a reply to message #55093] Wed, 01 August 2007 12:24 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
skymaxwell@gmail.com wrote:
> first question is closed ;)
> now it's works
>
> second question about getting pixel size in program still active :(
>
>
>
>> Second question, yes you are right
>> i define pixel size in my program from ENVI GUI
>> how get pixel size WITHOUT ENVI GUI ?

Well, if your image is georeferenced, you can do
pixSizeX = (max(coord X) - min(coord X)) / nb of Pixels in the X direction

...if your image is not georeferenced, you would have to find it by
other means... the best one is probably the metadata of your image /
sensor! ... otherwise, to ESTIMATE it, you would need to identify two
features on your image and you would have to know their exact coordinate
or at least the distance between the 2 features. ... then you need to
find the number of pixels in the X and Y direction between the two
features... make sure to consider fractions of pixels! ... and you apply
the same idea as if your image was georeferenced..

Hope that helps!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: plot axis problem?
Next Topic: Problem with large .txt file

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

Current Time: Thu Oct 09 21:24:26 PDT 2025

Total time taken to generate the page: 0.47961 seconds