visual3d:documentation:pipeline:signal_commands:interpolate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:signal_commands:interpolate [2024/06/19 14:03] – created sgranger | visual3d:documentation:pipeline:signal_commands:interpolate [2025/05/20 13:35] (current) – Cleaned up page for a customer. Still needs to be put into Pipeline project format. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | If there are unreliable data points (residuals < 0) in any signal it is possible to interpolate these gaps in the data using a spline interpolation. | + | ====== Interpolate ====== |
- | ===== Visual3D Version 4 ===== | + | The Interpolate command fills in any gaps in a signal' |
The interpolation procedure performs a least-squares fit of an nth order polynomial to k data points. | The interpolation procedure performs a least-squares fit of an nth order polynomial to k data points. | ||
- | |(x1, | + | < |
+ | |(x1, | ||
+ | </ | ||
- | \\ | + | The command |
- | + | < | |
- | + | Interpolate | |
- | |**Interpolate** | + | / |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | + | ||
- | {{InterpolateDlg.png}} | + | |
- | + | ||
- | Dialog that pops up when pipeline selection | + | |
- | + | ||
- | ==== Using an expression | + | |
- | + | ||
- | This is considerable more klunky because it requires 3 commands instead of 1: | + | |
- | + | ||
- | **Evaluate_Expression** | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | **Set_Pipeline_Parameter_To_Data_Value** | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | **;** | + | |
- | **Interpolate** | + | |
- | / | + | |
! / | ! / | ||
! / | ! / | ||
! / | ! / | ||
! / | ! / | ||
- | / | + | / |
! /NUM_FIT=3 | ! /NUM_FIT=3 | ||
! / | ! / | ||
- | **;** | + | ; |
- | ===== Visual3D Version 5 ===== | + | </ |
- | In version 5 we permit the three numerical parameters to have expressions. | + | {{: |
- | **Interpolate** | + | ===== Parameters ===== |
- | / | + | |
- | ! / | + | ^ Parameter ^ Description ^ |
- | ! / | + | | /Signal_Types | The type of signal to be processed. | |
- | ! /RESULT_SUFFIX= | + | | /Signal_Names | The names of the signals to be processed. | |
- | ! /RESULT_FOLDER=PROCESSED | + | | /Signal_Folder | The name of the signal folder. | |
- | /MAXIMUM_GAP=0.1*PARAMETERS:: | + | | /Num_Fit | The number of frames of data before and after the " |
- | ! /NUM_FIT=3 | + | | /Polynomial_Order | The order of the polynomial used. | |
- | ! /POLYNOMIAL_ORDER=3 | + | | / |
- | **;** | + | |
- | {{InterpolateDlg2.jpg}} | + | ===== Example: |
- | ==== Using an expression | + | |
Define the maximum size of the gap based on the POINT frame rate. | Define the maximum size of the gap based on the POINT frame rate. | ||
- | {{InterpolateDlg3.jpg}} | ||
+ | {{: | ||
visual3d/documentation/pipeline/signal_commands/interpolate.1718805817.txt.gz · Last modified: 2024/06/19 14:03 by sgranger