BaseSegmentationCamera.hh
Go to the documentation of this file.
virtual void EnableColoredMap(bool _enable) override
Enable Color map mode to generate colored semantics.
Definition: BaseSegmentationCamera.hh:148
Pixels of same label from different items have the same color & id.
SegmentationType
Segmentation types for Semantic / Panpoptic segmentation.
Definition: SegmentationCamera.hh:34
Definition: BaseCamera.hh:44
virtual int BackgroundLabel() const override
Get label for background & unlabeled items in the semantic map.
Definition: BaseSegmentationCamera.hh:191
virtual void SetBackgroundLabel(int _label) override
Set label for background & unlabeled items in the semantic map.
Definition: BaseSegmentationCamera.hh:177
Definition: BaseSegmentationCamera.hh:34
virtual ignition::common::ConnectionPtr ConnectNewSegmentationFrame(std::function< void(const uint8_t *, unsigned int, unsigned int, unsigned int, const std::string &)> _subscriber) override
Connect to the new Segmentation image event.
Definition: BaseSegmentationCamera.hh:132
Poseable Segmentation camera used for rendering the scene graph. This camera is designed to produce s...
Definition: SegmentationCamera.hh:51
STL class.
virtual void SetSegmentationType(SegmentationType _type) override
Set Segmentation Type.
Definition: BaseSegmentationCamera.hh:141
virtual bool IsColoredMap() const override
Check if color map mode is enabled.
Definition: BaseSegmentationCamera.hh:162
BaseSegmentationCamera()
Constructor.
Definition: BaseSegmentationCamera.hh:107
virtual ~BaseSegmentationCamera()
Destructor.
Definition: BaseSegmentationCamera.hh:113
virtual const math::Color & BackgroundColor() const override
Get color for background & unlabeled items in the colored map.
Definition: BaseSegmentationCamera.hh:184
virtual uint8_t * SegmentationData() const override
Get the segmentation image data. If the segmentation type is panoptic, the first two channels are the...
Definition: BaseSegmentationCamera.hh:124
virtual SegmentationType Type() const override
Get Segmentation Type.
Definition: BaseSegmentationCamera.hh:155
virtual void SetBackgroundColor(const math::Color &_color) override
Set color for background & unlabeled items in the colored map.
Definition: BaseSegmentationCamera.hh:169