Re: map_patch and triangulating satellite images [message #36292] |
Fri, 29 August 2003 17:09 |
Kenneth P. Bowman
Messages: 585 Registered: May 2000
|
Senior Member |
|
|
In article <47bf1c7c.0308290841.275af4e2@posting.google.com>,
sraffuse@hotmail.com (Sean Raffuse) wrote:
> Hello,
>
> I am trying to use map_patch to warp a swath of satellite data to
> geographic coordinates. I have lat/lons for each pixel and the data
> are not evenly spaced, so I am using the triangulate keyword. In
> fact, the call looks like this:
>
> warped = map_patch(data[0,*,*], longitude, latitude, /triangulate)
>
> The problem is that the routine triangulates between pixels that don't
> makes sense. My data is concave on both the left and right. The
> final warped image should be shaped sort of like an hourglass. I do
> not want the data interpolated at the "neck" of the hourglass, forming
> a rectangle. This area should be simply null. map_patch() connects
> the data from the top and bottom of the image together.
>
> Has anyone else had to deal with this problem? Any ideas? Does my
> explanation make sense?
You could try warping the image as a set of tiles. That won't eliminate
the problem complete, but it could reduce enough for your needs.
Ken Bowman
|
|
|