Added cmap2rgb and split operations to transform