pulled latest changes from alexlib-image_processing
Removed split function as proposed by alex in commit 92f28ac (92f28ace21c463e63ea769b4e4b7c198bd426f81)