Added Terrain sem seg label
This commit is contained in:
parent
d75e1516b3
commit
b15f0d2d50
|
@ -40,6 +40,7 @@ namespace detail {
|
|||
{110u, 190u, 160u}, // static = 19u,
|
||||
{170u, 120u, 50u}, // dynamic = 20u,
|
||||
{ 45u, 60u, 150u}, // water = 21u,
|
||||
{145u, 170u, 100u}, // terrain = 22u,
|
||||
// { 0u, 0u, 70u}, // truck
|
||||
// { 0u, 0u, 90u}, // caravan
|
||||
// { 0u, 0u, 110u}, // trailer
|
||||
|
@ -49,7 +50,6 @@ namespace detail {
|
|||
// { 0u, 80u, 100u}, // train
|
||||
// {119u, 11u, 32u}, // bicycle
|
||||
// {150u, 120u, 90u}, // tunnel
|
||||
// {152u, 251u, 152u}, // terrain
|
||||
// {153u, 153u, 153u}, // polegroup
|
||||
// {250u, 170u, 160u}, // parking
|
||||
// {255u, 0u, 0u}, // rider
|
||||
|
|
|
@ -42,6 +42,7 @@ ECityObjectLabel ATagger::GetLabelByFolderName(const FString &String) {
|
|||
else if (String == "Static") return ECityObjectLabel::Static;
|
||||
else if (String == "Dynamic") return ECityObjectLabel::Dynamic;
|
||||
else if (String == "Water") return ECityObjectLabel::Water;
|
||||
else if (String == "Terrain") return ECityObjectLabel::Terrain;
|
||||
else return ECityObjectLabel::None;
|
||||
}
|
||||
|
||||
|
@ -138,6 +139,7 @@ FString ATagger::GetTagAsString(const ECityObjectLabel Label)
|
|||
CARLA_GET_LABEL_STR(Static)
|
||||
CARLA_GET_LABEL_STR(Dynamic)
|
||||
CARLA_GET_LABEL_STR(Water)
|
||||
CARLA_GET_LABEL_STR(Terrain)
|
||||
#undef CARLA_GET_LABEL_STR
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ enum class ECityObjectLabel : uint8
|
|||
Static = 19u,
|
||||
Dynamic = 20u,
|
||||
Water = 21u,
|
||||
Terrain = 22u,
|
||||
};
|
||||
|
||||
/// Sets actors' custom depth stencil value for semantic segmentation according
|
||||
|
|
Loading…
Reference in New Issue