TonemapDrago Class |
Namespace: OpenCvSharp
The TonemapDrago type exposes the following members.
Name | Description | |
---|---|---|
Bias |
Gets or sets value for bias function in [0, 1] range. Values from 0.7 to 0.9 usually give best
results, default value is 0.85.
| |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
Empty |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
(Inherited from Algorithm.) | |
Gamma |
Gets or sets positive value for gamma correction. Gamma value of 1.0 implies no correction, gamma
equal to 2.2f is suitable for most displays.
Generally gamma > 1 brightens the image and gamma < 1 darkens it.
(Inherited from Tonemap.) | |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
Saturation |
Gets or sets positive saturation enhancement value. 1.0 preserves saturation, values greater
than 1 increase saturation and values less than 1 decrease it.
|
Name | Description | |
---|---|---|
Create |
Creates TonemapDrago object
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDefaultName |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object
is saved to a file or string.
(Inherited from Algorithm.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Process |
Tonemaps image
(Inherited from Tonemap.) | |
Read |
Reads algorithm parameters from a file storage
(Inherited from Algorithm.) | |
Save |
Saves the algorithm to a file.
In order to make this method work, the derived class must
implement Algorithm::write(FileStorage fs).
(Inherited from Algorithm.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write |
Stores algorithm parameters in a file storage
(Inherited from Algorithm.) |