Normalization Functions

No overview available.

Topics

Normalization Functions

Finding the Sharpest Image in a Sequence of Captured Images

Share image data between vDSP and vImage to compute the sharpest image from a bracketed photo sequence.

func vDSP_normalize(UnsafePointer<Float>, vDSP_Stride, UnsafeMutablePointer<Float>?, vDSP_Stride, UnsafeMutablePointer<Float>, UnsafeMutablePointer<Float>, vDSP_Length)

Compute mean and standard deviation and then calculate new elements to have a zero mean and a unit standard deviation. Single precision.

func vDSP_normalizeD(UnsafePointer<Double>, vDSP_Stride, UnsafeMutablePointer<Double>?, vDSP_Stride, UnsafeMutablePointer<Double>, UnsafeMutablePointer<Double>, vDSP_Length)

Compute mean and standard deviation and then calculate new elements to have a zero mean and a unit standard deviation. Double precision.