Overlays, Layers, and Shapes

Images can be annotated with Tags, Properties, and Shapes. Shapes are organized into Layers and Overlays, and Overlays can be associated with Images. A Cell can contain multiple Overlays with Layers and Shapes.

Tip
Images and Overlays with the same name are connected and displayed together, including all the Layers and Shapes within them.

Shapes, Layers, and Overlays can be managed in the Editor app.

Overlays

Note
Overlays can be automatically created when adding Shapes to Images. These automatically created Overlays have the same name as the Images and are connected to them. Custom-made Overlays can have any structure, and the connection to the Images is optional and defined by name.

Create an empty Overlay

  1. Left-click on the More button.

    Overlays More options
    Figure 1. Overlays More options
  2. Click Create empty overlay.

    Create empty overlay
    Figure 2. Create an empty overlay
  3. Set the Overlay name and choose the Searchable option.

    Enter overlay name window
    Figure 3. Enter overlay name window
  4. The saved Overlay is added to the list of Overlays. The Overlay contains an empty virtual Layer called base.

    New Overlay
    Figure 4. New Overlay
    Note
    Name the Overlay the same as the Image to connect them. Images and Overlays with the same name will be displayed together.

Upload Overlay from disk

  1. Left-click on the More button.

    Overlays More options
    Figure 5. Overlays More options
  2. Click Upload overlay.

    Upload overlay
    Figure 6. Upload overlay
  3. Select the Overlay to upload and choose the Searchable option.

    Upload new overlay window
    Figure 7. Upload new overlay window
  4. The uploaded Overlay is added to the list of Overlays.

Copy and paste Overlay

Note
Only one Overlay with the same name can exist in a Cell, so you can copy-paste Overlays between Cells. The copied Overlay includes all non-empty Layers and Shapes, while empty Layers or Overlays without any Shapes are ignored.
  1. Right-click on the Overlay and select the Copy option.

    Copy overlay
    Figure 8. Copy overlay
  2. Go to the Cell where you want to paste the Overlay.

  3. Left-click on the More button.

    More options button
    Figure 9. More options button
  4. Click Paste overlay.

    Paste overlay
    Figure 10. Paste overlay

Overlay details

  1. Right-click on the Overlay and select the Details option.

    Overlay options
    Figure 11. Overlay options
  2. The Overlay details contain information about the Overlay, its Tags, and Properties.

    Overlay details
    Figure 12. Overlay details

Rename Overlay

  1. Right-click on the Overlay and select the Rename option.

    Rename Overlay
    Figure 13. Rename Overlay
  2. Set the new Overlay name.

    Set filename
    Figure 14. Set filename

Download Overlay

  1. Right-click on the Overlay and select the Download option.

    Downolad Overlay
    Figure 15. Download Overlay

The downloaded Overlay is a text file describing the Overlay with all its Layers and Shapes in JSON format. The file is named the same as the Overlay.

Copy Overlay name

  1. Right-click on the Overlay and select the Copy filename option.

    Copy filename
    Figure 16. Copy filename

Delete Overlay

  1. Right-click on the Overlay and select the Delete option.

    Delete Overlay
    Figure 17. Delete Overlay

Layers

Layers group Shapes within Overlays.

Create Layer

Empty Overlays have one virtual base Layer, which is replaced by the first created Layer.

  1. Right-click on the Overlay and select the Add layer option.

    Add layer
    Figure 18. Add layer
  2. Set the Layer name.

    Enter layer name
    Figure 19. Enter layer name
Note
If the Overlay contains only an empty base Layer, it will be replaced by the new one.

Copy and paste Layer

  1. Right-click on the Layer and select the Copy option.

    Copy layer
    Figure 20. Copy layer
  2. Right-click on the Overlay and select the Paste layer option.

    Paste layer
    Figure 21. Paste layer
  3. Save the new Layer by pressing CTRL + S or clicking the Save changes button on the Shape panel.

    Save button
    Figure 22. Save button

The Layer can be pasted into an Overlay that already has a Layer with the same name. The new Layer’s name will be extended with (copy).

Duplicate

  1. Right-click on the Layer and select the Duplicate option.

    Duplicate layer
    Figure 23. Duplicate layer
  2. Set the new Layer name in the popup window.

    Set Layer name
    Figure 24. Set Layer name

Rename Layer

  1. Right-click on the Layer and select the Rename option.

    Rename layer
    Figure 25. Rename layer
  2. Set the new Layer name in the popup window.

    Set Layer name
    Figure 26. Set Layer name

Copy Layer name

  1. Right-click on the Layer and select the Copy name option.

    Copy Layer name
    Figure 27. Copy Layer name

Delete layer

  1. Right-click on the Layer and select the Delete option.

    Delete layer
    Figure 28. Delete Layer

Overlays and Layers visibility

Each Layer and Overlay can be manually enabled or disabled for any Image in the Cell. The Eye symbol associated with the Layer enables or disables the Layer for the active View. The same symbol associated with the Overlay enables or disables all Layers in the Overlay.

Overlay and Layer enabled
Figure 29. Overlay and Layer enabled
Overlay and Layer disabled
Figure 30. Overlay and Layer disabled
Tip
Layers and Overlays can be displayed on Images other than the ones they originally belong to.

Shapes

The annotation panel provides options to create various types of Shapes. Either create the Shapes manually or use one of the available smart tools.

Create Shape

The process to create a Shape is the same for all types, only the Shape definition differs.

  1. Select an Image in a Cell.

  2. Shapes always belong to a Layer and Overlay. Select the appropriate ones, or they will be automatically created if an Overlay with the same name as the Image exists, along with a base Layer.

  3. Select the Shape to create.

    Shape panel
    Figure 31. Shape panel
  4. Choose the Shape template.

    Shape templates
    Figure 32. Shape templates
  5. Draw the Shape on the Image.

    Draw Shape
    Figure 33. Draw Shape
  6. Save the changes.

    Save button
    Figure 34. Save button

Copy and paste Shape

  1. Right-click on the Shape and select the Copy option.

    Copy Shape
    Figure 35. Copy Shape
  2. Right-click on the Layer and select the Paste Shape option.

    Paste Shape
    Figure 36. Paste Shape
  3. Save the new Shape by pressing CTRL + S or clicking the Save changes button on the Shape panel.

    Save button
    Figure 37. Save button

Duplicate

  1. Right-click on the Shape and select the Duplicate option.

    Duplicate Shape
    Figure 38. Duplicate Shape
  2. Set the Layer for the Shape copy. It can be the same Layer, another existing Layer from the list, or a new Layer defined by a unique name.

    Select Layer
    Figure 39. Select Layer
  3. Save the new Shape by pressing CTRL + S or clicking the Save changes button on the Shape panel.

    Save button
    Figure 40. Save button

Shape Details

  1. Right-click on the Shape and select the Details option.

    Shape details
    Figure 41. Shape details
  2. The Shape details window provides information about the Shape, including its size, position, color, and Properties. All these parameters can be changed.

    Shape details window
    Figure 42. Shape details window

Save as template

Each Workspace has a default set of Shape templates, one for each supported shape type. These templates can be managed in the Workspace settings, and new ones can be created in the Editor app. Different Shape templates can be used to add more information to annotations. Each template also has a default color setting.

  1. Right-click on the Shape and select the Save as template option.

    Save as template
    Figure 43. Save as a template
  2. Set the Shape template name.

    Set Shape template name
    Figure 44. Set Shape template name

Delete Shape

  1. Right-click on the Shape and select the Delete option.

    Delete Shape
    Figure 45. Delete Shape

Shape types

Supported shape types include rectangles, oriented rectangles, crosses, polygons, ellipses, paths, and masks. The mask shape can be created manually or computed with the Smart tool. All shapes, except for the Mask, are described as vectors, while the Mask is described as a raster.

Rectangle

A Rectangle is defined by one point, width, and height. It can be rotated by changing the rotation value in the Shape details.

Add rectangle
  1. Click the Add rectangle button.

    Add rectangle button
    Figure 46. Add rectangle button
  2. First left-click to mark the first point.

    First point
    Figure 47. First point
  3. Keep the button pressed and move the cursor to define the rectangle Shape. Release the button to mark the second point.

    Last point
    Figure 48. Last point

Oriented rectangle

An Oriented rectangle is defined by one rotated edge and height.

Add oriented rectangle
  1. Click the Add oriented rectangle button.

    Add oriented rectangle button
    Figure 49. Add oriented rectangle button
  2. First left-click to mark the first point.

    First point
    Figure 50. First point
  3. Keep the button pressed and move the cursor to define the angle of one edge of the Shape. Release the button to mark the second point.

    Angle
    Figure 51. Angle
  4. Move the cursor to define the width of the oriented rectangle and left-click to select the point on the closing edge.

    Width
    Figure 52. Width

Cross

A Cross marks a single point, and its visual style can be customized.

Add cross
  1. Click the Add cross button.

    Add cross button
    Figure 53. Add cross button
  2. Select the Shape template.

  3. Left-click on the Image to define the cross Shape.

    Create cross
    Figure 54. Create cross
    Cross
    Figure 55. Cross

Polygon

A Polygon consists of a minimum of 3 points. If a Polygon is created with fewer than 3 points, it will not be saved. Points can be added to the Polygon as it is being created. An existing Polygon can be edited by adding points to the closest edge, removing points, or moving them.

Add polygon
  1. Click the Add polygon button.

    Add polygon button
    Figure 56. Add polygon button
  2. Select the Shape template.

  3. Left-click to mark each point on the Polygon Shape.

    First point
    Figure 57. First point
    Second point
    Figure 58. Second point
    Third point
    Figure 59. Third point
    Fourth point
    Figure 60. Fourth point
    Fifth point
    Figure 61. Fifth point
  4. Right-click to finish the polygon Shape.

Ellipse

An Ellipse is created within a rectangle. Rotation can be set after the ellipse is created.

Add ellipse
  1. Click the Add ellipse button.

    Add ellipse button
    Figure 62. Add ellipse button
  2. First left-click to mark the first point.

    First point
    Figure 63. First point
  3. Keep the button pressed and move the cursor to define the ellipse Shape. Release the button to mark the second point.

    Last point
    Figure 64. Last point

Path

A Path consists of a minimum of 2 points. The default Path template displays the path with a filled area, which helps with selecting the Shape. To display the path Shape without the filled area, change the Alpha parameter in the color setup.

Path
Figure 65. Path
Add path
  1. Click the Add path button.

    Add path button
    Figure 66. Add path button
  2. Left-click to mark each point on the path Shape.

    Second point
    Figure 67. Second point
    Third point
    Figure 68. Third point
  3. Right-click to finish the path Shape.

Mask

The Mask does not have any predefined shape. It is created by brush painting. There are various brush modes available, including a simple brush, eraser, brush with automatic area fill, and eraser with automatic area fill. The Mask is saved as a text shape description and an image file that shows the foreground and background.

Add mask
  1. Click the Add mask button.

    Add mask button
    Figure 69. Add mask button
  2. Select the brush mode. Options include a simple brush, eraser, brush with automatic area fill, and eraser with automatic area fill.

    Mask brush options
    Figure 70. Mask brush options
  3. Move the mouse and keep the left mouse button pressed or left-click to add an area under the cursor.

    Mask
    Figure 71. Mask
  4. To erase part of the Mask, Click the Remove mask button..

    Remove mask button
    Figure 72. Remove mask button
  5. Move the mouse and keep the left mouse button pressed or left-click to remove an area under the cursor.

    Mask reduced
    Figure 73. Mask reduced
  6. To add an automatically filled Mask shape click the AutoFill add button.

    AutoFill add button
    Figure 74. AutoFill add button
  7. Move the mouse and keep the left mouse button pressed to define the mask borders. Release the button to close the mask area, which will be automatically filled.

    Mask borders
    Figure 75. Mask borders
    Mask filled
    Figure 76. Mask filled
  8. To erase part of the Mask with automatic area fill click the AutoFill remove button.

    AutoFill remove button
    Figure 77. AutoFill remove button
  9. Move the mouse and keep the left mouse button pressed to define the mask borders. Release the button to close the mask area, which will be automatically erased.

    Mask borders
    Figure 78. Mask borders
    Mask filled
    Figure 79. Mask filled

OCR

One of the special functions is OCR detection and recognition. OCR can be used in manual or automatic mode. In manual mode, an oriented rectangle is used as a Shape template, and the expected text needs to be filled in manually. Automatic detection allows selecting a area of the image that is processed automatically by one of the available tools. The detected text is then saved as a Property value.

Add manual OCR
  1. Click the Add OCR button.

    Add Ocr button
    Figure 80. Add Ocr button
  2. Select the Shape template and type. The type can be set to manual or automatic detection.

    Shape template and type
    Figure 81. Shape template and type
  3. Draw the Ocr Shape according to the selected Shape template.

    Ocr selected area
    Figure 82. Ocr selected area
  4. If the type is set to manual, enter the expected text in the prepared Property window.

    Enter expected text
    Figure 83. Enter expected text

Add BeeYard OCR

  1. Click the Add OCR button.

    Add Ocr button
    Figure 84. Add Ocr button
  2. For automatic text detection, set the type to BeeYard OCR.

    BeeYard OCR type
    Figure 85. BeeYard OCR type
  3. Select an area for automatic text detection.

    BeeYard OCR area
    Figure 86. BeeYard OCR area
  4. Allow BeeYard to detect the text in the selected area.

    BeeYard OCR detected
    Figure 87. BeeYard OCR detected

    The resulting rectangle with the text may be smaller than the originally selected area, or multiple rectangles with the detected text may be displayed.

Smart tool

The Smart tool is used to detect the background and foreground of an Image. The result is a mask that can be edited similarly to the Mask shape.

Use the Smart tool
  1. Click the Smart tool button.

    Use Smart tool
    Figure 88. Use Smart tool
  2. Select the desired type.

    Select type
    Figure 89. Select type
  3. Select the area for detection.

    Select area
    Figure 90. Select area
  4. The Smart tool detects the foreground and background and creates a mask.

    Mask detected
    Figure 91. Mask detected