Method CorrectImage
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CorrectImage(InputArray, OutputArray, bool)
Applies color correction to the input image using the fitted color correction matrix. The conventional ranges for R, G, and B channel values are 0 to 255 for CV_8U images, 0 to 65535 for CV_16U images, and 0 to 1 for CV_32F images.
public void CorrectImage(InputArray src, OutputArray dst, bool isLinear = false)
Parameters
srcInputArrayInput 8-bit, 16-bit unsigned or 32-bit float 3-channel image.
dstOutputArrayOutput image of the same size and datatype as src.
isLinearboolDefault false.