ScriptIntrinsicHistogram.ForEach 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.
Overloads
ForEach(Allocation) |
Process an input buffer and place the histogram into the output allocation. |
ForEach(Allocation, Script+LaunchOptions) |
Process an input buffer and place the histogram into the output allocation. |
ForEach(Allocation)
Process an input buffer and place the histogram into the output allocation.
[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;)V", "")]
public void ForEach (Android.Renderscripts.Allocation? ain);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation -> unit
Parameters
- ain
- Allocation
The input image
- Attributes
Remarks
Process an input buffer and place the histogram into the output allocation. The output allocation may be a narrower vector size than the input. In this case the vector size of the output is used to determine how many of the input channels are used in the computation. This is useful if you have an RGBA input buffer but only want the histogram for RGB.
1D and 2D input allocations are supported.
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
ForEach(Allocation, Script+LaunchOptions)
Process an input buffer and place the histogram into the output allocation.
[Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")]
public void ForEach (Android.Renderscripts.Allocation? ain, Android.Renderscripts.Script.LaunchOptions? opt);
[<Android.Runtime.Register("forEach", "(Landroid/renderscript/Allocation;Landroid/renderscript/Script$LaunchOptions;)V", "")>]
override this.ForEach : Android.Renderscripts.Allocation * Android.Renderscripts.Script.LaunchOptions -> unit
Parameters
- ain
- Allocation
The input image
LaunchOptions for clipping
- Attributes
Remarks
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.