Small edits (#724)

This commit is contained in:
pollfly
2023-12-03 14:27:46 +02:00
committed by GitHub
parent 4b02af91f7
commit 680bca6644
44 changed files with 131 additions and 131 deletions

View File

@@ -26,7 +26,7 @@ In the UI, you can view the mapping in a dataset version's [Metadata](webapp/web
![Dataset metadata panel](../img/hyperdatasets/dataset_metadata.png)
When viewing a frame with a mask corresponding with the versions mask-label mapping, the UI arbitrarily assigns a color
When viewing a frame with a mask corresponding with the version's mask-label mapping, the UI arbitrarily assigns a color
to each label. The color assignment can be [customized](webapp/webapp_datasets_frames.md#labels).
For example:
@@ -34,7 +34,7 @@ For example:
![Frame without mask](../img/hyperdatasets/dataset_pixel_masks_1.png)
* Frame image with the semantic segmentation mask enabled. Labels are applied according to the dataset versions
* Frame image with the semantic segmentation mask enabled. Labels are applied according to the dataset version's
mask-label mapping:
![Frame with semantic seg mask](../img/hyperdatasets/dataset_pixel_masks_2.png)
@@ -66,7 +66,7 @@ The frame's sources array contains a masks list of dictionaries that looks somet
}
```
The masks dictionary includes the frame's masks URIs and IDs.
The masks dictionary includes the frame's masks' URIs and IDs.
## Alpha Channel Masks
For alpha channel, mask RGB pixel values are interpreted as opacity values so that when the mask is applied, only the
@@ -133,10 +133,10 @@ version.set_masks_labels(
)
```
The relevant label is applied to all masks in the version according to the versions mask-label mapping dictionary.
The relevant label is applied to all masks in the version according to the version's mask-label mapping dictionary.
### Registering Frames with Multiple Masks
Frames can contain multiple masks. To add multiple masks, use the SingleFrames `masks_source` property. Input one of
Frames can contain multiple masks. To add multiple masks, use the SingleFrame's `masks_source` property. Input one of
the following:
* A dictionary with mask string ID keys and mask URI values
* A list of mask URIs. Number IDs are automatically assigned to the masks ("00", "01", etc.)