ScriptIntrinsicHistogram.Create(RenderScript, Element) Method

Definition

Create an intrinsic for calculating the histogram of an uchar or uchar4 image.

[Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicHistogram;", "")]
public static Android.Renderscripts.ScriptIntrinsicHistogram? Create (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e);
[<Android.Runtime.Register("create", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;)Landroid/renderscript/ScriptIntrinsicHistogram;", "")>]
static member Create : Android.Renderscripts.RenderScript * Android.Renderscripts.Element -> Android.Renderscripts.ScriptIntrinsicHistogram

Parameters

rs
RenderScript

The RenderScript context

e
Element

Element type for inputs

Returns

ScriptIntrinsicHistogram

Attributes

Remarks

Create an intrinsic for calculating the histogram of an uchar or uchar4 image.

Supported elements types are Element#U8_4, Element#U8_3, Element#U8_2, Element#U8

Java documentation for android.renderscript.ScriptIntrinsicHistogram.create(android.renderscript.RenderScript, android.renderscript.Element).

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