-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added getColorCharts() #3645
added getColorCharts() #3645
Conversation
3c74b02
to
c0aa450
Compare
* and find by this the coordinates of the central parts of the charts modules. | ||
* It is used in `cv::mcc::CCheckerDraw::draw()` and in `ChartsRGB` calculation. | ||
*/ | ||
CV_WRAP virtual std::vector<Point2f> getComputedCharts() = 0; |
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.
M.b. getColorCharts()
is more relevant.
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.
Mb getComputedColorCharts()
?
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.
I propose to name it getColorCharts
without computed
. The function behaviour may change.
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.
fixed
Could you add the new method to test(s) and at least one of the samples. |
Method But now I'm adding a stronger test. |
c0aa450
to
7f445c2
Compare
7f445c2
to
45f560b
Compare
|
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.
👍
merge this PR after #3647
Computes and returns the coordinates of the central parts of the charts modules.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.