You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
has categories, attributes and tracking information,
1224
-
see :ref:`reference/label_format:category information`,
1246
+
see :ref:`reference/label_format:common category information`,
1225
1247
:ref:`reference/label_format:attributes information` and
1226
1248
:ref:`reference/label_format:tracking information` for details.
1227
1249
@@ -1467,7 +1489,7 @@ In TensorBay, the structure of SemanticMask label is unified as follows::
1467
1489
``local_path`` is the storage path of the mask image. TensorBay only supports single-channel, gray-scale png images.
1468
1490
If the number of categories exceeds 256, the color depth of this image should be 16 bits, otherwise it is 8 bits.
1469
1491
1470
-
The gray-scale value of the pixel corresponds to the index of the ``categories`` within the :class:`~tensorbay.label.label_mask.SemanticMaskSubcatalog`.
1492
+
The gray-scale value of the pixel corresponds to the categoryId of the ``categories`` within the :class:`~tensorbay.label.label_mask.SemanticMaskSubcatalog`.
1471
1493
1472
1494
Each data can only be assigned with one :class:`~tensorbay.label.label_mask.SemanticMask` label.
1473
1495
@@ -1509,8 +1531,8 @@ SemanticMaskSubcatalog
1509
1531
Before adding the SemanticMask labels to data,
1510
1532
:class:`~tensorbay.label.label_mask.SemanticMaskSubcatalog` should be defined.
1511
1533
1512
-
:class:`~tensorbay.label.label_mask.SemanticMaskSubcatalog` has categories and attributes,
1513
-
see :ref:`reference/label_format:category information` and
1534
+
:class:`~tensorbay.label.label_mask.SemanticMaskSubcatalog` has mask categories and attributes,
1535
+
see :ref:`reference/label_format:mask category information` and
1514
1536
:ref:`reference/label_format:attributes information` for details.
1515
1537
1516
1538
To add a :class:`~tensorbay.label.label_mask.SemanticMask` label to one data:
@@ -1551,6 +1573,9 @@ In TensorBay, the structure of InstanceMask label is unified as follows::
1551
1573
``local_path`` is the storage path of the mask image. TensorBay only supports single-channel, gray-scale png images.
1552
1574
If the number of categories exceeds 256, the color depth of this image should be 16 bits, otherwise it is 8 bits.
1553
1575
1576
+
There are pixels in the InstanceMask that do not represent the instance, such as backgrounds or borders. This information is written to the
1577
+
``categories`` within the :class:`~tensorbay.label.label_mask.InstanceMaskSubcatalog`.
1578
+
1554
1579
Each data can only be assigned with one :class:`~tensorbay.label.label_mask.InstanceMask` label.
1555
1580
1556
1581
To create a :class:`~tensorbay.label.label_mask.InstanceMask` label:
@@ -1591,8 +1616,9 @@ InstanceMaskSubcatalog
1591
1616
Before adding the InstanceMask labels to data,
1592
1617
:class:`~tensorbay.label.label_mask.InstanceMaskSubcatalog` should be defined.
1593
1618
1594
-
:class:`~tensorbay.label.label_mask.InstanceMaskSubcatalog` has attributes,
1595
-
see :ref:`reference/label_format:attributes information` for details.
1619
+
:class:`~tensorbay.label.label_mask.InstanceMaskSubcatalog` has mask categories and attributes,
1620
+
see :ref:`reference/label_format:mask category information` and
1621
+
:ref:`reference/label_format:attributes information` for details.
1596
1622
1597
1623
To add a :class:`~tensorbay.label.label_mask.InstanceMask` label to one data:
1598
1624
@@ -1633,7 +1659,7 @@ In TensorBay, the structure of PanopticMask label is unified as follows::
1633
1659
``local_path`` is the storage path of the mask image. TensorBay only supports single-channel, gray-scale png images.
1634
1660
If the number of categories exceeds 256, the color depth of this image should be 16 bits, otherwise it is 8 bits.
1635
1661
1636
-
The gray-scale value of the pixel corresponds to the index of the ``categories`` within the :class:`~tensorbay.label.label_mask.PanopticMaskSubcatalog`.
1662
+
The gray-scale value of the pixel corresponds to the categoryId of the ``categories`` within the :class:`~tensorbay.label.label_mask.PanopticMaskSubcatalog`.
1637
1663
1638
1664
Each data can only be assigned with one :class:`~tensorbay.label.label_mask.PanopticMask` label.
1639
1665
@@ -1689,8 +1715,8 @@ PanopticMaskSubcatalog
1689
1715
Before adding the PanopticMask labels to data,
1690
1716
:class:`~tensorbay.label.label_mask.PanopticMaskSubcatalog` should be defined.
1691
1717
1692
-
:class:`~tensorbay.label.label_mask.PanopticMaskSubcatalog` has categories and attributes,
1693
-
see :ref:`reference/label_format:category information` and
1718
+
:class:`~tensorbay.label.label_mask.PanopticMaskSubcatalog` has mask categories and attributes,
1719
+
see :ref:`reference/label_format:mask category information` and
1694
1720
:ref:`reference/label_format:attributes information` for details.
1695
1721
1696
1722
To add a :class:`~tensorbay.label.label_mask.PanopticMask` label to one data:
0 commit comments