M-File Help: kcircle View code for kcircle

kcircle

Circular structuring element

k = kcircle(R) is a square matrix (WxW) where W=2R+1 of zeros with a maximal centred circular region of radius R pixels set to one.

k = kcircle(R,w) as above but the dimension of the kernel is explicitly specified.

Notes

See also

ones, ktriangle, imorph


 

© 1990-2012 Peter Corke.