18 KiB
title
| title |
|---|
| Working with Frames |
View and edit SingleFrames in the Dataset page. After selecting a Hyper-Dataset version, the Version Browser shows a sample of frames and enables viewing SingleFrames and FramesGroups, and edit SingleFrames, in the frame viewer. Before opening the frame viewer, you can filter the frames by applying simple or advanced filtering logic.
Frame Viewer
Frame viewer allows you to view and edit annotations which can be FrameGroup objects (Regions of Interest) and FrameGroup labels applied to the entire frame not a region of the frame, the frame details (see frames), frame metadata, the raw data source URI, as well as providing navigation and viewing tools.
Frame Viewer Controls
Use frame viewer controls to navigate between frames in a Hyper-Dataset Version, and control frame changes and viewing.
Additional Keyboard Shortcuts
General Controls
| Control | Action |
|---|---|
| Hold Spacebar + Press and hold image + Drag | Move around image. NOTE: If using a touchpad, this only works if the Disable touchpad while typing setting is turned off |
| Esc | Escape frame viewer and return to dataset page |
General Annotation Controls
| Control | Action |
|---|---|
| Delete | Remove annotation |
| Alt + ] / [ | Choose a default ROI label by navigating between previous / next labels |
| Shift + M | Edit metadata |
| Shift + Tab | Previous annotation (use after clicking an annotation) |
Mode-specific annotation controls
Viewing and Editing Frames
To view / edit a frame in the frame editor
- Locate your frame by applying a simple frame filter or advanced frame filter, and clicking LOAD MORE, if required.
- Click the frame thumbnail. The frame editor appears.
- Do any of the following:
- View frame details, including:
- Frame file path
- Dimensions of the image or video
- Frame details
- Frame metadata
- Annotations
- Frame objects - Labeled Regions of Interest, with confidence levels and custom metadata per frame object.
- Frame labels - Labels applied to the entire frame, not a region in the frame.
- Optionally, filter annotations by confidence level using the Minimum confidence slider.
- Add, change, and delete annotations and frame metadata.
- View frame details, including:
:::important Saving Frame Changes To save frames changes at any time, click SAVE (below the annotation list area). :::
Viewing FrameGroups
Viewing and editing frames in a FrameGroup is similar to viewing and editing SingleFrames. Click the FrameGroup in the Hyper-Dataset. In the frame viewer, select SingleFrame to view / modify from a dropdown list in the Current Source section.
Filtering Frames
Simple Frame Filtering
Simple frame filtering applies one annotation object (ROI) label and returns frames containing at least one annotation with that label.
To apply a simple frame filter:
- In the Version Browser, choose a label on the label list.
For example:
- The version browser in the image below contains 101 frames.
- A simple label filter for
teddy bearshows three frames with each containing at least one ROI labeledteddy bear.
Advanced Frame Filtering
Advanced frame filtering applies sophisticated filtering logic, which is composed of as many frame filters as needed, where each frame filter can be a combination of ROI, frame, and source rules.
- ROI rules use include and exclude logic to match frames by ROI label; an ROI label can match frames containing at least one annotation object (ROI) with all labels in the rule.
- Frame rules and source rules use Lucene queries with AND, OR, and NOT logic. Frame rules apply to frame metadata.
- Source rules apply to frame source information.
To apply advanced filters:
-
In the Version Browser, click Switch to advanced filters.
-
In a FRAME FILTER, create one of the following rules:
-
ROI rule
-
Frame rule - Enter a Lucene query using frame metadata fields in the format
meta.<key>:<value>. -
Source rule - Enter a Lucene query using frame metadata fields in the format
sources.<key>:<value>.
-
Examples
ROI Rules
-
Create one ROI rule for the
teddy bearlabel, which shows the same three frames as the simple frame filter (above).
-
In the ROI rule, add a second label. Add
partially_occluded. Only frames containing at least one ROI labeled as bothteddy bearandpartially_occludedmatch the filter.
By opening a frame in the frame viewer, you can see an ROI labeled with both.
Frame Rules
Filter by metadata using Lucene queries.
-
Add a frame rule to filter by the metadata key
dangerousfor the value ofyes.
By opening a frame in the frame viewer, you can see the metadata.
Source Rules
Filter by sources using Lucene queries.
-
Add a source rule to filter for sources URIs with wildcards.
Lucene queries can also be used in ROI label filters and frame rules.
Masks
Use the MASKS panel to select which masks to apply over the frame.
To view / hide a specific mask, click .
In order to view all masks, click Show all / Hide all.
Masks are applied over the image either by pixel segmentation or as an alpha channel:
Pixel segmentation - Class labels are mapped onto the mask according to their pixel value definitions, and each class is assigned a unique color.
Alpha channel - Mask pixel values are translated to transparency. Additionally, a color can be applied to the mask to help distinguish multiple masks. Click
to select a color.
To adjust the transparency of a mask, use its opacity slider.
Labels
The Active mask labels section displays the color mapping of the mask labels. The panel presents labels only from masks that are currently displayed.
To modify a label's color and opacity:
- Click the colored circle next to the label
- Select a new color
- Adjust the opacity slider
- Click OK
Annotations
Adding Frame Objects (Regions of Interest)
You can add annotations by drawing new bounding areas, and copying existing annotations in the same or other frames.
Creating New Frame Objects
To draw a bounding area for a new annotation:
-
Click one of the following modes and create a bounding area in the frame:
-
- Key points mode: Click each keypoint onto the frame. After the clicking the last keypoint, click the first again to close the bounding area.
A new annotation is created.
-
In the newly created annotation, select or type-in a label(s). Click the circle in the label name to select a different label color.
You can use the Default ROI Label(s) list to automatically set labels to all new annotations.
Copying Frame Objects
You can copy existing annotations, and paste them to any frame of your choice:
- Click the annotation or bounded area in the frame.
- Click
(copy annotation).
- Navigate to the frame of your choice (you can remain in the same frame).
- Click PASTE. The new annotation appears in the same location as the one you copied. You can paste the annotation multiple times.
Copy all annotations in a frame by clicking the COPY ALL button.
Annotation Actions
The following table describes the actions that can be performed on existing annotations. The frame editor automatically
saves changes when you move to another frame using the frame navigation controls
(,
,
,
,
,
,
or the arrow keys on the keyboard). Closing the frame editor will prompt you to save any changes.
Frame Labels
You can add labels which describe the whole frame, with no specific coordinates.
To add frame labels:
- Expand the FRAME LABELS area (below OBJECTS)
- Click + Add new
- Enter a label(s)
Frame Metadata
To edit frame metadata:










