DUNE: Uniform Navigational Environment
2019.02.1
|
White-balance filter for Bayer 8 (GBRG) images.
Public Member Functions | |
WhiteBalance (unsigned w, unsigned h) | |
void | setRFactor (float r_factor) |
void | setBFactor (float b_factor) |
void | filter (uint8_t *data) |
|
inline |
Constructor.
[in] | w | image width. |
[in] | h | image height. |
|
inline |
Apply white-balance to data.
[in] | data | Bayer 8 (GBRG) image. |
Referenced by Vision::DFK51BG02H::Task::onMain().
|
inline |
Set B factor.
[in] | b_factor | B factor. |
Referenced by Vision::DFK51BG02H::Task::onUpdateParameters().
|
inline |
Set R factor.
[in] | r_factor | R factor. |
Referenced by Vision::DFK51BG02H::Task::onUpdateParameters().