RggbChannelVector(Single, Single, Single, Single) Constructor

Definition

Create a new RggbChannelVector from an RGGB 2x2 pixel.

[Android.Runtime.Register(".ctor", "(FFFF)V", "")]
public RggbChannelVector (float red, float greenEven, float greenOdd, float blue);
[<Android.Runtime.Register(".ctor", "(FFFF)V", "")>]
new Android.Hardware.Camera2.Params.RggbChannelVector : single * single * single * single -> Android.Hardware.Camera2.Params.RggbChannelVector

Parameters

red
Single

red pixel

greenEven
Single

green pixel (even row)

greenOdd
Single

green pixel (odd row)

blue
Single

blue pixel

Attributes

Exceptions

if any of the arguments were not finite

Remarks

Create a new RggbChannelVector from an RGGB 2x2 pixel.

All pixel values are considered normalized within [0.0f, 1.0f] (i.e. 1.0f could be linearized to 255 if converting to a non-floating point pixel representation).

All arguments must be finite; NaN and infinity is not allowed.

Java documentation for android.hardware.camera2.params.RggbChannelVector.RggbChannelVector(float, float, float, float).

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.

Applies to