[][src]Function opencv::intensity_transform::log_transform

pub fn log_transform(input: Mat, output: &mut Mat) -> Result<()>

Given an input bgr or grayscale image and constant c, apply log transformation to the image on domain [0, 255] and return the resulting image.

Parameters

  • input: input bgr or grayscale image.
  • output: resulting image of log transformations.