語言

LensShadingMap.GetGainFactor 方法

定義

多載

名稱 Description
GetGainFactor(Color, Int32, Int32)

從這張鏡頭著色貼圖中,依列和欄取得單一色彩通道增益因子。

GetGainFactor(Int32, Int32, Int32)

GetGainFactor(Color, Int32, Int32)

從這張鏡頭著色貼圖中,依列和欄取得單一色彩通道增益因子。

[Android.Runtime.Register("getGainFactor", "(III)F", "")]
public float GetGainFactor(Android.Graphics.Color colorChannel, int column, int row);
[<Android.Runtime.Register("getGainFactor", "(III)F", "")>]
member this.GetGainFactor : Android.Graphics.Color * int * int -> single

參數

colorChannel
Color

色彩通道來自 [R, Geven, Godd, B]

column
Int32

在 [0, #getColumnCount) 範圍內

row
Int32

在 [0, #getRowCount) 範圍內

傳回

增益因子 >= #MINIMUM_GAIN_FACTOR

屬性

例外狀況

如果有任何參數超出範圍

備註

從這張鏡頭著色貼圖中,依列和欄取得單一色彩通道增益因子。

列必須在範圍 [0, #getRowCount), #getColumnCount欄位內,顏色通道必須在範圍 [0, RggbChannelVector#COUNT, ) 內。

通道順序為 [R, Geven, Godd, B],其中 Geven 是 Bayer 圖案偶數列的綠色通道,是 Godd 奇數列。

Java 文件 android.hardware.camera2.params.LensShadingMap.getGainFactor(int, int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

另請參閱

適用於

GetGainFactor(Int32, Int32, Int32)

public float GetGainFactor(int colorChannel, int column, int row);
member this.GetGainFactor : int * int * int -> single

參數

colorChannel
Int32
column
Int32
row
Int32

傳回

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於