public class MergeMertens extends MergeExposures
Modifier | Constructor and Description |
---|---|
protected |
MergeMertens(long addr) |
Modifier and Type | Method and Description |
---|---|
static MergeMertens |
__fromPtr__(long addr) |
protected void |
finalize() |
float |
getContrastWeight() |
float |
getExposureWeight() |
float |
getSaturationWeight() |
void |
process(List<Mat> src,
Mat dst)
Short version of process, that doesn't take extra arguments.
|
void |
process(List<Mat> src,
Mat dst,
Mat times,
Mat response)
Merges images.
|
void |
setContrastWeight(float contrast_weiht) |
void |
setExposureWeight(float exposure_weight) |
void |
setSaturationWeight(float saturation_weight) |
clear, empty, getDefaultName, getNativeObjAddr, save
public static MergeMertens __fromPtr__(long addr)
public float getContrastWeight()
public float getExposureWeight()
public float getSaturationWeight()
public void process(List<Mat> src, Mat dst, Mat times, 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(List<Mat> src, Mat dst)
src
- vector of input imagesdst
- result imagepublic void setContrastWeight(float contrast_weiht)
public void setExposureWeight(float exposure_weight)
public void setSaturationWeight(float saturation_weight)
protected void finalize() throws Throwable
finalize
in class MergeExposures
Throwable
Copyright © 2020. All rights reserved.