1f0bfc8d8350dc41c09e1151437d0164e94f69b4
In some situations the last value was missing from the discrete theta values. Now, the last value is chosen such that it is close to the user-provided maximum theta, while the distance to pi remains always at least theta_step/2. This should avoid duplicate detections. A better way would probably be to use max_theta as is and adjust the resolution (theta_step) instead, such that the discretization would always be uniform (in a circular sense) when full angle range is used.
…
…
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: http://opencv.org
- Docs: http://docs.opencv.org/3.4/
- Q&A forum: https://forum.opencv.org
- previous forum (read only): http://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
Contributing
Please read the contribution guidelines before starting work on a pull request.
Summary of the guidelines:
- One pull request per issue;
- Choose the right base branch;
- Include tests and documentation;
- Clean up "oops" commits before submitting;
- Follow the coding style guide.
Description
Languages
C++
92.6%
C
6.8%
CMake
0.5%
Objective-C
0.1%