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

Home » Public Forums » archive » Re: western hemisphere to eastern
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: western hemisphere to eastern [message #70233] Thu, 25 March 2010 21:48
Vic Sido is currently offline  Vic Sido
Messages: 2
Registered: March 2010
Junior Member
Values of coordinates for corner points are
Array PTS have more elements. Here i show only corner points.
lat=[66.6136,66.1803,-69.8318,-78.7144]
lon=[160.46,-157.105,83.5264,141.503]


Here is my code for georeference.

PRO
GEOREFERENCE1,xsize,ysize,image_channel_number,fid,names,pts ,pixel_size
w_dims=[-1L,0,xsize-1,0,ysize-1]
print,"Georeference"
w_pos=[0L]
proj=ENVI_PROJ_CREATE(/GEOGRAPHIC)
a=intarr(image_channel_number)
FOR I=0,image_channel_number-1 DO BEGIN

ENVI_DOIT,'ENVI_REGISTER_DOIT',PROJ=proj,PTS=pts,W_FID=fid[I ],W_DIMS=w_dims,W_POS=w_pos,
$
/
IN_MEMORY,PIXEL_SIZE=pixel_size,R_FID=b,OUT_BNAME=names[i]
a[i]=b
ENDFOR
fid=a
END


After using this code image become curved.

Somebody faced with so review images ?

Thanks
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: outline keyword for bar_plot
Next Topic: Highlight default button

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

Current Time: Wed Oct 08 13:54:28 PDT 2025

Total time taken to generate the page: 0.00561 seconds