@Namespace(value="cv") public static class opencv_photo.MergeMertens extends opencv_photo.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 .
| Constructor and Description |
|---|
MergeMertens(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic MergeMertens(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat times,
@ByVal
opencv_core.Mat response)
opencv_photo.MergeExposuresprocess in class opencv_photo.MergeExposuressrc - 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
opencv_core.UMatVector src,
@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat times,
@ByVal
opencv_core.Mat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat times,
@ByVal
opencv_core.Mat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat times,
@ByVal
opencv_core.UMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.UMatVector src,
@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat times,
@ByVal
opencv_core.UMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat times,
@ByVal
opencv_core.UMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat times,
@ByVal
opencv_core.GpuMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.UMatVector src,
@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat times,
@ByVal
opencv_core.GpuMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat times,
@ByVal
opencv_core.GpuMat response)
process in class opencv_photo.MergeExposurespublic void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.Mat dst)
src - vector of input imagesdst - result imagepublic void process(@ByVal
opencv_core.UMatVector src,
@ByVal
opencv_core.Mat dst)
public void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.Mat dst)
public void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.UMat dst)
public void process(@ByVal
opencv_core.UMatVector src,
@ByVal
opencv_core.UMat dst)
public void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.UMat dst)
public void process(@ByVal
opencv_core.MatVector src,
@ByVal
opencv_core.GpuMat dst)
public void process(@ByVal
opencv_core.UMatVector src,
@ByVal
opencv_core.GpuMat dst)
public void process(@ByVal
opencv_core.GpuMatVector src,
@ByVal
opencv_core.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 © 2018. All rights reserved.