Re: About warp image on ENVI's pts file [message #63147] |
Wed, 29 October 2008 01:57  |
Biny Young
Messages: 9 Registered: June 2008
|
Junior Member |
|
|
On 10月29日, 下午12时07分, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> Do you have some reason why you believe ENVI is using the
>> same code you are? The general pattern in ENVI is that
>> when the ENVI folks find IDL code that sucks (map projections
>> come to mind) they write their own that does a better job.
>> It would not surprise me at all to learn their warping
>> routines were different (and probably superior) to those
>> found in IDL.
>
> Sorry, "sucks" is the wrong word. When they find code that
> "doesn't do the job as well as they like" is what I meant
> to write. I'm still feeling the effects of my Virtual
> Machine episode today. :-(
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Thank you for you reply. The parameters are :
Envi:
Method : Polynomial Degree: 5
Resampling: Nearest Neighbor
Background: 0
My program:
Method and Degree : Polynomial and 5 ( ;POLYWARP, XI, YI, XO, YO,
5, P, Q )
Resampling: Nearest Neighbor ( ;The method is 0 in POLY_2D
function)
So ,I believe ENVI is using the same "method" as my program. I used
the same image and the same method to warp ,but got the different
result. Any info/advice would be so appreciated.
Greeting...
|
|
|