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

Home » Public Forums » archive » Surface fitting image with missing data
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
Surface fitting image with missing data [message #61811] Wed, 30 July 2008 17:12
jradavenport is currently offline  jradavenport
Messages: 6
Registered: July 2007
Junior Member
Hey all;

I have a 2-D array (essentially an image) with dimensions [n,m]

There is a large chunk in a corner of the image with no data. All
pixels have values greater than 1, except within this chunk, which =
0.

SFIT fits these as valid points and tips my surface (a plane) towards
this corner! I thought I would be terribly clever by doing the
following:

result = sfit( finite(image/(image gt 0)),1,/max_degree)

alas, SFIT isnt playing ball and makes a whole array of /NaN...

Thoughts? Is there a version of SFIT (or something similar) with a /
NaN keyword? A more clever way to fit a simple surface to an image
with missing data? Thanks folks

- Jim
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Newbie question concerning summations/loops in IDL
Next Topic: Re: How to extract sub-string from array

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

Current Time: Thu Oct 09 22:51:08 PDT 2025

Total time taken to generate the page: 0.16001 seconds