tutorials:qsm:manipulation-gui
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:qsm:manipulation-gui [2025/10/13 10:04] – ["Fixing" a diameter] Tim | tutorials:qsm:manipulation-gui [2025/10/13 11:21] (current) – [Open as new project] Tim | ||
---|---|---|---|
Line 23: | Line 23: | ||
==== Open as new project ==== | ==== Open as new project ==== | ||
- | If the QSM plugin is installed a .qsm file can be opened from the GroIMP main menu: 'Files/Open...' | + | If the QSM plugin is installed a .qsm file can be opened from the GroIMP main menu: ' |
The project created from this will start automatically in the QSM layout providing the QSM inspector and the Node toolbar 3d. Yet this project has not RGG runtime and can therefore not execute any code, it is purely usable through GUI interaction. | The project created from this will start automatically in the QSM layout providing the QSM inspector and the Node toolbar 3d. Yet this project has not RGG runtime and can therefore not execute any code, it is purely usable through GUI interaction. | ||
Line 49: | Line 49: | ||
{{ : | {{ : | ||
- | Lets try our first tool: " | + | The buttons that appear in the node toolbar if a shoot is selected are representing the shoot based tools ( see: [[https:// |
+ | These tools are always applied on the selected shoots, lets first try a simple one, that only requires one selection: " | ||
+ | First find a shoot that has a significant (and probably unrealistic) diameter difference to its parent and successor. Select this shoot and the fit diameter button: | ||
+ | {{: tutorials: | ||
+ | |||
+ | This sets the diameter of the shoot to the average of the parent and the child diameter. | ||
===== Smoothing ===== | ===== Smoothing ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Some tools require more than one input, for example the smoothing function which replaces a path of cylinders with one cylinder straight from the first selected one to the second selected one. | ||
+ | |||
+ | This can be used to improve reconstruction issues(such as wrongly rotated cylinders, or wired curves), by first selecting a shoot below the " | ||
+ | |||
+ | (Please make sure both shoots are from the same order! To do a similar step with different orders please consider the bridge tool.) | ||
+ | |||
+ | To improve the result a bit we can simply apply the Split tool: {{: | ||
+ | |||
===== Readjusting taxonomy ===== | ===== Readjusting taxonomy ===== | ||
+ | |||
+ | In a QSM as a structured dataset, each shoot hold the information about its direct parent, which influences metrics such as the branching order or the trend. In GroIMP this relationship is displayed in the project graph. | ||
+ | Using the GUI tools it is possible to change this relationships without effecting the geometrical position of the branches. | ||
+ | |||
+ | ==== Adjusting lateral branching ==== | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | If a branch seems to be connected to the wrong parent, (e.g. two shoots emerge in close proximity on the trunk and one is wrongly considered as a lateral child of the other) this can be corrected using the "link as lateral child" tool. | ||
+ | To do so first select the new parent, hold ' | ||
+ | |||
+ | ==== Adjust apical branching ==== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | The other main source of taxonomical error is that the reconstruction algorithm choose the wrong child to the the apical successor. This can be fixed with the "link as apical child" tool, by changing the type of connection or creating new once. | ||
+ | |||
+ | It is important to ensure that no shoot end up having two successor! While this is possible for GroIMP, it is not working well with the qsm plugin since it does not follow the logic of the taxonomy. | ||
+ | |||
+ | |||
+ | For example if we want to change the apical shoot as shown in the gif above, we first turn the old apical child into a lateral one by selecting first the parent, then the child as explained above. | ||
+ | Afterwards we can follow the same steps with the parent shoot and the new apical shoot but press the "link as apical child" button: {{: | ||
+ | | ||
+ | |||
===== Shift to parent ===== | ===== Shift to parent ===== | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Either based on the reconstruction process or the previous changes, QSMs are likely to have gaps between the parent and the child shoot. The GroIMP QSM plugin provides a simple shifting approach to move a shoot closer to its parent. | ||
+ | |||
+ | As shown in the gif,this can be applied in different configurations: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | ==== Tree wide ==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | All four of this approaches can also be applied tree wide (on all shoots at the same time). | ||
+ | This should be done with caution because it can change the shape of the data quite intensely. | ||
+ | |||
+ | The function can be found in the main menu 'Edit > QSM > shift all > ...', in the example in the gif the fit to axis version is used. | ||
+ | |||
+ | ===== Export ===== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | To export the processed QSM for further usage, the export function in the menu of the 3d view is used: 'View > Export > complete scene' | ||
+ | This allows to export to a qsm file that can be processed using e.g. the [[https:// | ||
tutorials/qsm/manipulation-gui.1760342690.txt.gz · Last modified: 2025/10/13 10:04 by Tim