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

Home » Public Forums » archive » interpolate with missing values
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: interpolate with missing values [message #77000 is a reply to message #76915] Mon, 18 July 2011 15:40 Go to previous message
Marcos van Dam is currently offline  Marcos van Dam
Messages: 1
Registered: July 2011
Junior Member
On Jul 16, 7:08 am, Yun <bernat.puigdomen...@gmail.com> wrote:
> Hi IDLers,
>
> I would like to have a 2D interpolation routine to do the same as
> INTERPOLATE but taking in account missing values.
> What I am doing right now is setting the missing values to !NAN and
> then I use INTERPOLATE. When the routine wants to interpolate a point
> surrounded by 4 points, it uses bilinear interpolation and if one of
> them is !NAN then it returns !NAN.
>
> In this same example (1 point = !NAN) I would like to compute the
> interpolation using some kind of triangulation using the 3 finite and
> valid points.
> I don't really know if this way to proceed is correct and what I
> should do to interpolate, for example, a point surrounded by 2 missing
> values and 2 valid points.
>
> Does all of this make sense to you ? Did you ever try to do something
> similar ?
>
> Suggestions, examples or comments are really appreciated. Thank you in
> advance,
> nata

You can use krig2d to interpolate irregularly sampled data.
[Message index]
 
Read Message
Read Message
Previous Topic: Transferring image pixel values to a DICOM file
Next Topic: List->toArray() with structures in IDL 8.1

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

Current Time: Wed Oct 08 15:27:46 PDT 2025

Total time taken to generate the page: 0.00373 seconds