-
Notifications
You must be signed in to change notification settings - Fork 60
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
additional minor updates (skimage 0.20) #455
Merged
Merged
Changes from 5 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ad6d263
structural_similarity: be stricter about requiring data_range
grlee77 f024401
reverse order of the terms in hessian_matrix
grlee77 3422e8a
Allow data_range to be provided as a device scalar
grlee77 a1b657c
update hessian_matrix_det to directly compute the determinant
grlee77 fca3d3d
fix stacklevel for lab2xyz warning
grlee77 5e8b3d4
update incorrect import path in lookfor docstring
grlee77 13d8d25
must provide data_range in structural_similarity call during denoisin…
grlee77 37c840d
make sure all uses of cp.memoize that return an ElementwiseKernel or …
grlee77 487e4d2
apply isort
grlee77 7080429
flake8 fixes
grlee77 8103bbe
remove outdated comment
grlee77 5a8e44c
add additional NaN protection in _get_real_symmetric_3x3_eigvals_kernel
grlee77 f735a08
avoid new DeprecationWarning from NumPy>=1.24
grlee77 addb8fd
add missing import
grlee77 01c3402
change cp.bool8 -> cp.bool_ in test case to avoid DeprecationWarning …
grlee77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
So the previous behavior here was a bug or should this have remained the same?
Edit: See another line like this below
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.
yes, it was a bug.
In practice, the actual order does not matter for internal functions like
skimage.filters.frangi
,skimage.feature.blob_doh
, orskimage.feature.shape_index
that calls this function since these rely only on the eigenvalues or determinant of the matrix which are fortunately the same for either order.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.
The change here makes things consistent with
skimage.feature.structure_tensor
which also uses the same logic, but had the ordering correct.