HoughLineOptions Class
Immutable options of ImageProcessingExtensions.DetectLines.
public sealed class HoughLineOptionsConstructors
| Name | Description |
|---|---|
| HoughLineOptions() |
HoughLineOptions()
HoughLineOptions.cspublic HoughLineOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AngleStep | Gets the resolution of the angles, in degrees, from 0.05 to 45. Defaults to 1. The angles are the multiples of 180 / round(180 / AngleStep). |
| Default | Gets the default options. |
| DistanceStep | Gets the resolution of the distances, in pixels, from 0.25 to 100. Defaults to 1. |
| EdgeOptions | Gets the options of the Canny edge detector that finds the pixels that vote. Defaults to CannyEdgeOptions.Default. |
| MaxLines | Gets the largest number of lines returned, those with the most votes, from 1 to 100,000. Defaults to 32. |
| MinAngleSeparation | Gets the smallest difference of angle, in degrees, between two lines that are not also closer than HoughLineOptions.MinDistanceSeparation, from 0 to 90. Defaults to 5. Of two lines closer than both separations, the strongest is kept: a straight edge also gives weaker peaks a few degrees away from its angle, which this removes. |
| MinDistanceSeparation | Gets the smallest difference of distance, in pixels, between two lines that are not also closer than HoughLineOptions.MinAngleSeparation, from 0 to 10,000. Defaults to 5. |
| MinVotes | Gets the smallest number of edge pixels on a line, or null for a quarter of the smaller side of the frame (at least 2). Defaults to null. |
AngleStep
HoughLineOptions.csGets the resolution of the angles, in degrees, from 0.05 to 45. Defaults to 1. The angles are the multiples of 180 / round(180 / AngleStep).
public double AngleStep { get; init; }Default
HoughLineOptions.csDistanceStep
HoughLineOptions.csGets the resolution of the distances, in pixels, from 0.25 to 100. Defaults to 1.
public double DistanceStep { get; init; }EdgeOptions
HoughLineOptions.csGets the options of the Canny edge detector that finds the pixels that vote. Defaults to CannyEdgeOptions.Default.
public CannyEdgeOptions EdgeOptions { get; init; }MaxLines
HoughLineOptions.csGets the largest number of lines returned, those with the most votes, from 1 to 100,000. Defaults to 32.
public int MaxLines { get; init; }MinAngleSeparation
HoughLineOptions.csGets the smallest difference of angle, in degrees, between two lines that are not also closer than HoughLineOptions.MinDistanceSeparation, from 0 to 90. Defaults to 5. Of two lines closer than both separations, the strongest is kept: a straight edge also gives weaker peaks a few degrees away from its angle, which this removes.
public double MinAngleSeparation { get; init; }MinDistanceSeparation
HoughLineOptions.csGets the smallest difference of distance, in pixels, between two lines that are not also closer than HoughLineOptions.MinAngleSeparation, from 0 to 10,000. Defaults to 5.
public double MinDistanceSeparation { get; init; }MinVotes
HoughLineOptions.csGets the smallest number of edge pixels on a line, or null for a quarter of the smaller side of the frame (at least 2). Defaults to null.
public int? MinVotes { get; init; }