5#ifndef OPENCV_XPHOTO_TONEMAP_HPP
6#define OPENCV_XPHOTO_TONEMAP_HPP
8#include "opencv2/photo.hpp"
10namespace cv {
namespace xphoto {
28 CV_WRAP
virtual float getSaturation()
const = 0;
29 CV_WRAP
virtual void setSaturation(
float saturation) = 0;
31 CV_WRAP
virtual float getContrast()
const = 0;
32 CV_WRAP
virtual void setContrast(
float contrast) = 0;
34 CV_WRAP
virtual float getSigmaSpace()
const = 0;
35 CV_WRAP
virtual void setSigmaSpace(
float sigma_space) = 0;
37 CV_WRAP
virtual float getSigmaColor()
const = 0;
38 CV_WRAP
virtual void setSigmaColor(
float sigma_color) = 0;
53createTonemapDurand(
float gamma = 1.0f,
float contrast = 4.0f,
float saturation = 1.0f,
float sigma_color = 2.0f,
float sigma_space = 2.0f);
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
Definition: photo.hpp:337
This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter a...
Definition: tonemap.hpp:25
CV_EXPORTS_W Ptr< TonemapDurand > createTonemapDurand(float gamma=1.0f, float contrast=4.0f, float saturation=1.0f, float sigma_color=2.0f, float sigma_space=2.0f)
Creates TonemapDurand object
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74