Generates a 1D Gaussian convolution kernel.
int32 Generate1D( Float32Array p_adFilterVals, double p_dSigma, int32 p_nTaps )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Float32Array> | p_adFilterVals | A pointer to a <Float64Array> that contains the values of the Gaussian convolution kernel. |
double | p_dSigma | A <float64> representing sigma ( the strength of the blur ). This should be the same value passed to ComputePixelsForSigma. |
int32 | p_nTaps | An <int32> representing the number of filter taps. This value should be computed with ComputePixelsForSigma. |
None published. Please look for an example in the Scenome Scripting Language code base.