Skip to content
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

fix RawKernel bug for canny filter when quantiles are used #310

Merged
merged 2 commits into from
Jun 16, 2022

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Jun 7, 2022

This PR fixes a bug in canny that was leading to failures in test_use_quantiles. It also expands that test case via pytest.parametrize to cover additional dtypes

The changes to other test classes are merely refactoring to avoid use of unittest.TestCase so that pytest.parametrize can be used

expand canny quantile tests over additional input dtypes

refactor test cases to remove use of unittest so parametrize can be used
@grlee77 grlee77 added bug Something isn't working non-breaking Introduces a non-breaking change labels Jun 7, 2022
@grlee77 grlee77 requested a review from a team as a code owner June 7, 2022 20:57
@grlee77
Copy link
Contributor Author

grlee77 commented Jun 16, 2022

rerun tests

@jakirkham
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 56804d2 into rapidsai:branch-22.08 Jun 16, 2022
rapids-bot bot pushed a commit that referenced this pull request Jun 16, 2022
This PR incorporates the two bug fixes from skimage v0.19.3 (released on June 12th) that are relevant to cuCIM.

- bug fix to ensure all color channel share the same histogram bins in `cucim.skimage.exposure.histogram`
- clipping in warp functions should respect user-specified `cval` during clipping even if it is outside the original image range

There was also a fix to Canny edge detection, but we had already resolved that issue in cuCIM. I did go ahead and add the new test case for it to #310.

Authors:
  - Gregory Lee (https://github.com/grlee77)

Approvers:
  - https://github.com/jakirkham

URL: #312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants