-
Notifications
You must be signed in to change notification settings - Fork 10
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
Sobel filter should be 2d for images #12
Comments
Sobel currently uses |
the default for |
Here's another useful link: |
I did some quick experiments with the following code:
It seems that the 2D Sobel is useful on some data and not other data. I'm thinking that we should give the user a choice as to what dimension to use (x, y, or radially). We should probably also give them a choice of kernel (type, size). See nion-software/nionswift#322 too. |
Agree, I think 2D sobel is the most naively useful. Any time you have curved edges I think it is better than the single axis equivalent. Especially since the use case I have seen the most in microscopy is finding edges of circular diffraction disks/spots, the 2D version is definitely better than the rest. Of course the flexibility of being able to choose is the best possibility. Another option would be to be able to define any kernel that would then be convolved with the image, with some defaults available, but if you do that, you might be better off just scripting the same thing. |
No description provided.
The text was updated successfully, but these errors were encountered: