Class 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 @cite MK07 .
Implements
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public sealed class MergeMertens : MergeExposures, ICvPtrHolder
Methods
| Improve this Doc View SourceCreate()
Creates the empty model.
Declaration
public static MergeMertens Create()
Returns
Type | Description |
---|---|
MergeMertens |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceProcess(IEnumerable<Mat>, OutputArray)
Short version of process, that doesn't take extra arguments.
Declaration
public void Process(IEnumerable<Mat> src, OutputArray dst)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Mat> | src | vector of input images |
OutputArray | dst | result image |