The tool consists of:
- Tool buttons: contains tool action for opening image, visible controls for annotations and orientations, data io functions for annotations.
- Main canvas: space where you can annotate orientations, and width (length will be automatically computed).
- Width slider: simple width controller for the next/selected target annotation.
- Color settings: contains key visual settings to change colors.
- Annotation list: simple list selection used for changing width or removing an annotation.
![annotation tool](/AGU-Graphics/StrokeTransfer/raw/main/images/annotation/annotation_tool.png)
Inputs |
Description |
Open Image Button (Ctrl + I)
![open image button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/open_image_button.png) |
Open exemplar image (.png) with file dialog. |
Note: If you run the annotation tool from our command line tool interface, the exemplar image will be loaded on the initial state.
You can add annotations using the following inputs.
Inputs |
Description |
Click |
Add a new vertex for the current annotation. |
Double-Click |
Add the last vertex for the current annotation and append it to the annotation list. |
Add Button (Enter) ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/add_button.png) |
Append the current annotation to the annotation list. |
Inputs |
Description |
Select on Annotation List UI
![width slider](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/annotation_list.png) |
Select an annotation for width control and deleting. |
Inputs |
Description |
Width Slider
![width slider](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/width_slider.png) |
Change the width of the selected annotation.
The width value is also used for current annotation. |
Inputs |
Description |
Delete Button (Delete) ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/delete_button.png) |
1. Select an annotation from Annotation List UI. 2. Delete the selected annotation. |
Inputs |
Description |
Visible Annotation Button ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/visible_annotation_button.png) |
Show/hide annotations. |
Visible Orientation Button ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/visible_orientation_button.png) |
Show/hide interpolated orientations (vector field). |
Inputs |
Description |
Save Annotation Button (Ctrl + S) ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/save_annotation_button.png) |
Save annotation data (.json) with the file dialog. |
Inputs |
Description |
Open Annotation Button (Ctrl + O) ![add button](/AGU-Graphics/StrokeTransfer/raw/main/python/util/tool/screen_shots/open_annotation_button.png) |
Open annotation data (.json) with the file dialog. |