Introduction to Labeling Tools
You can use labeling tools to label the images and hence provide data for deep learning training.
You can choose among the following labeling tools built in the software according to actual needs.
| Please create labels of corresponding classes according to the needs of the current project before using labeling tools. |
Pre-trained Labeling Tool
After you validate a model, you can use the Pre-trained Labeling Tool to automatically label a single image.
-
In the labeling toolbar, click the Pre-trained Labeling Tool icon
(or press T on the keyboard). -
In the upper part of the image, click Start labeling to enable the automatic labeling.
| After the labeling process is finished, you can view a yellow triangle in the upper left corner of the sequence number of the image. |
Mask Tool
If there are some irrelevant parts that may interfere with model training, you can use the Mask Tool to cover such parts. The masked parts will not be involved in training. It is recommended to set a distinct color for the mask.
The Mask Tool supports different mask modes. You can choose whether the mask takes effect only on the current image or on all images as required.
You can choose among the following three mask tools built in the software according to actual needs.
Mask Polygon Tool
-
Click the Mask Polygon Tool icon
(or press Shift + P on the keyboard). -
Set “Fill” for the mask.
-
Click the first position (vertex) in the selection area, then click the second one, third one, etc., to draw the labels, and right-click to finish.
Mask Brush Tool
-
Right-click the Mask Polygon Tool icon
, and then click the Mask Brush Tool icon
(or press Shift+B on the keyboard). -
Set the “Fill” of the mask and adjust the slider to determine the brush size.
-
Press and hold the left mouse button in the selection area, move in any direction, and then release the left mouse button to finish the drawing.
Mask Lasso Tool
-
Right-click the Mask Polygon Tool icon
, and then click the Mask Lasso Tool icon
(or press Shift+N on the keyboard). -
Set “Fill” for the mask.
-
Press and hold the left mouse button in the selection area and move in any direction to form closed shapes with the starting point.
Mask Mode
Mask modes are divided into Single image mask and Global mask.
-
Single image mask: The mask is only valid in the current image.
You can copy and paste single image masks by following the steps below.
-
Use the Mask Tool to draw a single image mask.
-
Click the Select Tool icon
(or press F on the keyboard). -
In the labeling region, right-click the mask to be copied and click Copy (or press Ctrl+C on the keyboard); in the target image, right-click and select Paste (or press Ctrl + V on the keyboard). You can also select multiple target images in the image list, right-click and select Paste Mask(s) to paste them in batches.
-
-
Global mask: The mask applies to all images.
Eraser Tool
Mask Eraser Tool
The Mask Eraser Tool can be used to erase the masks.
Polygon Mask Eraser Tool
-
Click the Polygon Mask Eraser Tool icon
(or press Ctrl+Alt+P on the keyboard). -
Click the first position (vertex) in the selection area, then click other positions, and finally right-click to complete the drawing to erase the masks within the polygon area.
Brush Mask Eraser Tool
-
Right-click the Polygon Mask Eraser Tool icon
, then select the Brush Mask Eraser Tool icon
(or press Ctrl+Alt+B on the keyboard). -
Press and hold the left mouse button in the selection area and drag in any direction to erase the masks along the drag path. You can set the Brush shape to Round or Square and adjust the brush size using the slider.
Lasso Mask Eraser Tool
-
Right-click the Polygon Mask Eraser Tool icon
, then select the Lasso Mask Eraser Tool icon
(or press Ctrl+Alt+N on the keyboard). -
Press and hold the left mouse button in the selection area and drag in any direction until the path forms a closed shape, then release the button to erase the masks within the enclosed area.
|
For modules that support Single image mask and Global mask, the Mask Eraser Tool can only erase masks drawn in the current mask mode. To batch clear single image masks, select one or more images in the image list, then right-click and select Clear Single Image Mask(s). |
ROI Tool
You can use the ROI Tool to set the region of interest.
Setting the ROI can avoid interferences from the background.
-
Click the ROI Tool icon
(or press O on the keyboard). -
Adjust the ROI frame in the selection region.
-
Click the application icon
in the lower-right corner of the ROI to apply the current ROI or click the close icon
to disable the ROI Tool. -
Click the Reset button in the upper left corner of the image to reset the ROI.
Select Tool
You can use the Select Tool to scale images.
-
In the labeling toolbar, click the Select Tool icon
(or press F on the keyboard). -
Place the cursor in the labeling area of the image and use the mouse wheel to scroll forward to zoom in and scroll backward to zoom out.