chrono::sensor::ChFilterPhysCameraExpsrToDV Class Reference
Description
A filter that convert exposure to digital values with considering ISO, through camera response function (CRF)
#include <ChFilterPhysCameraExpsrToDV.h>
Inheritance diagram for chrono::sensor::ChFilterPhysCameraExpsrToDV:

Collaboration diagram for chrono::sensor::ChFilterPhysCameraExpsrToDV:

Public Member Functions | |
| ChFilterPhysCameraExpsrToDV (float ISO, ChVector3f expsr2dv_gain_vec, ChVector3f expsr2dv_bias_vec, float expsr2dv_gamma, int crf_type=0, std::string name="Vignetting Filter in Phys Camera") | |
| Class constructor. More... | |
| virtual void | Apply () |
| Apply function. | |
| void | SetFilterCtrlParameters (float ISO) |
| Set control parameters in the filter function. More... | |
| void | SetFilterModelParameters (ChVector3f expsr2dv_gain_vec, ChVector3f expsr2dv_bias_vec, float expsr2dv_gamma, int crf_type) |
| Set model parameters in the filter function. More... | |
| 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 destructor. | |
| 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
◆ ChFilterPhysCameraExpsrToDV()
| chrono::sensor::ChFilterPhysCameraExpsrToDV::ChFilterPhysCameraExpsrToDV | ( | float | ISO, |
| ChVector3f | expsr2dv_gain_vec, | ||
| ChVector3f | expsr2dv_bias_vec, | ||
| float | expsr2dv_gamma, | ||
| int | crf_type = 0, |
||
| std::string | name = "Vignetting Filter in Phys Camera" |
||
| ) |
Class constructor.
- Parameters
-
ISO (ISO) analog amplification factor expsr2dv_gain_vec ChVector of proportional gains expsr2dv_bias_vec ChVector of bias or intercept expsr2dv_gamma (gamma) gamma of the gamma correction function if used crf_type type of camera response function (CRF). 0: "gamma_correct", 1: "sigmoid" 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.
◆ SetFilterCtrlParameters()
| CH_SENSOR_API void chrono::sensor::ChFilterPhysCameraExpsrToDV::SetFilterCtrlParameters | ( | float | ISO | ) |
Set control parameters in the filter function.
- Parameters
-
ISO (ISO) analog amplification factor
◆ SetFilterModelParameters()
| CH_SENSOR_API void chrono::sensor::ChFilterPhysCameraExpsrToDV::SetFilterModelParameters | ( | ChVector3f | expsr2dv_gain_vec, |
| ChVector3f | expsr2dv_bias_vec, | ||
| float | expsr2dv_gamma, | ||
| int | crf_type | ||
| ) |
Set model parameters in the filter function.
- Parameters
-
expsr2dv_gain_vec ChVector of proportional gains expsr2dv_bias_vec ChVector of bias or intercept expsr2dv_gamma (gamma) gamma of the gamma correction function if used crf_type type of camera response function (CRF). 0: "gamma_correct", 1: "sigmoid"
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterPhysCameraExpsrToDV.h
- /builds/uwsbel/chrono/src/chrono_sensor/filters/ChFilterPhysCameraExpsrToDV.cpp
Public Member Functions inherited from