Search Results for

    Show / Hide Table of Contents

    Class FindMatchingEvents

    Inheritance
    Object
    FindMatchingEvents
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AudioAnalysisTools
    Assembly: AudioAnalysisTools.dll
    Syntax
    public class FindMatchingEvents

    Methods

    | Improve this Doc View Source

    CountPositives(Double[,])

    Declaration
    public static int CountPositives(double[, ] m)
    Parameters
    Type Name Description
    Double[,] m
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    Execute_Bi_or_TrinaryMatch(Double[,], SpectrogramStandard, List<AcousticEvent>, Int32, Int32, Double)

    Use this method to find match in sonogram to a symbolic definition of a bird call. That is, the template should be matrix of binary or trinary values.

    Declaration
    public static Tuple<double[]> Execute_Bi_or_TrinaryMatch(double[, ] template, SpectrogramStandard sonogram, List<AcousticEvent> segments, int minHz, int maxHz, double dBThreshold)
    Parameters
    Type Name Description
    Double[,] template
    SpectrogramStandard sonogram
    List<AcousticEvent> segments
    Int32 minHz
    Int32 maxHz
    Double dBThreshold

    Not used in calculation. Only used to speed up loop over the spectrogram.

    Returns
    Type Description
    Tuple<Double[]>
    | Improve this Doc View Source

    Execute_MFCC_XCOR(Double[,], Double, SpectrogramStandard, List<AcousticEvent>, Int32, Int32, Double)

    Declaration
    public static Tuple<double[]> Execute_MFCC_XCOR(double[, ] target, double dynamicRange, SpectrogramStandard sonogram, List<AcousticEvent> segments, int minHz, int maxHz, double minDuration)
    Parameters
    Type Name Description
    Double[,] target
    Double dynamicRange
    SpectrogramStandard sonogram
    List<AcousticEvent> segments
    Int32 minHz
    Int32 maxHz
    Double minDuration
    Returns
    Type Description
    Tuple<Double[]>
    | Improve this Doc View Source

    Execute_One_Spr_Match(Char[,], Double[,], Double)

    Declaration
    public static Tuple<double> Execute_One_Spr_Match(char[, ] template, double[, ] dataMatrix, double dBThreshold)
    Parameters
    Type Name Description
    Char[,] template
    Double[,] dataMatrix
    Double dBThreshold
    Returns
    Type Description
    Tuple<Double>
    | Improve this Doc View Source

    Execute_SobelEdges(Double[,], Double, SpectrogramStandard, List<AcousticEvent>, Int32, Int32, Double)

    Declaration
    public static Tuple<double[]> Execute_SobelEdges(double[, ] target, double dynamicRange, SpectrogramStandard sonogram, List<AcousticEvent> segments, int minHz, int maxHz, double minDuration)
    Parameters
    Type Name Description
    Double[,] target
    Double dynamicRange
    SpectrogramStandard sonogram
    List<AcousticEvent> segments
    Int32 minHz
    Int32 maxHz
    Double minDuration
    Returns
    Type Description
    Tuple<Double[]>
    | Improve this Doc View Source

    Execute_Spr_Match(Char[,], SpectrogramStandard, List<AcousticEvent>, Int32, Int32, Double)

    Use this method to find match in sonogram to a symbolic definition of a bird call. That is, the template should be matrix of binary or trinary values.

    Declaration
    public static Tuple<double[]> Execute_Spr_Match(char[, ] template, SpectrogramStandard sonogram, List<AcousticEvent> segments, int minHz, int maxHz, double dBThreshold)
    Parameters
    Type Name Description
    Char[,] template
    SpectrogramStandard sonogram
    List<AcousticEvent> segments
    Int32 minHz
    Int32 maxHz
    Double dBThreshold
    Returns
    Type Description
    Tuple<Double[]>
    | Improve this Doc View Source

    Execute_StewartGage(Double[,], Double, SpectrogramStandard, List<AcousticEvent>, Int32, Int32, Double)

    Use this method when want to match defined shape in target using cross-correlation. This was the method used by Stewart Gage. First set target and source to same dynamic range. Then NormaliseMatrixValues target and source to unit-length.

    Declaration
    public static Tuple<double[]> Execute_StewartGage(double[, ] target, double dynamicRange, SpectrogramStandard sonogram, List<AcousticEvent> segments, int minHz, int maxHz, double minDuration)
    Parameters
    Type Name Description
    Double[,] target
    Double dynamicRange
    SpectrogramStandard sonogram
    List<AcousticEvent> segments
    Int32 minHz
    Int32 maxHz
    Double minDuration
    Returns
    Type Description
    Tuple<Double[]>
    | Improve this Doc View Source

    NormaliseBiTrinaryMatrix(Double[,])

    Normalises a binary matrix of -1,+1 or trinary matrix of -1,0,+1 so that the sum of +1 cells = sum of -1 cells. Change the -1 cells by a ratio. The purpose is to use the normalised matrix for pattern matching such that the matrix returns a zero value for uniform background noise.

    Declaration
    public static Tuple<double[, ], int, int> NormaliseBiTrinaryMatrix(double[, ] target)
    Parameters
    Type Name Description
    Double[,] target
    Returns
    Type Description
    Tuple<Double[,], Int32, Int32>
    | Improve this Doc View Source

    ReadImage2BinaryMatrixDouble(String)

    Declaration
    public static double[, ] ReadImage2BinaryMatrixDouble(string fileName)
    Parameters
    Type Name Description
    String fileName
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    ReadImage2TrinaryMatrix(String)

    Declaration
    public static double[, ] ReadImage2TrinaryMatrix(string fileName)
    Parameters
    Type Name Description
    String fileName
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    ReadTextFile2CharMatrix(String)

    Declaration
    public static char[, ] ReadTextFile2CharMatrix(string fileName)
    Parameters
    Type Name Description
    String fileName
    Returns
    Type Description
    Char[,]
    | Improve this Doc View Source

    WriteTemplate2Console(Double[,])

    Declaration
    public static void WriteTemplate2Console(double[, ] template)
    Parameters
    Type Name Description
    Double[,] template

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top