Class SimpleWB
- Namespace
- OpenCvSharp.XPhoto
- Assembly
- OpenCvSharp.dll
A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom p% of pixel values.
public class SimpleWB : WhiteBalancer, IDisposable
- Inheritance
-
SimpleWB
- Implements
- Inherited Members
Properties
- InputMax
Input image range maximum value.
- InputMin
Input image range minimum value.
- OutputMax
Output image range maximum value.
- OutputMin
Output image range minimum value.
- P
Percent of top/bottom values to ignore.
Methods
- BalanceWhite(InputArray, OutputArray)
Applies white balancing to the input image.
- Create()
Creates an instance of SimpleWB