@@ -551,6 +551,7 @@ message StatePoint
551551 //
552552 optional Orientation3d orientation = 3 ;
553553}
554+
554555//
555556// \brief Detailed WavelengthRange message.
556557//
@@ -611,3 +612,195 @@ message SpatialSignalStrength
611612 //
612613 optional double signal_strength = 3 ;
613614}
615+
616+ //
617+ // \brief The description of a color within available color spaces.
618+ //
619+ // ColorDescription represents the visual, non-semantic appearance of an object, structure or feature within various available color spaces.
620+ //
621+ // Depending on the context, this may define the color of an object or structure a priori (e.g. GroundTruth objects)
622+ // or describe a perceived color (e.g. CameraDetections).
623+ //
624+ message ColorDescription
625+ {
626+ // Greyscale color model
627+ //
628+ optional ColorGrey grey = 1 ;
629+
630+ // RGB (Red, Green, Blue) color model
631+ //
632+ optional ColorRGB rgb = 2 ;
633+
634+ // RGBIR (Red, Green, Blue, Infrared) color model
635+ //
636+ optional ColorRGBIR rgbir = 3 ;
637+
638+ // HSV (Hue, Saturation, Value) color model
639+ //
640+ optional ColorHSV hsv = 4 ;
641+
642+ // LUV (Luminance, U-coordinate, V-coordinate) color model
643+ //
644+ optional ColorLUV luv = 5 ;
645+
646+ // CMYK (Cyan, Magenta, Yellow, Key) color model
647+ //
648+ optional ColorCMYK cmyk = 6 ;
649+ }
650+
651+ //
652+ // \brief Greyscale color model
653+ //
654+ // ColorGrey defines a greyscale.
655+ //
656+ message ColorGrey
657+ {
658+ // Definition of a greyscale
659+ //
660+ // Range: [0,1]
661+ //
662+ optional double grey = 1 ;
663+ }
664+
665+ //
666+ // \brief RGB color model
667+ //
668+ // ColorRGB provides values for red, green and blue.
669+ //
670+ message ColorRGB
671+ {
672+ // Red ratio
673+ //
674+ // Range: [0,1]
675+ //
676+ optional double red = 1 ;
677+
678+ // Green ratio
679+ //
680+ // Range: [0,1]
681+ //
682+ optional double green = 2 ;
683+
684+ // Blue ratio
685+ //
686+ // Range: [0,1]
687+ //
688+ optional double blue = 3 ;
689+ }
690+
691+ //
692+ // \brief RGBIR color model
693+ //
694+ // ColorRGBIR provides values for red, green, blue and infrared.
695+ //
696+ message ColorRGBIR
697+ {
698+ // Red ratio
699+ //
700+ // Range: [0,1]
701+ //
702+ optional double red = 1 ;
703+
704+ // Green ratio
705+ //
706+ // Range: [0,1]
707+ //
708+ optional double green = 2 ;
709+
710+ // Blue ratio
711+ //
712+ // Range: [0,1]
713+ //
714+ optional double blue = 3 ;
715+
716+ // Infrared
717+ //
718+ // Range: [0,1]
719+ //
720+ optional double infrared = 4 ;
721+ }
722+
723+ //
724+ // \brief HSV color model
725+ //
726+ // ColorHSV provides values for hue, saturation and value/brightness.
727+ //
728+ message ColorHSV
729+ {
730+ // Hue
731+ //
732+ // Unit: deg
733+ // Range: [0,360[
734+ //
735+ optional double hue = 1 ;
736+
737+ // Saturation
738+ //
739+ // Range: [0,1]
740+ //
741+ optional double saturation = 2 ;
742+
743+ // Value
744+ //
745+ // Range: [0,1]
746+ //
747+ optional double value = 3 ;
748+ }
749+
750+ //
751+ // \brief LUV color model
752+ //
753+ // ColorLUV provides values for luminance, U- and V-coordinate.
754+ //
755+ message ColorLUV
756+ {
757+ // Luminance
758+ //
759+ // Range: [0,1]
760+ //
761+ optional double luminance = 1 ;
762+
763+ // U-coordinate
764+ //
765+ // Range: [0,1]
766+ //
767+ optional double u = 2 ;
768+
769+ // V-Coordinate
770+ //
771+ // Range: [0,1]
772+ //
773+ optional double v = 3 ;
774+ }
775+
776+ //
777+ // \brief CMYK colors model
778+ //
779+ // ColorCMYK provides values for cyan, magenta, yellow and key/black.
780+ //
781+ message ColorCMYK
782+ {
783+ // Cyan ratio
784+ //
785+ // Range: [0,1]
786+ //
787+ optional double cyan = 1 ;
788+
789+ // Magenta ratio
790+ //
791+ // Range: [0,1]
792+ //
793+ optional double magenta = 2 ;
794+
795+ // Yellow ratio
796+ //
797+ // Range: [0,1]
798+ //
799+ optional double yellow = 3 ;
800+
801+ // Black ratio
802+ //
803+ // Range: [0,1]
804+ //
805+ optional double key = 4 ;
806+ }
0 commit comments