Show / Hide Table of Contents

Enum AngleRangeOption

Specifies the part of Hough space to calculate

Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public enum AngleRangeOption
Remarks

The enum specifies the part of Hough space to calculate. Each member specifies primarily direction of lines(horizontal or vertical) and the direction of angle changes. Direction of angle changes is from multiples of 90 to odd multiples of 45. The image considered to be written top-down and left-to-right. Angles are started from vertical line and go clockwise. Separate quarters and halves are written in orientation they should be in full Hough space.

Fields

Name Description
ARO_0_45

Vertical primarily direction and clockwise angle changes

ARO_315_0

Vertical primarily direction and counterclockwise angle changes

ARO_315_135

Full set of directions

ARO_315_45

Vertical primarily direction

ARO_45_135

Horizontal primarily direction

ARO_45_90

Horizontal primarily direction and counterclockwise angle changes

ARO_90_135

Horizontal primarily direction and clockwise angle changes

ARO_CTR_HOR

90 +/- atan(0.5), interval approximately from 64.5 to 116.5 degrees. It is used for calculating Fast Hough Transform for images skewed by atan(0.5).

ARO_CTR_VER

+/- atan(0.5), interval approximately from 333.5(-26.5) to 26.5 degrees It is used for calculating Fast Hough Transform for images skewed by atan(0.5).

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX