Jump to content

Polynomial Fit for 2d arrays


Recommended Posts

I have a function that finds a polynomial fit of each pixel location through multiple images and it's taking a very long time to calculate (because of the hundreds of 1000s of pixel location it needs to iterate through). I would like to create a new function that works on all of the pixels in the images at once, but the subVI in the original function, "General Polynomial Fit.VI", makes a call to the lvanlys.dll, making this difficult to implement.

Any ideas?

Bruce

Link to comment

QUOTE(bmoyer @ Mar 7 2008, 03:41 PM)

I have a function that finds a polynomial fit of each pixel location through multiple images and it's taking a very long time to calculate (because of the hundreds of 1000s of pixel location it needs to iterate through). I would like to create a new function that works on all of the pixels in the images at once, but the subVI in the original function, "General Polynomial Fit.VI", makes a call to the lvanlys.dll, making this difficult to implement.

Any ideas?

Bruce

Well you can you use linear algebra functions to a make line or a plane fit.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.