able to mask bgnd and apply colormap