Class PointOfInterest
Inheritance
PointOfInterest
Assembly: AudioAnalysisTools.dll
public class PointOfInterest
Constructors
|
Improve this Doc
View Source
Declaration
public PointOfInterest(Point point)
Parameters
Type |
Name |
Description |
SixLabors.ImageSharp.Point |
point |
The point to represent.
|
|
Improve this Doc
View Source
Declaration
public PointOfInterest(TimeSpan time, double hertz)
Parameters
Fields
|
Improve this Doc
View Source
The default border color.
Declaration
public static readonly Color DefaultBorderColor
Field Value
Type |
Description |
SixLabors.ImageSharp.Color |
|
|
Improve this Doc
View Source
Declaration
public static readonly Color HitsColor
Field Value
Type |
Description |
SixLabors.ImageSharp.Color |
|
|
Improve this Doc
View Source
Declaration
public static readonly Color TemplateColor
Field Value
Type |
Description |
SixLabors.ImageSharp.Color |
|
Properties
|
Improve this Doc
View Source
Gets or sets the draw color.
Declaration
public Color DrawColor { get; set; }
Property Value
Type |
Description |
SixLabors.ImageSharp.Color |
|
|
Improve this Doc
View Source
Gets or sets the matrix of fft.
Declaration
public double[, ] fftMatrix { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the frequency location of point of interest.
Declaration
public double Hertz { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the Y-axis scale herz per pixel.
Declaration
public double HerzScale { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the spectral intensity at the given point.
Declaration
public double Intensity { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets a value indicating whether gets or sets boolean - is POI a local maximum?.
Declaration
public bool IsLocalMaximum { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the Local Ridge Orientation.
Declaration
public int OrientationCategory { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Point Point { get; set; }
Property Value
Type |
Description |
SixLabors.ImageSharp.Point |
|
|
Improve this Doc
View Source
Gets or sets the Ridge Magnitude at the given point.
Declaration
public double RidgeMagnitude { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the Local Ridge Orientation.
Declaration
public double RidgeOrientation { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the X-axis timescale seconds per pixel.
Declaration
public TimeSpan TimeLocation { get; set; }
Property Value
|
Improve this Doc
View Source
Gets or sets the X-axis timescale seconds per pixel.
Declaration
public TimeSpan TimeScale { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public static void CountPOIsInMatrix(int[, ] m, out int poiCount, out double fraction)
Parameters
|
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
|
Improve this Doc
View Source
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
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
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
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
Declaration
public static List<PointOfInterest> PruneAdjacentTracks(List<PointOfInterest> poiList, int rows, int cols)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static void PruneDoublets(List<PointOfInterest> poiList, int rows, int cols)
Parameters
|
Improve this Doc
View Source
Declaration
public static void PruneSingletons(List<PointOfInterest> poiList, int rows, int cols)
Parameters
|
Improve this Doc
View Source
Declaration
public static void RemoveLowIntensityPOIs(List<PointOfInterest> list, double threshold)
Parameters
|
Improve this Doc
View Source
Declaration
public static void RemovePOIsFromList(List<PointOfInterest> list, double[, ] m)
Parameters
|
Improve this Doc
View Source
Declaration
public static List<PointOfInterest> TransferPOIMatrix2List(PointOfInterest[, ] m)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static double[, ] TransferPOIsToDoublesMatrix(List<PointOfInterest> list, int rows, int cols)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static PointOfInterest[, ] TransferPOIsToMatrix(List<PointOfInterest> list, int rows, int cols)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public static int[, ] TransferPOIsToOrientationMatrix(List<PointOfInterest> list, int rows, int cols)
Parameters
Returns
Type |
Description |
Int32[,] |
|
Extension Methods