VPConvolution2D LsiRoll Method 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 void LsiRoll(
	int[] raw,
	float[] speckleContrast,
	float[] speckleFlowIndex,
	int[] rollRow,
	int[] rollColumn,
	int[] rollRowSquared,
	int[] rollColumnSquared,
	int width,
	int height,
	int wR,
	float t
)

Parameters

raw
Type:  OnlineSystem Int32 
Raw speckle image
speckleContrast
Type:  OnlineSystem Single 
Speckle contrast, preallocated 1D matrix
speckleFlowIndex
Type:  OnlineSystem Single 
Speckle flow index, preallocated 1D matrix
rollRow
Type:  OnlineSystem Int32 
Preallocated buffer for holding the strip sum in the row
rollColumn
Type:  OnlineSystem Int32 
Preallocated buffer for holding the strip sum in the column
rollRowSquared
Type:  OnlineSystem Int32 
Preallocated buffer for holding the strip sums of squared values in the row
rollColumnSquared
Type:  OnlineSystem Int32 
Preallocated buffer for holding the strip sums of squared values in the row
width
Type: OnlineSystem Int32
Width of the raw speckle image. Also used for calculating the size of the preallocated buffers, the 4 buffers are width*1
height
Type: OnlineSystem Int32
Height of the raw speckle image
wR
Type: OnlineSystem Int32
Size of the sliding window radius
t
Type: OnlineSystem Single
Exposure time of the camera used to obtain the raw speckle images
See Also