Show / Hide Table of Contents

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 .

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
MergeExposures
MergeMertens
Implements
ICvPtrHolder
Inherited Members
MergeExposures.Process(IEnumerable<Mat>, OutputArray, IEnumerable<Single>, InputArray)
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public sealed class MergeMertens : MergeExposures, ICvPtrHolder

Methods

| Improve this Doc View Source

Create()

Creates the empty model.

Declaration
public static MergeMertens Create()
Returns
Type Description
MergeMertens
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr
| Improve this Doc View Source

Process(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

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX