Class OpenCVContrastFunction
- java.lang.Object
-
- science.aist.imaging.opencv.imageprocessing.contrast.OpenCVContrastFunction
-
- All Implemented Interfaces:
Function<ImageWrapper<org.opencv.core.Mat>,ImageWrapper<org.opencv.core.Mat>>
,ImageFunction<org.opencv.core.Mat,org.opencv.core.Mat>
public class OpenCVContrastFunction extends Object implements ImageFunction<org.opencv.core.Mat,org.opencv.core.Mat>
increase/decrease the contrast of an image factor > 1 increase the contrast. factor < 1 decrease the contrast http://shubhamagrawal.com/opencv/opencv-playing-with-brightness-contrast-histogram-blurness/
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Constructor Description OpenCVContrastFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<org.opencv.core.Mat>
apply(ImageWrapper<org.opencv.core.Mat> image)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface science.aist.imaging.api.ImageFunction
andThen, andThenCloseInput, andThenConsumeInput
-
-
-
-
Method Detail
-
apply
public ImageWrapper<org.opencv.core.Mat> apply(ImageWrapper<org.opencv.core.Mat> image)
- Specified by:
apply
in interfaceFunction<ImageWrapper<org.opencv.core.Mat>,ImageWrapper<org.opencv.core.Mat>>
-
-