visual3d:documentation:pipeline:signal_commands:cross_correlation
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:cross_correlation [2024/06/17 18:22] – created sgranger | visual3d:documentation:pipeline:signal_commands:cross_correlation [2024/11/15 19:00] (current) – [RESULT] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cross Correlation ====== | ||
+ | The Cross_Correlation command can be used to determine if there is a relationship between two signals when one is shifted relative to the other. This command can also be used to calculate the self-similarity of a signal with a time-delayed version of itself. In this case the command calculates the signal' | ||
+ | More about calculating cross-correlations can be found on [[https:// | ||
+ | ===== Cross_Correlation ===== | ||
- | \\ | + | The **Cross_Correlation** command calculates the cross-correlation between two signals. |
- | + | < | |
- | The Cross_Correlation | + | Cross_Correlation |
- | + | ||
- | More about calculating cross correlations can be found [[http:// | + | |
- | + | ||
- | ====== Cross_Correlation ====== | + | |
- | + | ||
- | The **Cross_Correlation** command may be used to calculate the cross correlation between two signals. | + | |
- | + | ||
- | **Cross_Correlation** | + | |
! / | ! / | ||
/ | / | ||
Line 30: | Line 26: | ||
! / | ! / | ||
! / | ! / | ||
- | **;** | + | ; |
- | [[Cross_Correlation_Dialog.png]] | + | </ |
- | ====== Parameters ====== | + | {{: |
- | ===== MAX_DELAY | + | ===== Parameters |
- | The **MAX_DELAY** indicates | + | Understand |
- | The number of frames in the resulting signal | + | ==== SIGNAL1 ==== |
- | MAX_DELAY may also be considered as the " | + | The / |
- | A delay of 10 will result in 21 values (-10 to 10). A result at -10 will indicate that Signal ONE was shifted -10 frames relative to Signal TWO. A result at 10 will indicate that Signal ONE was shifted +10 frames relative to Signal TWO. | + | ==== SIGNAL2 ==== |
- | A MAX_DELAY that is small will likely be inadequate to display | + | Similarly, |
- | To further review the shift between the two signals, an example script and power point can be downloaded [[https:// | + | ==== RESULT ==== |
- | ===== DATA_WRAP ===== | + | The / |
+ | * The result' | ||
+ | * The result' | ||
- | Data Wrapping indicates that the siganl is consider to loop. | + | ==== MAX_DELAY ==== |
- | With no Data Wrap and a MAX_DELAY | + | The /MAX_DELAY |
- | With Data Wrap, all frames | + | The size of the resulting signal |
- | \\ | + | Setting the /MAX_DELAY parameter to a value that is too small will likely be inadequate to capture the correlation of two signals. Setting the /MAX_DELAY parameter to be the length of the two signals will cover all possible correlations. To further review the shift between the two signals, an example script and power point can be downloaded [[https:// |
+ | ==== DATA_WRAP ==== | ||
- | ====== Example: Using the Cross Correlation Result ====== | + | The /DATA_WRAP parameter is a binary flag indicating whether |
- | If you want just the frame offset with the highest correlation, | + | With no Data Wrap and a MAX_DELAY of half the length of the signal, the first and last frames of the resulting signal will only be comparing half the signal. With Data Wrap, all frames of the resulting signal will be a correlation resulting from comparing all frames of the two signals. |
+ | |||
+ | ===== Example: Find the Frame Offset with Highest Correlation ===== | ||
+ | |||
+ | If you want just the frame offset with the highest correlation, | ||
< | < | ||
Line 100: | Line 103: | ||
; | ; | ||
</ | </ | ||
- | |||
- | |||
visual3d/documentation/pipeline/signal_commands/cross_correlation.1718648570.txt.gz · Last modified: 2024/06/17 18:22 by sgranger