init commit
This commit is contained in:
28
output/Libraries/AForge.Imaging/AForge/Imaging/HoughLine.cs
Normal file
28
output/Libraries/AForge.Imaging/AForge/Imaging/HoughLine.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
|
||||
namespace AForge.Imaging;
|
||||
|
||||
public class HoughLine : IComparable
|
||||
{
|
||||
public readonly double Theta;
|
||||
|
||||
public readonly short Radius;
|
||||
|
||||
public readonly short Intensity;
|
||||
|
||||
public readonly double RelativeIntensity;
|
||||
|
||||
public HoughLine(double theta, short radius, short intensity, double relativeIntensity)
|
||||
{
|
||||
Theta = theta;
|
||||
Radius = radius;
|
||||
Intensity = intensity;
|
||||
RelativeIntensity = relativeIntensity;
|
||||
}
|
||||
|
||||
public int CompareTo(object value)
|
||||
{
|
||||
short intensity = Intensity;
|
||||
return -intensity.CompareTo(((HoughLine)value).Intensity);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user