-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
single precision support in skimage.filters #5354
Conversation
Hello @grlee77! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2021-08-24 23:04:51 UTC |
0a64d60
to
ce7bf11
Compare
replace unittest yield tests with pytest parametrization (for test_ip_shape)
ce7bf11
to
3f1617d
Compare
corrects _supported_float_type calls from previously merged PRs
…shold_niblack These are the threshold types that return an array
Hi @rfezzani, thanks for reviewing this previously. I fixed conflicts and addressed your comment about the global Since the last time you reviewed this, I added single precision support to the three Also, it could go in a separate standalone PR if preferred, but there are a couple of minor fixes to prior single precision PRs in fbb1df9 (a dtype, not an image should be passed to |
Thank you @grlee77, a second approval and we are good to go 😉 ! |
With SciPy < 1.4, we fallback to numpy.fft for the FFTs which causes undesired dtype promotion
This is the only one of the single precision PRs that has not yet been merged. It has one approval now and the changes made here are consistent with the already merged PRs in this area. Given that, I would be inclined to merge it as is rather than ask others to spend substantial time doing additional reviews. Are there any objections to this? |
Not from my side ^^ |
Description
This PR contains the commits from #5353, so that one should be reviewed prior to this (float32 support Hessian functions in skimage.feature were required in the ridge filters implementation here).
Checklist
./doc/examples
(new features only)./benchmarks
, if your changes aren't covered by anexisting benchmark
For reviewers
later.
__init__.py
.doc/release/release_dev.rst
.