ScriptIntrinsicConvolve5x5.SetCoefficients(Single[]) Method

Definition

Set the coefficients for the convolve.

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

Parameters

v
Single[]

The array of coefficients to set

Attributes

Remarks

Set the coefficients for the convolve.

The convolve layout is: <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 documentation for android.renderscript.ScriptIntrinsicConvolve5x5.setCoefficients(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