C# 클래스 SoundFingerprinting.Utils.FingerprintDescriptor

Signature image encoder/decoder
상속: IFingerprintDescriptor
파일 보기 프로젝트 열기: AddictedCS/soundfingerprinting 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
ConcatenateFrames ( float frames ) : float[]

메소드 상세

ConcatenateFrames() 보호된 메소드

protected ConcatenateFrames ( float frames ) : float[]
frames float
리턴 float[]

DecodeFingerprint() 공개 메소드

Decode the signature of the fingerprint
public DecodeFingerprint ( bool signature ) : double[]
signature bool Signature to be decoded
리턴 double[]

EncodeFingerprint() 공개 메소드

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
리턴 bool[]

ExtractTopWavelets() 공개 메소드

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. ///
리턴 bool[]

FingerprintDescriptor() 공개 메소드

public FingerprintDescriptor ( ) : System
리턴 System