Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

2D Array Interpolation

12 ratings | 4.92 out of 5
Print

Downloads

Filename: 2d_interpolation_demo.zip
Requirements: View

This example demonstrates how to perform a 2D array interpolation by doing two successive 1D interpolations on the rows and columns of the array. It uses a cubic spline interpolant, but can be modified to implement any 1D interpolation method. It can be applied to general 2D arrays or IMAQ images (after using IMAQ ImageToArray).

The demo VI generates a 2D array containing a hyperbolic image and calls the 2Dinterpolation.vi. The generated array and resulting interpolation are displayed in intensity graphs on the front panel.

Requirements


Filename: 2d_interpolation_demo.zip

Software Requirements


Application Software: LabVIEW Full Development System 5.1
Language(s): LabVIEW

 
12 ratings | 4.92 out of 5
Print

Reader Comments | Submit a comment »

I've commented + extended this example
My commented and extended version of this sample code is posted in the "2D spline interpolation" forum at: http://forums.ni.com/ni/board/message?board.id=170&message.id=58045&jump=true#M58045 You're welcome to use or fix it, I place this contribution into the "public domain". CHEERS, citizenDAK
- Jun 29, 2006

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).