chrono::sensor::ChFilterCameraExposureCorrect Class Reference
Description
A filter that adjust the brightness of the image according to exposure time and sensitivity coefficients.
#include <ChFilterCameraExposure.h>
Inheritance diagram for chrono::sensor::ChFilterCameraExposureCorrect:

Collaboration diagram for chrono::sensor::ChFilterCameraExposureCorrect:

Public Member Functions | |
| ChFilterCameraExposureCorrect (float a0, float a1, float a2, float b0, float b1, float b2, float expsr_time, std::string name="ChFilterCameraExposureCorrect") | |
| Class constructor. More... | |
| virtual void | Apply () |
| Apply function. Adds uniform Gaussian noise to an image. | |
| virtual void | Initialize (std::shared_ptr< ChSensor > pSensor, std::shared_ptr< SensorBuffer > &bufferInOut) |
| 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... | |
| void | InvalidFilterGraphNullBuffer (std::shared_ptr< ChSensor > pSensor) |
| Error function for invalid filter graph: null buffer found. | |
| void | InvalidFilterGraphBufferTypeMismatch (std::shared_ptr< ChSensor > pSensor) |
| Error function for invalid filter graph: type mismatch in graph. | |
| void | InvalidFilterGraphSensorTypeMismatch (std::shared_ptr< ChSensor > pSensor) |
| Error function for invalid filter graph: type mismatch in graph. | |
Constructor & Destructor Documentation
◆ ChFilterCameraExposureCorrect()
| chrono::sensor::ChFilterCameraExposureCorrect::ChFilterCameraExposureCorrect | ( | float | a0, |
| float | a1, | ||
| float | a2, | ||
| float | b0, | ||
| float | b1, | ||
| float | b2, | ||
| float | expsr_time, | ||
| std::string | name = "ChFilterCameraExposureCorrect" |
||
| ) |
Class constructor.
- Parameters
-
a0 coefficient of log2(exposure_time[ms]) in a-term a1 coefficient of src_exposure_mean in a-term a2 constant in a-term b0 coefficient of log2(exposure_time[ms]) in b-term b1 coefficient of src_exposure_mean in b-term b2 constant in b-term expsr_time exposure time [sec] name The string name of the filter
Member Function Documentation
◆ Initialize()
|
virtual |
Initializes all data needed by the filter access apply function.
- Parameters
-
pSensor A pointer to the sensor on which the filter is attached. bufferInOut A buffer that is passed into the filter. This data is what will be made available for the user.
Implements chrono::sensor::ChFilter.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterCameraExposure.h
- /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterCameraExposure.cpp
Public Member Functions inherited from