ScriptIntrinsicConvolve5x5.SetCoefficients(Single[]) 方法

定義

設定卷積的係數。

[Android.Runtime.Register("setCoefficients", "([F)V", "")]
public void SetCoefficients(float[]? v);
[<Android.Runtime.Register("setCoefficients", "([F)V", "")>]
member this.SetCoefficients : single[] -> unit

參數

v
Single[]

要設定的係數陣列

屬性

備註

設定卷積的係數。

卷積佈局如下: <p> [ 0, 1, 2, 3, 4 ] <p> [ 5, 6, 7, 8, 9 ] <p> [ 10, 11, 12, 13, 14 ] <p> [ 15, 16, 17, 18, 19 ] <p> [ 20, 21, 22, 23, 24 ]

Java 文件 android.renderscript.ScriptIntrinsicConvolve5x5.setCoefficients(float[])

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

適用於