Search Results for

    Show / Hide Table of Contents

    Class RidgeDetection

    Inheritance
    Object
    RidgeDetection
    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 RidgeDetection

    Methods

    | Improve this Doc View Source

    IdentifyHorizontalRidges(Double[,], Double)

    Declaration
    public static byte[, ] IdentifyHorizontalRidges(double[, ] matrix, double threshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double threshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    IdentifySpectralPeaks(Double[,])

    Declaration
    public static double[, ] IdentifySpectralPeaks(double[, ] matrix)
    Parameters
    Type Name Description
    Double[,] matrix
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    IdentifySpectralRidges(Double[,], Double)

    Declaration
    public static byte[, ] IdentifySpectralRidges(double[, ] matrix, double threshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double threshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    IdentifySpectralRidgesInFreqDirection(Double[,], Double)

    Declaration
    public static byte[, ] IdentifySpectralRidgesInFreqDirection(double[, ] matrix, double threshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double threshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    JoinDisconnectedRidgesInMatrix(Byte[,], Double[,], Double)

    JOINS DISCONNECTED RIDGES.

    Declaration
    public static byte[, ] JoinDisconnectedRidgesInMatrix(byte[, ] hits, double[, ] matrix, double threshold)
    Parameters
    Type Name Description
    Byte[,] hits
    Double[,] matrix
    Double threshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    Sobel5X5RidgeDetection_Version2(Double[,])

    returns four matrices containing the values of ridges in four directions.

    Declaration
    public static List<double[, ]> Sobel5X5RidgeDetection_Version2(double[, ] matrix)
    Parameters
    Type Name Description
    Double[,] matrix
    Returns
    Type Description
    List<Double[,]>
    | Improve this Doc View Source

    Sobel5X5RidgeDetectionExperiment(Double[,], Double)

    Returns a byte matrix of ridge directions 0 = no ridge detected or below magnitude threshold. 1 = ridge direction = horizontal or slope = 0; 2 = ridge is positive slope or pi/4 3 = ridge is vertical or pi/2 4 = ridge is negative slope or 3pi/4.

    Declaration
    public static byte[, ] Sobel5X5RidgeDetectionExperiment(double[, ] matrix, double magnitudeThreshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double magnitudeThreshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    Sobel5X5RidgeDetectionVersion1(Double[,], Double)

    Declaration
    public static byte[, ] Sobel5X5RidgeDetectionVersion1(double[, ] matrix, double magnitudeThreshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double magnitudeThreshold
    Returns
    Type Description
    Byte[,]
    | Improve this Doc View Source

    SpectralRidges2Intensity(Byte[,], Double[,])

    CONVERTs a binary matrix of spectral peak tracks to an output matrix containing the acoustic intensity in the neighbourhood of those peak tracks.

    Declaration
    public static double[, ] SpectralRidges2Intensity(byte[, ] binary, double[, ] sonogram)
    Parameters
    Type Name Description
    Byte[,] binary

    The spectral peak tracks.

    Double[,] sonogram
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    StructureTensorRidgeDetection(Double[,], Double, Double)

    matrix is assumed to be a spectrogram image spectrogram, whose rows are freq bins and columns are time frames.

    Declaration
    public static byte[, ] StructureTensorRidgeDetection(double[, ] matrix, double magnitudeThreshold, double dominanceThreshold)
    Parameters
    Type Name Description
    Double[,] matrix
    Double magnitudeThreshold
    Double dominanceThreshold
    Returns
    Type Description
    Byte[,]

    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