开发者

Sobel Filter implementation for Harris Corner Detector

开发者 https://www.devze.com 2023-03-11 12:40 出处:网络
I have to implement a Harris detector and am not quite sure about the following detail regarding the Sobel filter to obtain the image derivative.

I have to implement a Harris detector and am not quite sure about the following detail regarding the Sobel filter to obtain the image derivative. When applying the Sobel filter to a Grayscale image, I might get negative intensity values. Do I need to convert the Image back to a Matrix of o开发者_如何学Pythonnly positive values before I calculate the Harris Matrix for each pixel or am I supposed to use the values as they are?


I don't think you need to restrict it to only positive values.

You can look at VLFeat's Harris corner detection implementation (Matlab/C source included). It's in the toolbox directory: vl_harris.m

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号