ScriptIntrinsicConvolve5x5.SetCoefficients(Single[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置卷积的系数。
[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 ]
适用于 . 的 android.renderscript.ScriptIntrinsicConvolve5x5.setCoefficients(float[])
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。