public class VisionColors
Provides distinctive colors for different visualization purposes: 为不同的可视化目的提供独特的颜色: - High-contrast bounding box colors 高对比度边界框颜色 - Semantic segmentation mask colors 语义分割掩膜颜色 - Semi-transparent instance segmentation fill colors 半透明实例分割填充色
Color schemes follow common dataset standards (COCO, ADE20K) 配色方案遵循常见数据集标准(COCO, ADE20K)
VisionColors | 初始化 VisionColors 类的一个新实例 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GenerateAde20kPalette | Generates ADE20K semantic segmentation standard color palette 生成ADE20K语义分割标准配色 |
GenerateCocoPalette | Generates COCO dataset 80-class standard color palette 生成COCO数据集80类别标准配色 |
GetBoundingBoxColor | Gets bounding box color (COCO standard high-contrast color) 获取边界框颜色(COCO标准高对比色) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetInstanceColor | Gets instance segmentation fill color (semi-transparent bounding box color) 获取实例分割填充色(半透明版边界框颜色) |
GetMaskColor | Gets semantic segmentation mask color (ADE20K standard color) 获取语义分割掩膜颜色(ADE20K标准色) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
HexToScalar | 将十六进制颜色字符串转换为OpenCV Scalar |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
SafeClassId | Ensures class ID falls within valid range 确保类别ID在有效范围内 |
ToString | Returns a string that represents the current object. (继承自 Object。) |
_ade20kPalette | ADE20K dataset color palette ADE20K数据集调色板 |
_cocoPalette | COCO dataset 80-class color palette COCO数据集80类别调色板 |