Package org.opencv.photo
Class Tonemap
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.photo.Tonemap
-
- Direct Known Subclasses:
TonemapDrago
,TonemapDurand
,TonemapMantiuk
,TonemapReinhard
public class Tonemap extends Algorithm
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Tonemap(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tonemap
__fromPtr__(long addr)
protected void
finalize()
float
getGamma()
void
process(Mat src, Mat dst)
Tonemaps imagevoid
setGamma(float gamma)
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static Tonemap __fromPtr__(long addr)
-
getGamma
public float getGamma()
-
process
public void process(Mat src, Mat dst)
Tonemaps image- Parameters:
src
- source image - CV_32FC3 Mat (float 32 bits 3 channels)dst
- destination image - CV_32FC3 Mat with values in [0, 1] range
-
setGamma
public void setGamma(float gamma)
-
-