Creating Structure Element for Morphological operation
se = imcreatese(setype,r,c)
Type of structure element, currently support 'rect', 'ellipse' and 'cross'
Number of rows
Number of colomns
Created structure element
The function constructs and returns the structuring element that can be further passed to any morphology filter. You can also construct an arbitrary mask yourself and use it as the structuring element