Android.Hardware.Camera2.Params.LensShadingMap.GetGainFactor Method
Get a single color channel gain factor from this lens shading map by its row and column.

Syntax

[Android.Runtime.Register("getGainFactor", "(III)F", "")]
public float GetGainFactor (Android.Graphics.Color colorChannel, int column, int row)

See Also

LensShadingMap.RowCount
LensShadingMap.ColumnCount

Parameters

colorChannel
color channel from [R, Geven, Godd, B]
column
within the range [0, LensShadingMap.ColumnCount)
row
within the range [0, LensShadingMap.RowCount)

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif any of the parameters was out of range

Remarks

Get a single color channel gain factor from this lens shading map by its row and column.

The rows must be within the range [0, LensShadingMap.RowCount), the column must be within the range [0, LensShadingMap.ColumnCount), and the color channel must be within the range [0, RggbChannelVector.Count).

The channel order is [R, Geven, Godd, B], where Geven is the green channel for the even rows of a Bayer pattern, and Godd is the odd rows.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2.Params
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0