[−][src]Trait opencv::photo::MergeMertens
Pixels are weighted using contrast, saturation and well-exposedness measures, than images are combined using laplacian pyramids.
The resulting image weight is constructed as weighted average of contrast, saturation and well-exposedness measures.
The resulting image doesn't require tonemapping and can be converted to 8-bit image by multiplying by 255, but it's recommended to apply gamma correction and/or linear tonemapping.
For more information see MK07 .
Required methods
fn as_raw_MergeMertens(&self) -> *mut c_void
Provided methods
fn process_with_response(
&mut self,
src: &VectorOfMat,
dst: &mut Mat,
times: &Mat,
response: &Mat
) -> Result<()>
&mut self,
src: &VectorOfMat,
dst: &mut Mat,
times: &Mat,
response: &Mat
) -> Result<()>
fn process(&mut self, src: &VectorOfMat, dst: &mut Mat) -> Result<()>
Short version of process, that doesn't take extra arguments.
Parameters
- src: vector of input images
- dst: result image