Kernel QML Type
Constructor for ConvolutionFilter kernels. More...
Import Statement: | import Sailfish.Silica.Background 1.0 |
Methods
Detailed Description
Note: This QML type is under development and is subject to change.
The Kernel singleton type provides constructors for creating convolution kernels.
Method Documentation
Returns a convolution kernel constructed from a list of sample weights.
gaussian(var sampleSize, real deviation) |
Returns a Gaussian convolution kernel with the given sampleSize and deviation.
The sampleSize may be one of:
Kernel.SampleSize5
Kernel.SampleSize9
Kernel.SampleSize13
Kernel.SampleSize17
Kernel.SampleSize21
Kernel.SampleSize25
Kernel.SampleSize29
Kernel.SampleSize33
If no deviation is supplied a value which best fits the sample size will be chosen.