ScriptIntrinsicHistogram.Create(RenderScript, Element) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.