pub trait MergeExposuresTrait: AlgorithmTrait + MergeExposuresTraitConst {
    // Required method
    fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void;

    // Provided method
    fn process(
        &mut self,
        src: &impl ToInputArray,
        dst: &mut impl ToOutputArray,
        times: &impl ToInputArray,
        response: &impl ToInputArray
    ) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::photo::MergeExposures

Required Methods§

Provided Methods§

source

fn process( &mut self, src: &impl ToInputArray, dst: &mut impl ToOutputArray, times: &impl ToInputArray, response: &impl ToInputArray ) -> Result<()>

Merges images.

Parameters
  • src: vector of input images
  • dst: result image
  • times: vector of exposure time values for each image
  • response: 256x1 matrix with inverse camera response function for each pixel value, it should have the same number of channels as images.

Implementors§