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

Detail of anisotropic gaussian kernel #10

Open
JingyunLiang opened this issue Feb 28, 2020 · 1 comment
Open

Detail of anisotropic gaussian kernel #10

JingyunLiang opened this issue Feb 28, 2020 · 1 comment

Comments

@JingyunLiang
Copy link

In the generation of anisotropic gaussian kernel, see

def anisotropic_gaussian_kernel(l, sigma_matrix, tensor=False):

why y is set as y = np.clip(np.random.random() * scaling * x, sig_min, sig_max)? Why don't choose the same way as x = np.random.random() * (sig_max - sig_min) + sig_min?

@yuanjunchai
Copy link
Owner

Great idea!
There are lots of methods to define anisotropic kernel's parameters and their relationship. Here is just one way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants