Table of Contents

Class MergeMertens

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

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 .

public sealed class MergeMertens : MergeExposures, IDisposable, ICvPtrHolder
Inheritance
MergeMertens
Implements
Inherited Members

Methods

Create()

Creates the empty model.

public static MergeMertens Create()

Returns

MergeMertens

DisposeManaged()

Releases managed resources

protected override void DisposeManaged()

Process(IEnumerable<Mat>, OutputArray)

Short version of process, that doesn't take extra arguments.

public void Process(IEnumerable<Mat> src, OutputArray dst)

Parameters

src IEnumerable<Mat>

vector of input images

dst OutputArray

result image