Parameters added, now the colormap and the number of colors are hardcoded to differentiate the invalid empty pixels