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§
fn as_raw_mut_MergeExposures(&mut self) -> *mut c_void
Provided Methods§
Sourcefn process(
&mut self,
src: &impl ToInputArray,
dst: &mut impl ToOutputArray,
times: &impl ToInputArray,
response: &impl ToInputArray,
) -> Result<()>
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.