-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: change class array with objects classification type
Signed-off-by: Barış Zeren <[email protected]>
- Loading branch information
1 parent
5088bf1
commit 30f974f
Showing
3 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
uint8 UNKNOWN=0 | ||
uint8 CAR=1 | ||
uint8 TRUCK=2 | ||
uint8 BUS=3 | ||
uint8 BICYCLE=4 | ||
uint8 MOTORBIKE=5 | ||
uint8 PEDESTRIAN=6 | ||
uint8 ANIMAL=7 | ||
|
||
# It represent map between instance segmentation mask and classes | ||
# It represent map between instance segmentation mask and labels | ||
# The pixel intensities in mask's starts with 1 (pixel value 0 represent pixel is not belong any object) | ||
# `class_ids[0]` returns the `class_id` for pixels with an intensity value of `1` in the mask. | ||
# `class_ids[1]` returns the `class_id` for pixels with an intensity value of `2` in the mask. | ||
# `classification[0]` returns the `label_id` for pixels with an intensity value of `1` in the mask. | ||
# `classification[1]` returns the `label_id` for pixels with an intensity value of `2` in the mask. | ||
# ... | ||
# The relationship between pixels and class IDs continues in this way. | ||
uint8[] class_ids | ||
# The relationship between pixels and label IDs continues in this way. | ||
autoware_perception_msgs/ObjectClassification[] classification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters