Class ExposureCompensator
- Namespace
- OpenCvSharp.Detail
- Assembly
- OpenCvSharp.dll
Base class for all exposure compensators.
public class ExposureCompensator : CvPtrObject, IDisposable
- Inheritance
-
ExposureCompensator
- Implements
- Derived
- Inherited Members
Constructors
- ExposureCompensator(nint, Action<nint>)
Constructor for the direct-allocation pattern (used by concrete subclasses with a public constructor).
Properties
- UpdateGain
Whether gains are recomputed on each Feed(IReadOnlyList<Point>, IEnumerable<Mat>, IEnumerable<Mat>) call.
Methods
- Apply(int, Point, InputOutputArray, InputArray)
Compensates exposure in the specified image.
- CreateDefault(ExposureCompensatorType)
Creates an exposure compensator of the given kind.
- Feed(IReadOnlyList<Point>, IEnumerable<Mat>, IEnumerable<Mat>)
Updates image masks and computes gains to prepare for exposure compensation.
- GetMatGains()
Gets the gains computed for each fed image.
- SetMatGains(IEnumerable<Mat>)
Sets the gains for each image, in lieu of computing them via Feed(IReadOnlyList<Point>, IEnumerable<Mat>, IEnumerable<Mat>).