    

 ## On this page

  

 

 # vss::simulation::CameraGroundTruthParameters Struct Reference

 Last update: 14.01.2025 

Defines the types of ground truth output data the physics-based camera simulation will generate. [More...](structvss_1_1simulation_1_1_camera_ground_truth_parameters.xhtml#details)

## <a name="pub-attribs"></a>Public Attributes

bool [generate\_depth\_map](structvss_1_1simulation_1_1_camera_ground_truth_parameters.xhtml#a1e96542155b1004c8f186d96876e6880) = 1 bool [generate\_optical\_flow](structvss_1_1simulation_1_1_camera_ground_truth_parameters.xhtml#afae551176c67884716efc9edfbdc7930) = 2 bool [generate\_pixel\_segmentation](structvss_1_1simulation_1_1_camera_ground_truth_parameters.xhtml#a869dc3f1faa508a9ebfe6a24b84d19b7) = 3 bool [generate\_2d\_bounding\_boxes](structvss_1_1simulation_1_1_camera_ground_truth_parameters.xhtml#ad7b72aaf4baf52d550c760b50d0cb5f2) = 4 <a id="details" name="details"></a>## Detailed Description

Defines the types of ground truth output data the physics-based camera simulation will generate.



## Member Data Documentation

<a id="a1e96542155b1004c8f186d96876e6880"></a>## [◆ ](#a1e96542155b1004c8f186d96876e6880)generate\_depth\_map

 bool vss::simulation::CameraGroundTruthParameters::generate\_depth\_map = 1

Activation of the depth map production.

A depth map indicates for each pixel the distance of the associated point relative to the camera sensor's mounting position.

Default value: false





<a id="afae551176c67884716efc9edfbdc7930"></a>## [◆ ](#afae551176c67884716efc9edfbdc7930)generate\_optical\_flow

 bool vss::simulation::CameraGroundTruthParameters::generate\_optical\_flow = 2

Activation of the optical flow production.

The optical flow indicates for each pixel the linear speed of the associated point relative to the camera sensor's mounting position.

Default value: false





<a id="a869dc3f1faa508a9ebfe6a24b84d19b7"></a>## [◆ ](#a869dc3f1faa508a9ebfe6a24b84d19b7)generate\_pixel\_segmentation

 bool vss::simulation::CameraGroundTruthParameters::generate\_pixel\_segmentation = 3

Activation of the pixel segmentation production.

The pixel segmentation gives a color to each pixel based on the object it belongs to.

Default value: false





<a id="ad7b72aaf4baf52d550c760b50d0cb5f2"></a>## [◆ ](#ad7b72aaf4baf52d550c760b50d0cb5f2)generate\_2d\_bounding\_boxes

 bool vss::simulation::CameraGroundTruthParameters::generate\_2d\_bounding\_boxes = 4

Activation of the 2D bounding boxes production.

2D bounding corresponds to the projection of 3D bounding box on the camera image plane.

Default value: false





---

The documentation for this struct was generated from the following file:- simulation\_parameters.proto