Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
imgproc: use double to determine whether the corners points are within src#26022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
opencv-alalek left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
relates#24527
Uh oh!
There was an error while loading.Please reload this page.
Kumataro commentedAug 14, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It seems that CI doesn't work well. Is there anything I can help ? I had been tried to re-run CI/CD with new git commit and push, --- Added comment |
| boolempty()const; | ||
| //! conversion to another data type | ||
| template<typename _Tp2>operator Rect_<_Tp2>()const; |
opencv-alalekAug 15, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Did you tryexplicit for conversion operator instead? (to avoid unexpected conversions)
(since C++11:https://en.cppreference.com/w/cpp/language/cast_operator )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Did you try explicit for conversion operator instead? (to avoid unexpected conversions)
I think it is not easy, becausecv::Point andcv::Rect is used for drawing functions inimgproc, so there are many side-effetcs not only OpenCV library but also user-applications. (I would like to do that if possible...)
Following are trial codes, but it doesn't include some modules (cuda*, hdf, ...).
Imgproc: use double to determine whether the corners points are within srcopencv#26022closeopencv#26016Relatedopencv/opencv_contrib#3778### Pull Request Readiness ChecklistSee details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request- [x] I agree to contribute to the project under Apache 2 License.- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV- [x] The PR is proposed to the proper branch- [x] There is a reference to the original bug report and related work- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name.- [x] The feature is well documented and sample code can be built with the project CMake
Uh oh!
There was an error while loading.Please reload this page.
close#26016
Relatedopencv/opencv_contrib#3778
Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.