Signal Processing Extensions.Inverse Discrete Cosine Transform Method
Computes the type-III inverse of the type-II discrete cosine transform.
Definition
Namespace: Numerics.NET.SignalProcessing
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
The inverse discrete cosine transform (iDCT) of x.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public static Vector<double> InverseDiscreteCosineTransform(
this Vector<double> x,
bool orthonormal = true
)Parameters
- x Vector<Double>
- The vector to transform.
- orthonormal Boolean (Optional)
- Optional. Specifies whether the transform should be orthogonal/unitary. The default is true.
Return Value
Vector<Double>The inverse discrete cosine transform (iDCT) of x.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
When orthonormal is false, the result uses
scale 1/(2N) for the constant coefficient and 1/N for the remaining
cosine sums. It inverts the unnormalized forward transform.