Conversation
|
fix the bug in pyrUp: |
alalek
left a comment
There was a problem hiding this comment.
Thank you for contribution!
We don't have coverage of tests for the mentioned line.
Please prepare simple regression test which covers this case (to avoid regression in the future).
You could use test scheme similar to TEST(Imgproc_Filter2D, dftFilter2d_regression_13179) with some small image data (e.g., 8x8 pixels).
Test should fail without the patch and pass with this patch.
As a bug fix this patch should go into 3.4 branch first.
We will merge changes from 3.4 into 4.x regularly (weekly/bi-weekly).
Please:
- change "base" branch of this PR: 4.x => 3.4 (use "Edit" button near PR title)
- rebase your commits from 4.x onto 3.4 branch. For example:
git rebase -i --onto upstream/3.4 upstream/4.x
(check list of your commits, save and quit (Esc + "wq" + Enter)
whereupstreamis configured by following this GitHub guide and fetched (git fetch upstream). - push rebased commits into source branch of your fork (with
--forceoption)
Note: no needs to re-open PR, apply changes "inplace".
8263385 to
294de46
Compare
|
alalek
left a comment
There was a problem hiding this comment.
Well done! Thank you for contribution 👍
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.