visual3d:tutorials:knowledge_discovery:signal_processing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:tutorials:knowledge_discovery:signal_processing [2024/07/29 20:22] – [Interpolate and Filter the TARGET signals] wikisysop | visual3d:tutorials:knowledge_discovery:signal_processing [2025/01/15 19:33] (current) – [Signal Processing] wikisysop | ||
---|---|---|---|
Line 3: | Line 3: | ||
The objective of this tutorial is **to provide an overview of signal processing in Visual3D.** | The objective of this tutorial is **to provide an overview of signal processing in Visual3D.** | ||
- | Most signal processing functionality is available through the **Command Pipeline**, so it is advisable that you are familiar with the material in the previous [[Visual3D: | + | Most signal processing functionality is available through the **Command Pipeline**, so it is advisable that you are familiar with the material in the previous [[Visual3D: |
+ | |||
+ | The ZIP file [[https:// | ||
+ | * **Tutorial4_Start**: | ||
+ | * **Tutorial4_InterpolateFilterApplied_End.cmz**: | ||
+ | |||
+ | If you prefer, a video tutorial is available outlining | ||
===== Preparation ===== | ===== Preparation ===== | ||
- | - Open [[https:// | + | - Open Tutorial4_Start.cmz, |
- | - Click on Signal and Event Processing to visualize the animation of the model based on the movement data and the model that was applied to it. If the animation doesn’t appear in the 3D Animation viewer, check the active file combo box on the toolbar. It should read ’Walking Trial 1.c3d’ rather than ALL-FILES | + | - Click on Signal and Event Processing to visualize the animation of the model based on the movement data and the model that was applied to it. If the animation doesn’t appear in the 3D Animation viewer, check the active file combo box on the toolbar. It should read ’Walking Trial 1.c3d’ rather than ALL_FILES |
- If the animation is not playing, click on the PLAY button of the VCR controls at the bottom of the screen. | - If the animation is not playing, click on the PLAY button of the VCR controls at the bottom of the screen. | ||
- There are many viewing options for the Animation viewer available under the View Menu item or by clicking with the Right Mouse Button in the Animation Viewer itself. You should play around with these options to see the effects they have; most of the effects are intuitively obvious. | - There are many viewing options for the Animation viewer available under the View Menu item or by clicking with the Right Mouse Button in the Animation Viewer itself. You should play around with these options to see the effects they have; most of the effects are intuitively obvious. | ||
Line 14: | Line 20: | ||
===== Visual3D Philosophy ===== | ===== Visual3D Philosophy ===== | ||
- | When a c3d file is loaded the data is copied into the Visual3D workspace. Visual3D follows a philosophy that **your original data is sacrosanct**. You should definitely check out the [[Visual3D: | + | When a [[visual3d: |
- | The sacrosanct status of your original data means that the original data itself should | + | Visual3D ensures that your original data is never be changed or modified. |
- | You need to be aware of any pre-processing done by your camera or analog equipment manufacturer. Some vendors interpolate and/or filter data **prior** to creating an output file, perhaps in order to make their output | + | You need to be aware of any pre-processing done by your camera or analog equipment manufacturer. Some vendors interpolate and/or filter data **prior** to creating an output file, perhaps in order to make their output |
- | Being wary of unwarranted assumptions is also why we advocate capturing data in as ”raw” a form as possible. For example, if all we have is pre-computed ground reaction data from a force plate as input, we have to make the (possibly unwarranted) assumption that all the force plate properties, calibrations, | + | Being wary of unwarranted assumptions is also why we advocate capturing data in as "raw" |
- | We have been challenged on this notion of the " | + | We have been challenged on this notion of the raw data because Visual3D doesn' |
- | ===== Basic Signal Processing | + | ===== Interpolate and Filter TARGET signals using the Graphical Interface |
Several basic signal processing functions are available interactively by selecting a second tier FOLDER (e.g. TARGET: | Several basic signal processing functions are available interactively by selecting a second tier FOLDER (e.g. TARGET: | ||
Line 30: | Line 36: | ||
- Lowpass Filter | - Lowpass Filter | ||
- Highpass Filter | - Highpass Filter | ||
+ | - GCVSPL | ||
+ | - DFT | ||
- Interpolate | - Interpolate | ||
- Rectify | - Rectify | ||
- | ===== Interpolate and Filter the TARGET signals ===== | + | Interpolating and Filtering TARGET data is a two-step process. The available functions in the graphical user interface can be used to complete this process. |
- | + | ||
- | Interpolating and Filtering | + | |
- Expand the data tree in **Signal and Event Processing** mode. | - Expand the data tree in **Signal and Event Processing** mode. | ||
- With the **Right Mouse** Button select the **ORIGINAL** folder under the **TARGET** folder. | - With the **Right Mouse** Button select the **ORIGINAL** folder under the **TARGET** folder. | ||
- With the **Left Mouse** Button select the **interpolate** option. \\ {{: | - With the **Left Mouse** Button select the **interpolate** option. \\ {{: | ||
- | - Select **Done** to execute the command. \\ See [[index.php? | + | - Select **Done** to execute the command. \\ Note that a **PROCESSED** folder has appeared under the **TARGET** folder in the data tree. \\ {{: |
- With the **Right Mouse Button** select the **PROCESSED** folder under the **TARGET** folder. | - With the **Right Mouse Button** select the **PROCESSED** folder under the **TARGET** folder. | ||
- With the **Left Mouse** Button select the **lowpass** option. \\ {{: | - With the **Left Mouse** Button select the **lowpass** option. \\ {{: | ||
Line 46: | Line 52: | ||
- Note that only a **PROCESSED** folder exists under the **TARGET** folder in the data tree (e.g. a new PROCESSED folder wasn't created). By default Visual3D uses only one PROCESSED folder, which contains the most recent processing done to a signal. | - Note that only a **PROCESSED** folder exists under the **TARGET** folder in the data tree (e.g. a new PROCESSED folder wasn't created). By default Visual3D uses only one PROCESSED folder, which contains the most recent processing done to a signal. | ||
- Expand the **PROCESSED** folder in the data tree and with the **Left Mouse** Button select the signal **LFT1.** A dialog appears containing 3 tabs. Selecting the **History** tab will display a list of the processing steps that have been applied to this signal \\ {{: | - Expand the **PROCESSED** folder in the data tree and with the **Left Mouse** Button select the signal **LFT1.** A dialog appears containing 3 tabs. Selecting the **History** tab will display a list of the processing steps that have been applied to this signal \\ {{: | ||
- | - If you want to protect the **PROCESSED** folder so that it is not replaced by the next processing step. | + | - If you want to protect the **PROCESSED** folder so that it is not replaced by the next processing step, you should |
- | + | ||
- | See [[https:// | + | |
===== Interpolate and Filter the TARGET signals using the Command Pipeline ===== | ===== Interpolate and Filter the TARGET signals using the Command Pipeline ===== | ||
- | The preceding signal processing (e.g. interpolate then filter) | + | Interpolating and Filtering TARGET data can also be accomplished using the Command Pipeline. |
- | **NOTE: | + | **NOTE: |
- Launch the Command Pipeline Dialog by clicking the pipeline button {{: | - Launch the Command Pipeline Dialog by clicking the pipeline button {{: | ||
- Expand the TARGET folder in the data tree (in Signal and Event Processing Mode) and select the check box beside the ORIGINAL folder. | - Expand the TARGET folder in the data tree (in Signal and Event Processing Mode) and select the check box beside the ORIGINAL folder. | ||
- | - Expand the **Signal | + | - Expand the **Signal |
- Double click on the **Interpolate** to load the command into the pipeline | - Double click on the **Interpolate** to load the command into the pipeline | ||
- | - Click on **Import Checked Signals | + | - Click on **Import Checked Signals |
- Select the **Execute Pipeline** button to execute the interpolate command. | - Select the **Execute Pipeline** button to execute the interpolate command. | ||
- When you execute the pipeline, Visual3D executes in order all commands in the pipeline. A dialog will appear with the results of the processing. It lists the output of each command and highlights any errors. Pipelines are useful for ordering a set of tasks so that they always occur in the same order. But pipelines must be set up precisely in order to work. | - When you execute the pipeline, Visual3D executes in order all commands in the pipeline. A dialog will appear with the results of the processing. It lists the output of each command and highlights any errors. Pipelines are useful for ordering a set of tasks so that they always occur in the same order. But pipelines must be set up precisely in order to work. | ||
Line 81: | Line 85: | ||
For example, to compute the absolute value of multiplying 2 signals use the following. | For example, to compute the absolute value of multiplying 2 signals use the following. | ||
- | **Evaluate_Expression** | + | < |
- | **/Expression**= abs(ANALOG:: | + | Evaluate_Expression |
- | **/ | + | / |
- | **/ | + | / |
- | **/ | + | / |
- | **;** | + | / |
- | \\ | + | ; |
+ | </ | ||
visual3d/tutorials/knowledge_discovery/signal_processing.1722284520.txt.gz · Last modified: 2024/07/29 20:22 by wikisysop