#include <algo.h>
|
void | anti_flicker_decrease_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | anti_flicker_increase_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | decrease_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | decrease_exposure_target (float mult, float &target_exposure) |
|
float | exposure_to_value (float exp_ms, rounding_mode_type rounding_mode) |
|
float | gain_to_value (float gain, rounding_mode_type rounding_mode) |
|
void | histogram_score (std::vector< int > &h, const int total_weight, histogram_metric &score) |
|
void | hybrid_decrease_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | hybrid_increase_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | im_hist (const uint8_t *data, const region_of_interest &image_roi, const int rowStep, int h[]) |
|
void | increase_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | increase_exposure_target (float mult, float &target_exposure) |
|
float | round (float x) |
|
template<typename T > |
T | sqr (const T &x) |
|
void | static_decrease_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
void | static_increase_exposure_gain (const float &target_exposure, const float &target_exposure0, float &exposure, float &gain) |
|
Definition at line 57 of file algo.h.
Enumerator |
---|
round |
|
ceil |
|
floor |
|
Definition at line 67 of file algo.h.
auto_exposure_algorithm::auto_exposure_algorithm |
( |
const auto_exposure_state & |
auto_exposure_state | ) |
|
bool auto_exposure_algorithm::analyze_image |
( |
const frame_interface * |
image | ) |
|
void auto_exposure_algorithm::anti_flicker_decrease_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::anti_flicker_increase_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::decrease_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::decrease_exposure_target |
( |
float |
mult, |
|
|
float & |
target_exposure |
|
) |
| |
|
private |
float auto_exposure_algorithm::exposure_to_value |
( |
float |
exp_ms, |
|
|
rounding_mode_type |
rounding_mode |
|
) |
| |
|
private |
float auto_exposure_algorithm::gain_to_value |
( |
float |
gain, |
|
|
rounding_mode_type |
rounding_mode |
|
) |
| |
|
private |
void auto_exposure_algorithm::histogram_score |
( |
std::vector< int > & |
h, |
|
|
const int |
total_weight, |
|
|
histogram_metric & |
score |
|
) |
| |
|
private |
void auto_exposure_algorithm::hybrid_decrease_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::hybrid_increase_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::increase_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::increase_exposure_target |
( |
float |
mult, |
|
|
float & |
target_exposure |
|
) |
| |
|
private |
void auto_exposure_algorithm::modify_exposure |
( |
float & |
exposure_value, |
|
|
bool & |
exp_modified, |
|
|
float & |
gain_value, |
|
|
bool & |
gain_modified |
|
) |
| |
float librealsense::auto_exposure_algorithm::round |
( |
float |
x | ) |
|
|
inlineprivate |
template<typename T >
T librealsense::auto_exposure_algorithm::sqr |
( |
const T & |
x | ) |
|
|
inlineprivate |
void auto_exposure_algorithm::static_decrease_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
void auto_exposure_algorithm::static_increase_exposure_gain |
( |
const float & |
target_exposure, |
|
|
const float & |
target_exposure0, |
|
|
float & |
exposure, |
|
|
float & |
gain |
|
) |
| |
|
private |
bool librealsense::auto_exposure_algorithm::anti_flicker_mode = true |
|
private |
float librealsense::auto_exposure_algorithm::base_gain = 2.0f |
|
private |
int librealsense::auto_exposure_algorithm::direction = 0 |
|
private |
float librealsense::auto_exposure_algorithm::eps = 0.01f |
|
private |
float librealsense::auto_exposure_algorithm::exposure = 10.0f |
|
private |
std::atomic<float> librealsense::auto_exposure_algorithm::exposure_step |
|
private |
float librealsense::auto_exposure_algorithm::flicker_cycle |
|
private |
float librealsense::auto_exposure_algorithm::gain = 2.0f |
|
private |
float librealsense::auto_exposure_algorithm::gain_limit = 15.0f |
|
private |
float librealsense::auto_exposure_algorithm::hysteresis = 0.075f |
|
private |
bool librealsense::auto_exposure_algorithm::is_roi_initialized = false |
|
private |
float librealsense::auto_exposure_algorithm::maximal_exposure = 20.f |
|
private |
float librealsense::auto_exposure_algorithm::minimal_exposure = 0.2f |
|
private |
uint8_t librealsense::auto_exposure_algorithm::over_exposure_limit = 250 |
|
private |
int librealsense::auto_exposure_algorithm::over_exposure_noise_limit = 50 |
|
private |
int librealsense::auto_exposure_algorithm::prev_direction = 0 |
|
private |
std::recursive_mutex librealsense::auto_exposure_algorithm::state_mutex |
|
private |
float librealsense::auto_exposure_algorithm::target_exposure = 0.0f |
|
private |
uint8_t librealsense::auto_exposure_algorithm::under_exposure_limit = 5 |
|
private |
int librealsense::auto_exposure_algorithm::under_exposure_noise_limit = 50 |
|
private |
The documentation for this class was generated from the following files: