chrono::sensor::ChFilterCameraNoisePixDep Class Reference


A filter that adds pixel dependent gaussian noise across an image. Method summarized in paper: ()

#include <ChFilterCameraNoise.h>

Inheritance diagram for chrono::sensor::ChFilterCameraNoisePixDep:
Collaboration diagram for chrono::sensor::ChFilterCameraNoisePixDep:

Public Member Functions

 ChFilterCameraNoisePixDep (float gain, float sigma_read, float sigma_adc, std::string name={})
 Class constructor. More...
virtual void Apply (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut)
 Apply function. More...
virtual void Initialize (std::shared_ptr< ChSensor > pSensor)
 Initializes all data needed by the filter access apply function. More...
- Public Member Functions inherited from chrono::sensor::ChFilter
virtual ~ChFilter ()
 Virtual class desctructor.
std::string & Name ()
 Accesses the name of the filter. More...

Additional Inherited Members

- Protected Member Functions inherited from chrono::sensor::ChFilter
 ChFilter (std::string name)
 protected constructor for the filter which requires a name as input. More...

Constructor & Destructor Documentation

◆ ChFilterCameraNoisePixDep()

chrono::sensor::ChFilterCameraNoisePixDep::ChFilterCameraNoisePixDep ( float  gain,
float  sigma_read,
float  sigma_adc,
std::string  name = {} 

Class constructor.

gainThe correlation factor between the image intensity and noise variance
sigma_readThe standard deviation of the multiplicative noise
sigma_adcThe standard deviation of the additive noise
nameThe string name of the filter.

Member Function Documentation

◆ Apply()

CH_SENSOR_API void chrono::sensor::ChFilterCameraNoisePixDep::Apply ( std::shared_ptr< ChSensor pSensor,
std::shared_ptr< SensorBuffer > &  bufferInOut 

Apply function.

Adds uniform Gaussian noise to an image.

pSensorA pointer to the sensor on which the filter is attached.
bufferInOutA buffer that is passed into the filter. This data is what will be made available for the user.

Implements chrono::sensor::ChFilter.

◆ Initialize()

virtual void chrono::sensor::ChFilterCameraNoisePixDep::Initialize ( std::shared_ptr< ChSensor pSensor)

Initializes all data needed by the filter access apply function.

pSensorA pointer to the sensor.

Implements chrono::sensor::ChFilter.

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterCameraNoise.h
  • /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterCameraNoise.cpp