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
interpolate with missing values [message #76915] Fri, 15 July 2011 12:08 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
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
[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 13:34:20 PDT 2025

Total time taken to generate the page: 0.00540 seconds