question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add alias 'gaussian' to point towards 'gaussian_filter' in ndfilters

See original GitHub issue

I’d like an alias added so that gaussian also points to gaussian_filter in the ndfilters subpackage.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
K-Montycommented, Feb 24, 2021

I have just tried it @GenevieveBuckley ! 😃 But not sure if this is what’s requested: https://github.com/dask/dask-image/pull/193

0reactions
GenevieveBuckleycommented, Feb 25, 2021

Thoughts:

1. Add aliases to existing modules (like what is currently proposed)

I’m happy to do this in cases where it’s likely to be a common irritation.

Looking at this another way: there is already one way to call a gaussian filter in scikit-image, and another way to do it in scipy.ndimage/dask-image. The current situation is not exactly “there is one obvious way to do it” anyway.

2. Provide interfaces that match common naming schemes (`dask_image.scipy`, `dask_image.skimage`, etc.)

I do not think we can commit to this, it seems unfeasible to me.

3. Enable some kind of dispatching inside scikit-image to call the appropriate dask-image function

This is a much better idea than 2. You could have 1 and 3 together if you wanted, or separately. I think our recent conversation with Juan & Greg was promising.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spatial Filters - Gaussian Smoothing
The Gaussian smoothing operator is a 2-D convolution operator that is used to `blur' images and remove detail and noise. In this sense...
Read more >
scipy.ndimage.gaussian_filter — SciPy v1.9.3 Manual
Multidimensional Gaussian filter. ... The mode parameter determines how the input array is extended when the filter overlaps a border. By passing a...
Read more >
Image Filtering and Gaussian Pyramids
Limitations of Point Processing ... write down the function's values at many points ... aliasing: signals “traveling in disguise” as other frequencies ...
Read more >
Gaussian filter in scipy - Stack Overflow
First create an input with a single 1: In [248]: x = np.zeros(9) In [249]: x[4] = 1. Check the change in the...
Read more >
Gaussian Filtering
Gaussian filtering is used to blur images and remove noise and ... The Gaussian filter works by using the 2D distribution as a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found