[][src]Function opencv::intensity_transform::bimef

pub fn bimef(
    input: &dyn ToInputArray,
    output: &mut dyn ToOutputArray,
    mu: f32,
    a: f32,
    b: f32
) -> Result<()>

Given an input color image, enhance low-light images using the BIMEF method (ying2017bio ying2017new).

Parameters

  • input: input color image.
  • output: resulting image.
  • 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.

C++ default parameters

  • mu: 0.5f
  • a: -0.3293f
  • b: 1.1258f