WhiteBlackPointFilter

data class WhiteBlackPointFilter(var blackPoint: Double = 0.0, var whitePoint: Double = 1.0) : ParametricFilter, Parcelable

Maps image value channel so that all the pixels darker than the black point are set to 0, all the pixels brighter than the white point are set to 255, and the pixels in between are linearly scaled.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(blackPoint: Double = 0.0, whitePoint: Double = 1.0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

Fraction of the value channel range that is set to 0. The value should be in the range from 0 to 1.

Link copied to clipboard

Fraction of the value channel range that is not set to 255. The value should be in the range from 0 to 1.

Functions

Link copied to clipboard
open override fun clone(): WhiteBlackPointFilter
Link copied to clipboard
open override fun toJson(config: ToJsonConfiguration): JSONObject