Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Methods
  • Detailed Description

Kernel QML Type

Constructor for ConvolutionFilter kernels. More...

Import Statement: import Sailfish.Silica.Background 1.0
  • List of all members, including inherited members

Methods

  • fromWeights(var weights)
  • gaussian(var sampleSize, real deviation)

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

fromWeights(var weights)

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.


  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn