VPConvolution2D RollFilter Method ( Single , Int32, Int32, Int32)Virtual Photonics - VTS Library
Virtual Photonics
'Roll' Algorithm, Custom Integration based off Tom, et al, curtesy of Owen Yang. Owen Yang, David Cuccia, and Bernard Choi, "Real-time blood flow imaging using the graphics processing unit," (paper in preparation)

Namespace: Vts.Common.Math
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static float[] RollFilter(
	float[] raw,
	int width,
	int height,
	int radius
)

Parameters

raw
Type:  OnlineSystem Single 
raw image
width
Type: OnlineSystem Int32
image width
height
Type: OnlineSystem Int32
image height
radius
Type: OnlineSystem Int32
radius of moving window (full window size will be 2*radius+1)

Return Value

Type:  OnlineSingle 
processed image
Remarks

Allocates processed image, as well as row and column strip sums and calls the most general overload. Calling this version multiple times with large images will probably thrash the GC.
See Also