C# Class SoundFingerprinting.Utils.FingerprintDescriptor

Signature image encoder/decoder
Inheritance: IFingerprintDescriptor
Afficher le fichier Open project: AddictedCS/soundfingerprinting Class Usage Examples

Méthodes publiques

Méthode Description
DecodeFingerprint ( bool signature ) : double[]

Decode the signature of the fingerprint

EncodeFingerprint ( float concatenated, int indexes, int topWavelets ) : bool[]

Encode the integer representation of the fingerprint into a Boolean array

ExtractTopWavelets ( float frames, int topWavelets ) : bool[]

Sets all other wavelet values to 0 except whose which make part of Top Wavelet [top wavelet > 0 ? 1 : -1]

Negative Numbers = 01 Positive Numbers = 10 Zeros = 00

FingerprintDescriptor ( ) : System

Méthodes protégées

Méthode Description
ConcatenateFrames ( float frames ) : float[]

Method Details

ConcatenateFrames() protected méthode

protected ConcatenateFrames ( float frames ) : float[]
frames float
Résultat float[]

DecodeFingerprint() public méthode

Decode the signature of the fingerprint
public DecodeFingerprint ( bool signature ) : double[]
signature bool Signature to be decoded
Résultat double[]

EncodeFingerprint() public méthode

Encode the integer representation of the fingerprint into a Boolean array
public EncodeFingerprint ( float concatenated, int indexes, int topWavelets ) : bool[]
concatenated float Concatenated fingerprint (frames concatenated)
indexes int Sorted indexes with the first one with the highest value in array
topWavelets int Number of top wavelets to encode
Résultat bool[]

ExtractTopWavelets() public méthode

Sets all other wavelet values to 0 except whose which make part of Top Wavelet [top wavelet > 0 ? 1 : -1]
Negative Numbers = 01 Positive Numbers = 10 Zeros = 00
public ExtractTopWavelets ( float frames, int topWavelets ) : bool[]
frames float /// Frames with 32 logarithmically spaced frequency bins ///
topWavelets int /// The top Wavelets. ///
Résultat bool[]

FingerprintDescriptor() public méthode

public FingerprintDescriptor ( ) : System
Résultat System