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

SIFT 代码中有一些疑问,求指教 #8

Open
WuliAPO opened this issue Mar 24, 2022 · 4 comments
Open

SIFT 代码中有一些疑问,求指教 #8

WuliAPO opened this issue Mar 24, 2022 · 4 comments

Comments

@WuliAPO
Copy link

WuliAPO commented Mar 24, 2022

up你好,b站来的。有一些SIFT代码问题求指教:
1、GuassianKernel( ) 求高斯卷积核的时候为啥不需要归一化咧?
2、LocateKeyPoint()函数中,threshold = 0.5contrastThreshold/(n255SIFT_FIXPT_SCALE),计算差分图像中的噪点阈值时候,这个公式与视频中所讲的0.50.4/n不同,是怎么来的啊?
3、LocateKeyPoint()函数中,计算邻域极值的时候,我注意到这个邻域不是 33,而是34?这是为啥呢?对于i是i-1,但对于j就变成了j+2,不应该是j+1嘛?
eight_neiborhood_prev = img_prev[max(0, i - 1):min(i + 2, img_prev.shape[0]), max(0, j - 1):min(j + 2, img_prev.shape[1])] eight_neiborhood = img[max(0, i - 1):min(i + 2, img.shape[0]), max(0, j - 1):min(j + 2, img.shape[1])] eight_neiborhood_next = img_next[max(0, i - 1):min(i + 2, img_next.shape[0]), max(0, j - 1):min(j + 2, img_next.shape[1])]

@mudanxiaowu
Copy link

mudanxiaowu commented Mar 24, 2022 via email

@huangxiaohuok
Copy link

huangxiaohuok commented Mar 24, 2022 via email

@baiyu-cs
Copy link

baiyu-cs commented Mar 24, 2022 via email

@WuliAPO
Copy link
Author

WuliAPO commented Mar 24, 2022

我顺着b站简介来的,可能是发错了……不好意思 : )

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

4 participants