Houghpeaks function in Hough transform ( matlab code ) -


look @ houghpeaks function hough transform in matlab toolbox:

peaks = houghpeaks(h, numpeaks)

peaks = houghpeaks(..., param1, val1,param2, val2)

paramter:

'nhoodsize' : two-element vector of positive odd integers: [m n].

question: nhoodsize must odd? why?

wouldn't because otherwise you're not landing on cell boundary?

1 2 3 4 5 6 7 8 9 

vs.

1 2 3 4 

in nhood calculations element in middle being evaluated , somehow being influenced surrounding values.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -