@Namespace(value="cv") @Properties(inherit=opencv_photo.class) public class MergeMertens extends MergeExposures
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 .
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
MergeMertens(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getContrastWeight() |
float |
getExposureWeight() |
float |
getSaturationWeight() |
void |
process(GpuMatVector src,
GpuMat dst) |
void |
process(GpuMatVector src,
GpuMat dst,
GpuMat times,
GpuMat response) |
void |
process(GpuMatVector src,
Mat dst) |
void |
process(GpuMatVector src,
Mat dst,
Mat times,
Mat response) |
void |
process(GpuMatVector src,
UMat dst) |
void |
process(GpuMatVector src,
UMat dst,
UMat times,
UMat response) |
void |
process(MatVector src,
GpuMat dst) |
void |
process(MatVector src,
GpuMat dst,
GpuMat times,
GpuMat response) |
void |
process(MatVector src,
Mat dst)
\brief Short version of process, that doesn't take extra arguments.
|
void |
process(MatVector src,
Mat dst,
Mat times,
Mat response)
\brief Merges images.
|
void |
process(MatVector src,
UMat dst) |
void |
process(MatVector src,
UMat dst,
UMat times,
UMat response) |
void |
process(UMatVector src,
GpuMat dst) |
void |
process(UMatVector src,
GpuMat dst,
GpuMat times,
GpuMat response) |
void |
process(UMatVector src,
Mat dst) |
void |
process(UMatVector src,
Mat dst,
Mat times,
Mat response) |
void |
process(UMatVector src,
UMat dst) |
void |
process(UMatVector src,
UMat dst,
UMat times,
UMat response) |
void |
setContrastWeight(float contrast_weiht) |
void |
setExposureWeight(float exposure_weight) |
void |
setSaturationWeight(float saturation_weight) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public MergeMertens(Pointer p)
Pointer.Pointer(Pointer)
.public void process(@ByVal MatVector src, @ByVal Mat dst, @ByVal Mat times, @ByVal Mat response)
MergeExposures
process
in class MergeExposures
src
- vector of input imagesdst
- result imagetimes
- vector of exposure time values for each imageresponse
- 256x1 matrix with inverse camera response function for each pixel value, it should
have the same number of channels as images.public void process(@ByVal UMatVector src, @ByVal Mat dst, @ByVal Mat times, @ByVal Mat response)
process
in class MergeExposures
public void process(@ByVal GpuMatVector src, @ByVal Mat dst, @ByVal Mat times, @ByVal Mat response)
process
in class MergeExposures
public void process(@ByVal MatVector src, @ByVal UMat dst, @ByVal UMat times, @ByVal UMat response)
process
in class MergeExposures
public void process(@ByVal UMatVector src, @ByVal UMat dst, @ByVal UMat times, @ByVal UMat response)
process
in class MergeExposures
public void process(@ByVal GpuMatVector src, @ByVal UMat dst, @ByVal UMat times, @ByVal UMat response)
process
in class MergeExposures
public void process(@ByVal MatVector src, @ByVal GpuMat dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class MergeExposures
public void process(@ByVal UMatVector src, @ByVal GpuMat dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class MergeExposures
public void process(@ByVal GpuMatVector src, @ByVal GpuMat dst, @ByVal GpuMat times, @ByVal GpuMat response)
process
in class MergeExposures
public void process(@ByVal MatVector src, @ByVal Mat dst)
src
- vector of input imagesdst
- result imagepublic void process(@ByVal UMatVector src, @ByVal Mat dst)
public void process(@ByVal GpuMatVector src, @ByVal Mat dst)
public void process(@ByVal UMatVector src, @ByVal UMat dst)
public void process(@ByVal GpuMatVector src, @ByVal UMat dst)
public void process(@ByVal UMatVector src, @ByVal GpuMat dst)
public void process(@ByVal GpuMatVector src, @ByVal GpuMat dst)
public float getContrastWeight()
public void setContrastWeight(float contrast_weiht)
public float getSaturationWeight()
public void setSaturationWeight(float saturation_weight)
public float getExposureWeight()
public void setExposureWeight(float exposure_weight)
Copyright © 2020. All rights reserved.