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 12:53] – 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 | + | 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 is given in text form as: |
+ | < | ||
+ | Interpolate | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | {{: | ||
- | |**interpolate** | + | ===== Parameters ===== |
- | |**/ | + | |
- | |**/ | + | |
- | |**/ | + | |
- | |**/num_fit=** |the number of frames of data before and after the " | + | |
- | |**/ | + | |
- | |**/ | + | |
- | interpolatedlg.png | + | ^ Parameter ^ Description ^ |
+ | | / | ||
+ | | / | ||
+ | | / | ||
+ | | /Num_Fit | The number of frames of data before and after the " | ||
+ | | / | ||
+ | | / | ||
- | dialog that pops up when pipeline selection is edited by double clicking with the left mouse button. | + | ===== Example: Using an expression ===== |
- | ==== using an expression in version 4 ==== | + | Define the maximum size of the gap based on the POINT frame rate. |
- | this is considerable more klunky because it requires 3 commands instead of 1: | + | {{:InterpolateDlg3.jpg}} |
- | **evaluate_expression** | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | **;** | ||
- | **set_pipeline_parameter_to_data_value** | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | ! / | ||
- | **;** | ||
- | **interpolate** | ||
- | / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | / | ||
- | ! /num_fit=3 | ||
- | ! / | ||
- | **;** | ||
- | ===== visual3d version 5 ===== | ||
- | |||
- | in version 5 we permit the three numerical parameters to have expressions. | ||
- | |||
- | **interpolate** | ||
- | / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | / | ||
- | ! /num_fit=3 | ||
- | ! / | ||
- | **;** | ||
- | interpolatedlg2.jpg | ||
- | ==== using an expression in version 5 ==== | ||
- | |||
- | define the maximum size of the gap based on the point frame rate. | ||
- | interpolatedlg3.jpg | ||
- | |||
- | }}}}}} |
visual3d/documentation/pipeline/signal_commands/interpolate.1718801591.txt.gz · Last modified: 2024/06/19 12:53 by sgranger