[−][src]Function opencv::intensity_transform::bimef2
pub fn bimef2(
input: &dyn ToInputArray,
output: &mut dyn ToOutputArray,
k: f32,
mu: f32,
a: f32,
b: f32
) -> Result<()>
Given an input color image, enhance low-light images using the BIMEF method (ying2017bio ying2017new).
This is an overloaded function with the exposure ratio given as parameter.
Parameters
- input: input color image.
- output: resulting image.
- k: exposure ratio.
- mu: enhancement ratio.
- a: a-parameter in the Camera Response Function (CRF).
- b: b-parameter in the Camera Response Function (CRF).
@warning This is a C++ implementation of the original MATLAB algorithm. Compared to the original code, this implementation is a little bit slower and does not provide the same results. In particular, quality of the image enhancement is degraded for the bright areas in certain conditions.