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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -