init commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
|
||||
namespace AForge.Imaging;
|
||||
|
||||
public class HoughCircle : IComparable
|
||||
{
|
||||
public readonly int X;
|
||||
|
||||
public readonly int Y;
|
||||
|
||||
public readonly int Radius;
|
||||
|
||||
public readonly short Intensity;
|
||||
|
||||
public readonly double RelativeIntensity;
|
||||
|
||||
public HoughCircle(int x, int y, int radius, short intensity, double relativeIntensity)
|
||||
{
|
||||
X = x;
|
||||
Y = y;
|
||||
Radius = radius;
|
||||
Intensity = intensity;
|
||||
RelativeIntensity = relativeIntensity;
|
||||
}
|
||||
|
||||
public int CompareTo(object value)
|
||||
{
|
||||
short intensity = Intensity;
|
||||
return -intensity.CompareTo(((HoughCircle)value).Intensity);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user