In this chapter you will get to know the functions of the Layer Editor.
The Layer Editor allows you to mark regions of an image in different colours by drawing polygons within different layers. Layers can have metadata in multiple languages consisting of a name and an annotation as well as being linked to any other elements of the project. This link is called up by clicking on the polygons of the layer in the HyperImage Reader or in the preview of the Object Editor (double click or right mouse button).
Opening the Layer Editor
Select an object in the Group Browser and open the Object Editor. In the section “View Details” click on the “Edit Layers” icon. Alternatively you can right-click on an existing polygon and select “Edit Layers” from the context menu or double click the desired region in the section “Object view”.
The Layer Editor is divided into three sections: “Layers”, “Modify polygons” and “Layer Properties”. In “Layers” you can see the layers and their respective colours of your image and select individual layers. The section “Modify polygons” contains the polygon editor and the central part of the whole HyperImage Editor. In “Layer Properties” you can work on metadata, links, colours of the layers.
Click the “+” icon in the “Layers” Section. A new layer with pre-chosen title is added, which you can start working on immediately. Alternatively you can right-click in the “Layers” section and select “New layer” from the context menu.
Select a layer from the “Layers” section by clicking on the relevant layer. If you have already drawn polygons, you can also select a layer via its individual polygons, by right-clicking on a polygon inside the “Modify polygons” section and then selecting “Polygon Layer” from the context menu. As long as your mouse is not within the “Modify polygons” section, a bright border will emphasize the polygons of the currently selected layer.
You can sort single layers by clicking on the name of a layer in the “Layers” section and (while keeping the mouse button pressed) dragging the layer to the chosen position in the list.
You can copy single layers to different views. Open the view, into which the layer should be copied, in a new Layer Editor window. You copy the layer by clicking on the name of the layer that you want to copy in the “Layers” section while keeping the mouse button pressed and dragging the layer to the chosen position in the list of the other view. While doing this all the polygons as well as the layer colour and the transparency settings are copied.
You can put layers, like all the other elements too, into a group via drag&drop.
Open a Group Browser and in the Layer Editor select the layer that you want to copy into a group from the “Layers” section. Drag the layer from the Layer Editor to the Group Browser window and in the section “Groups” on the chosen group and let go of the mouse button.
Select the relevant layer in the “Layers” section and click on the “-” icon (remove) underneath the section “Layers”. Alternatively you can right-click inside the “Layers” section and select “Delete current layer” from the context menu.
Here you can work on different properties of the layers.
In this area you can link layers of different images to any elements of your HyperImage project.
Open the different images each in a Layer Editor. In the “Layers” section select the layer to which another layer of another image should be linked to. Now in the Layer Editor, which contains the layer to be linked (Link Target), select this layer and keep the mouse button pressed while dragging the layer to be linked in the “Link Target” section of the first Layer Editor. Now you can let go of the mouse button. Both layers are now linked to each other. You can repeat this for any number of layers. If the chosen layer lies in a group (see above) you can drag this layer directly from the group and link it to the currently selected layer.
Open the image in which you want to place a link in a Layer Editor. You can open the image to be linked either from a Group Browser where it is visible in the section “Contents” or you can open it from an Object Editor where it is visible as an image in the section “Object Views”.
Select the image and keep the mouse button pressed while dragging the image into the section “Link Target”. Now let go of the mouse button. The layer and the image are now linked to each other.
In the section “Layer Properties” right-click on the link target that you want to open and select “Open link target” from the context menu. The link target will open in a new window. Alternatively you can double click on the link target area with the left mouse button.
In the section “Layer Properties” right-click on the link target that you want to delete and select “Delete link” from the context menu.
In order to visually distinguish between layers you have the option to assign different colours to the layers of your image.
Select a layer in the section “Layers”. Now go to the section “Layer Properties” and into the “Colour” menu. It is possible that other participants of the project have already defined various colours. You can however define your own colours as well by selecting “Colour” > “Own”. If you have chosen a colour it will assigned automatically in a colour field of the colour selection dialogue (“Last used”) and stay in this field until you quit the Editor.
Adding a New Colour to the Colour Library
If you want a colour, that you have defined, to be available as a selection in order to reuse it on other layers in the future, you can save these colours in the colour library. You can acces the colour library via the menu bar at the top of the screen by selecting “Project” > “Manage project colours and polygons”. You can find further information on this subject in chapter 2 under “Manage project colours and polygons“.
In the section “Layer Properties” use the “Transparency” slieder or type in opacity percentage directly into the field next to the slider.
With this option you can define in what language you want to write the metadata of the layer. You can find further information on how to add different languages into the language selection in chapter 2 under “Project settings“.
Enter the layer name in the “Title” field under the section “Layer Properties”. If you have selected the default project language, after saving, the title will appear in the list of the layers on the left panel as well as under thumbnails of this layer.
In this field you can write text of any length. You can choose between the font properties “bold”, “italics”, “underline” and “text as link”. Please note that there is only one font available, which cannot be changed. Please note that in addition the font properties cannot be combined.
If you have written a text, which should link to another element, proceed as described in the section “Mark text as link (Hyperlink)” in chapter 3.
If you have not saved yet the polygons and layer properties in a layer, you can reset all changes using the “Reset” button. The last saved state of the layer is restored. This step cannot be undone.
Any time when you switch to another layer you will be prompted if you want to save changes (if any). You can do this yourself as well, just click on the “Save” icon in the section „Layer Properties”.
Polygons are for marking and emphasizing single regions of an image.
You can combine polygons on a layer to create complex forms. Please note that two overlapping polygons of the same plane cancel each other. The overlapping section becomes transparent. This way you can create “holes” in your polygon forms. After exporting these transparent sections cannot be clicked on in the HyperImage Reader.
When selecting a polygon a black and white rectangle appears around the polygon. When moving the mouse cursor over a layer name in the “Layers” section, the edges of the polygons of this layer will light up in white.
Please note that you can only create polygons within already existing layers. Therefore always create a layer in which you want to work first. Please refer to the section “Create Layers” above.
In the “Modify Polygons” section right-click on the image and select “New Polygon” from the context menu. You can now create different polygons:
If you have chosen this option the icon for “Modify Polygon” appears at the place where you have clicked in the image, the mouse cursor switches to drawing mode.
In order to relocate the starting point, move the mouse over the starting point until the cursor switches to relocate mode. You can now relocate the starting point by keeping the mouse button pressed and move it within the image to the chosen position. You are now ready to put in place frame points, which are connected automatically with each other to form a polygon by clicking on the desired points of your image. Close the polygon path by clicking on the starting point of the polygon, the cursor switches to connect mode. The polygon is now a closed shape.
A polygon in the form of a rectangle is created. You can adjust it’s size and position at any time.
You add a polygon from the library. On how to add polygons to the library, please refer to section “Add Your Own Polygons to the Library” further down in this chapter.
You can move polygons within a layer by selecting a polygon and draging it while keeping the left mouse button pressed.
You can edit closed polygons at any time. To do this select the polygon that you want to work on. The cursor switches to a cross with a plus and a minus sign and the edge of the polygon can now be selected so that you can add further path points or drag path points to another place. By clicking on an existing path point, it will be deleted. Move a path point by clicking on it and drag it with the mouse button in any direction. In order to add a path point, click with the on an empty space of the polygon outline (path). If desired, keep the left mouse button pressed to move a point afterwards to the place where you want it to be. The different modes of the cursor indicate you if you can add, move or delete the path points. Please note that working on path points is only possible for polygons of the freeform type.
When selecting a polygon there is a small square at the bottom right corner of the selection rectangle of the polygon. Click on the square and drag it with mouse button pressed to make the polygon bigger or smaller.
Polygons within a layer cannot have different colours, therefore you can only change the colour of polygons by assigning a colour to the layer where the polygon is. You will find further information about this in section “Layer Colour“.
If you have created a freeform polygon shape that you want to use in other images or layers as well, you can save this form in the polygon library. To do this right-click on the polygon and select “Add polygon to library” from the context menu. From now on when right-clicking in the “Modify Layers” section, your polygon will appear under the menu item “New Polygon”. You can access the polygon library via the menu bar at the top of the screen by choosing “Project” > “Manage Project Colours / Polygons”. For further information on this topic please refer to chapter 2 “Manage Project Colours / Polygons“.
If you have chosen a predetermined form and want to adjust the polygon path/points, you can extend polygons from the library. In the “Modify Polygons” section right-click on the polygon and select “Extend polygon path” from the context menu. You can now click on the outline of the polygon and add/remove/edit path points.
If you want to use a polygon multiple times without putting it into the library, you can copy it by right-clicking on the polygon and selecting “Copy Polygon” from the context menu. Right-click in the target image section and select “Paste Polygon” from the context menu. You can insert the polygon in the same layer or into a new layer. If you want to insert the polygon in a layer of a different image, open another Layer Editor and add the polygon into a layer that exists there.
If you have not yet saved the changes / new polygons that you made, you reset to the last saved state. In the “Modify Polygons” section right-click and select “Reset Polygon changes on this layer” from the context menu. Now all the polygons within this layer are reset to the last saved state. Please note that this step cannot be undone.
Right-click in the “Modify Polygons” section and select “Reset all Polygon changes” from the context menu. Now all the polygons of all layers in this image are brought back to the last saved state. Please note that this step cannot be undone.
Right-click on the polygon you want to delete and select “Delete Polygon” from the context menu. If you want to delete all polygons of this layer, you can also delete the layer itself. Doing so will delete all the polygons of this layer as well. Please note that this step cannot be undone.
In order to zoom into image sections you can use the zoom slider underneath the section “Modify Polygons”. To get to the section you want to work on please use the scrollbars of the section “Modify Polygons”. You can zoom in to twice the size of the image and out to a minimum of 400×400 pixels.