Added a mask image splitter