TonemapCurve(Single[], Single[], Single[]) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new immutable TonemapCurve instance.
[Android.Runtime.Register(".ctor", "([F[F[F)V", "")]
public TonemapCurve (float[]? red, float[]? green, float[]? blue);
[<Android.Runtime.Register(".ctor", "([F[F[F)V", "")>]
new Android.Hardware.Camera2.Params.TonemapCurve : single[] * single[] * single[] -> Android.Hardware.Camera2.Params.TonemapCurve
Parameters
- red
- Single[]
An array of elements whose length is divisible by #POINT_SIZE
- green
- Single[]
An array of elements whose length is divisible by #POINT_SIZE
- blue
- Single[]
An array of elements whose length is divisible by #POINT_SIZE
- Attributes
Exceptions
if any of input array length is invalid, or if any of the elements in the array are not in the range of [LevelBlack, LevelWhite]
if any of the parameters are null
Remarks
Create a new immutable TonemapCurve instance.
Values are stored as a contiguous array of (Pin, Pout)
points.
All parameters may have independent length but should have at most CameraCharacteristics#TONEMAP_MAX_CURVE_POINTS
* #POINT_SIZE
elements and at least 2 * #POINT_SIZE
elements.
All sub-elements must be in the inclusive range of [#LEVEL_BLACK
, #LEVEL_WHITE
].
This constructor copies the array contents and does not retain ownership of the array.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.