Home Reference Source
import {GaussKernel} from 'postprocessing'
public class | source

GaussKernel

Constructor Summary

Public Constructor
public

constructor(kernelSize: Number, edgeBias: Number)

Constructs a new Gauss kernel.

Member Summary

Public Members
public

The offsets for linear sampling.

public get

The number of steps for linear sampling.

public

The weights for linear sampling.

public

The offsets for discrete sampling.

public get

The number of steps for discrete sampling.

public

The weights for discrete sampling.

Public Constructors

public constructor(kernelSize: Number, edgeBias: Number) source

Constructs a new Gauss kernel.

Params:

NameTypeAttributeDescription
kernelSize Number

The kernel size. Should be an odd number in the range [3, 1020].

edgeBias Number
  • optional
  • default: 2

Determines how many edge coefficients should be cut off for increased accuracy.

Public Members

public linearOffsets: Float64Array source

The offsets for linear sampling.

public get linearSteps: Number source

The number of steps for linear sampling.

public linearWeights: Float64Array source

The weights for linear sampling.

public offsets: Float64Array source

The offsets for discrete sampling.

public get steps: Number source

The number of steps for discrete sampling.

public weights: Float64Array source

The weights for discrete sampling.