Class GaussianInterpolator
Implements Gaussian (Blurring) interpolation.
Inheritance
System.Object
    GaussianInterpolator
  Implements
Namespace: PhotoSauce.MagicScaler.Interpolators
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public sealed class GaussianInterpolator : Object, IInterpolator
  Constructors
GaussianInterpolator(Double)
Constructs a new GaussianInterpolator with the specified sigma.
Declaration
public GaussianInterpolator(double sigma)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | sigma | The sigma value (sometimes called radius) for the interpolation function. Larger values produce more blurring.  | 
      
Properties
Support
The maximum distance from the origin for which the GetValue(Double) method returns a non-zero value.
Declaration
public double Support { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Methods
GetValue(Double)
Calculates the value at a given distance from the origin.
Declaration
public double GetValue(double d)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | d | The absolute value of the distance from the origin.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Double | The value at the specified distance.  | 
      
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | A string that represents the current object.  |