Search Results for

    Show / Hide Table of Contents

    Class PointOfInterest

    The point of interest.

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

    Constructors

    | Improve this Doc View Source

    PointOfInterest(Point)

    Initializes a new instance of the PointOfInterest class.

    Declaration
    public PointOfInterest(Point point)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Point point

    The point to represent.

    | Improve this Doc View Source

    PointOfInterest(TimeSpan, Double)

    Declaration
    public PointOfInterest(TimeSpan time, double hertz)
    Parameters
    Type Name Description
    TimeSpan time
    Double hertz

    Fields

    | Improve this Doc View Source

    DefaultBorderColor

    The default border color.

    Declaration
    public static readonly Color DefaultBorderColor
    Field Value
    Type Description
    SixLabors.ImageSharp.Color
    | Improve this Doc View Source

    HitsColor

    The hits color.

    Declaration
    public static readonly Color HitsColor
    Field Value
    Type Description
    SixLabors.ImageSharp.Color
    | Improve this Doc View Source

    TemplateColor

    The anchor color.

    Declaration
    public static readonly Color TemplateColor
    Field Value
    Type Description
    SixLabors.ImageSharp.Color

    Properties

    | Improve this Doc View Source

    DrawColor

    Gets or sets the draw color.

    Declaration
    public Color DrawColor { get; set; }
    Property Value
    Type Description
    SixLabors.ImageSharp.Color
    | Improve this Doc View Source

    fftMatrix

    Gets or sets the matrix of fft.

    Declaration
    public double[, ] fftMatrix { get; set; }
    Property Value
    Type Description
    Double[,]
    | Improve this Doc View Source

    Hertz

    Gets or sets the frequency location of point of interest.

    Declaration
    public double Hertz { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    HerzScale

    Gets or sets the Y-axis scale herz per pixel.

    Declaration
    public double HerzScale { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    Intensity

    Gets or sets the spectral intensity at the given point.

    Declaration
    public double Intensity { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    IsLocalMaximum

    Gets or sets a value indicating whether gets or sets boolean - is POI a local maximum?.

    Declaration
    public bool IsLocalMaximum { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    OrientationCategory

    Gets or sets the Local Ridge Orientation.

    Declaration
    public int OrientationCategory { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Point

    Gets or sets the point.

    Declaration
    public Point Point { get; set; }
    Property Value
    Type Description
    SixLabors.ImageSharp.Point
    | Improve this Doc View Source

    RidgeMagnitude

    Gets or sets the Ridge Magnitude at the given point.

    Declaration
    public double RidgeMagnitude { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    RidgeOrientation

    Gets or sets the Local Ridge Orientation.

    Declaration
    public double RidgeOrientation { get; set; }
    Property Value
    Type Description
    Double
    | Improve this Doc View Source

    TimeLocation

    Gets or sets the X-axis timescale seconds per pixel.

    Declaration
    public TimeSpan TimeLocation { get; set; }
    Property Value
    Type Description
    TimeSpan
    | Improve this Doc View Source

    TimeScale

    Gets or sets the X-axis timescale seconds per pixel.

    Declaration
    public TimeSpan TimeScale { get; set; }
    Property Value
    Type Description
    TimeSpan

    Methods

    | Improve this Doc View Source

    CountPOIsInMatrix(Int32[,], out Int32, out Double)

    Declaration
    public static void CountPOIsInMatrix(int[, ] m, out int poiCount, out double fraction)
    Parameters
    Type Name Description
    Int32[,] m
    Int32 poiCount
    Double fraction
    | Improve this Doc View Source

    DrawBox(IImageProcessingContext, IEnumerable<PointOfInterest>, Int32)

    Draw a box from a point at top left with radius width and radius length.

    Declaration
    public void DrawBox(IImageProcessingContext context, IEnumerable<PointOfInterest> pointsOfInterest, int radius)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Processing.IImageProcessingContext context
    IEnumerable<PointOfInterest> pointsOfInterest
    Int32 radius
    | Improve this Doc View Source

    DrawLocalMax(Image<Rgb24>, Int32)

    Declaration
    public void DrawLocalMax(Image<Rgb24> bmp, int spectrogramHeight)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> bmp
    Int32 spectrogramHeight
    | Improve this Doc View Source

    DrawOrientationPoint(Image<Rgb24>, Int32)

    Declaration
    public void DrawOrientationPoint(Image<Rgb24> bmp, int spectrogramHeight)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> bmp
    Int32 spectrogramHeight
    | Improve this Doc View Source

    DrawPoint(Image<Rgb24>, Int32, Boolean)

    Declaration
    public void DrawPoint(Image<Rgb24> bmp, int spectrogramHeight, bool multiPixel)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> bmp
    Int32 spectrogramHeight
    Boolean multiPixel
    | Improve this Doc View Source

    DrawRefinedOrientationPoint(Image<Rgb24>, Int32)

    Currently, I can only refine the ridge orientation up to 12 possibilities.

    Declaration
    public void DrawRefinedOrientationPoint(Image<Rgb24> bmp, int spectrogramHeight)
    Parameters
    Type Name Description
    SixLabors.ImageSharp.Image<SixLabors.ImageSharp.PixelFormats.Rgb24> bmp
    Int32 spectrogramHeight
    | Improve this Doc View Source

    PruneAdjacentTracks(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static List<PointOfInterest> PruneAdjacentTracks(List<PointOfInterest> poiList, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> poiList
    Int32 rows
    Int32 cols
    Returns
    Type Description
    List<PointOfInterest>
    | Improve this Doc View Source

    PruneDoublets(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static void PruneDoublets(List<PointOfInterest> poiList, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> poiList
    Int32 rows
    Int32 cols
    | Improve this Doc View Source

    PruneSingletons(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static void PruneSingletons(List<PointOfInterest> poiList, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> poiList
    Int32 rows
    Int32 cols
    | Improve this Doc View Source

    RemoveLowIntensityPOIs(List<PointOfInterest>, Double)

    Declaration
    public static void RemoveLowIntensityPOIs(List<PointOfInterest> list, double threshold)
    Parameters
    Type Name Description
    List<PointOfInterest> list
    Double threshold
    | Improve this Doc View Source

    RemovePOIsFromList(List<PointOfInterest>, Double[,])

    Declaration
    public static void RemovePOIsFromList(List<PointOfInterest> list, double[, ] m)
    Parameters
    Type Name Description
    List<PointOfInterest> list
    Double[,] m
    | Improve this Doc View Source

    TransferPOIMatrix2List(PointOfInterest[,])

    Declaration
    public static List<PointOfInterest> TransferPOIMatrix2List(PointOfInterest[, ] m)
    Parameters
    Type Name Description
    PointOfInterest[,] m
    Returns
    Type Description
    List<PointOfInterest>
    | Improve this Doc View Source

    TransferPOIsToDoublesMatrix(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static double[, ] TransferPOIsToDoublesMatrix(List<PointOfInterest> list, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> list
    Int32 rows
    Int32 cols
    Returns
    Type Description
    Double[,]
    | Improve this Doc View Source

    TransferPOIsToMatrix(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static PointOfInterest[, ] TransferPOIsToMatrix(List<PointOfInterest> list, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> list
    Int32 rows
    Int32 cols
    Returns
    Type Description
    PointOfInterest[,]
    | Improve this Doc View Source

    TransferPOIsToOrientationMatrix(List<PointOfInterest>, Int32, Int32)

    Declaration
    public static int[, ] TransferPOIsToOrientationMatrix(List<PointOfInterest> list, int rows, int cols)
    Parameters
    Type Name Description
    List<PointOfInterest> list
    Int32 rows
    Int32 cols
    Returns
    Type Description
    Int32[,]

    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