Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
More...
#include <opencv2/photo.hpp>
|
virtual float | getGamma () const =0 |
|
virtual void | process (InputArray src, OutputArray dst)=0 |
| Tonemaps image.
|
|
virtual void | setGamma (float gamma)=0 |
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state.
|
|
virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage.
|
|
virtual void | save (const String &filename) const |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage.
|
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| simplified API for language bindingsThis is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
virtual float cv::Tonemap::getGamma |
( |
| ) |
const |
|
pure virtual |
Python: |
---|
| retval | = | cv.Tonemap.getGamma( | | ) |
Python: |
---|
| dst | = | cv.Tonemap.process( | src[, 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 |
virtual void cv::Tonemap::setGamma |
( |
float |
gamma | ) |
|
|
pure virtual |
Python: |
---|
| None | = | cv.Tonemap.setGamma( | gamma | ) |
The documentation for this class was generated from the following file: