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

Home » Public Forums » archive » warp image
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
warp image [message #54318] Wed, 06 June 2007 08:14
ventura.bartolomeo is currently offline  ventura.bartolomeo
Messages: 1
Registered: June 2007
Junior Member
I'm trying to warp a .png radar image obtained from a SAR image on
another warped image used as background (jpg file).
Because the background and png file have to be warped in a different
way I use two different MAP_SET commands for the background and for
the .png image
The result I would like to obtain is the image you can find here
(my .png file is the one at the bottom right):

http://saturn.jpl.nasa.gov/multimedia/images/image-details.c fm?imageID=2097
or

http://photojournal.jpl.nasa.gov/catalog/PIA08099

I take the limit (in red) for the png image from the header file of
the SAR image (not in standard graphics file formats) where the only
pixel information is the backscattering coefficient. To have
informations about latitude and longitude for each pixel I have to
download two other images (backplanes) which have the same dimension
of this SAR image.

CENTER_LATITUDE = 0.000000 <deg>
CENTER_LONGITUDE = 0.000000 <deg>
REFERENCE_LATITUDE = -66.782885 <deg>
REFERENCE_LONGITUDE = 307.815225 <deg>
LINE_FIRST_PIXEL = 1
LINE_LAST_PIXEL = 13312
SAMPLE_FIRST_PIXEL = 1
SAMPLE_LAST_PIXEL = 2816
MAP_PROJECTION_ROTATION = 90.0
MAP_RESOLUTION = 256.0 <pix/deg>
MAP_SCALE = 0.17555558 <km/pix>
MAXIMUM_LATITUDE = -24.90749741 <deg>
MINIMUM_LATITUDE = -75.45083618 <deg>
EASTERNMOST_LONGITUDE = 329.64804077 <deg>
WESTERNMOST_LONGITUDE = 31.00485229 <deg>

Using these limit in the MAP_SET command my .png image still continues
to be "horizontal" and not warped like the image from the web and the
background is completely covered when the .png image is displayed.

I have tried to follow
http://www.dfanning.com/tips/map_image.html
but without success :(

Could someone please tell me what I'm doing wrong?

thank you,

Bartolo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: JPEG2000 Tiling Examples?
Next Topic: dialog_pickfile return question..

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

Current Time: Fri Oct 10 06:55:10 PDT 2025

Total time taken to generate the page: 1.20208 seconds