Generate1D Data Member Function

Generates a 1D Gaussian convolution kernel.

Prototype

int32 Generate1D( Float32Array p_adFilterVals, double p_dSigma, int32 p_nTaps )

Parameters

Parameter Type Parameter Name Documentation
<Float32Array>p_adFilterValsA pointer to a <Float64Array> that contains the values of the Gaussian convolution kernel.
doublep_dSigmaA <float64> representing sigma ( the strength of the blur ). This should be the same value passed to ComputePixelsForSigma.
int32p_nTapsAn <int32> representing the number of filter taps. This value should be computed with ComputePixelsForSigma.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.