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

Removal of 1/(pie^1/2) in dKernel #1

Open
Himanshunitrr opened this issue Sep 4, 2024 · 0 comments
Open

Removal of 1/(pie^1/2) in dKernel #1

Himanshunitrr opened this issue Sep 4, 2024 · 0 comments

Comments

@Himanshunitrr
Copy link

Himanshunitrr commented Sep 4, 2024

This might be stupid question but why do we not include 1/(pie^1/2) in dKernel? As per my understanding as Gaussians are separable, derivatives of Gaussians are separable, so dKernel are respective zeroth, first and second derivative of Gaussians but I see that for some reason we dont include 1/(pie^1/2) in the prefix (where prefix is the term which we multiply to baseKernel. I am using these features to segment collagen fibres.

https://github.com/GriffinLab/BIFs/blob/b737a5ab3d45c8bde8e52e0ed7c18bb02239a385/Matlab/DtGfiltersBank.m#L18C39-L18C49

baseKernel = exp(-xSquared./(2*sigma^2));
dKernel{1} = (1/(sqrt(2)*sigma)).*baseKernel;
dKernel{2} = -x.*(1/(sqrt(2)*sigma^3)).*baseKernel;
dKernel{3} = (xSquared-sigma^2).*(1/(sqrt(2)*sigma^5)).*baseKernel;

Thanks in advance

@Himanshunitrr Himanshunitrr changed the title Removal of Removal of 1/(pie^1/2) in dKernel Sep 4, 2024
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

1 participant