Class Contrast

    • Field Detail

      • contrast

        public final float contrast
        Adjusts the contrast of video frames in the interval [-1, 1].
    • Constructor Detail

      • Contrast

        public Contrast​(float contrast)
        Creates a new instance for the given contrast value.

        Contrast values range from -1 (all gray pixels) to 1 (maximum difference of colors). 0 means to add no contrast and leaves the frames unchanged.