further decomposition of structuring elements
draw arrows in vectorial format
externally configurable getpixel function