Method ContrastStretching
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ContrastStretching(Mat, Mat, int, int, int, int)
Applies piecewise-linear contrast stretching to an 8-bit grayscale or BGR image.
public static void ContrastStretching(Mat input, Mat output, int r1, int s1, int r2, int s2)