Colour map transforms for vision

Is there a way to transform our images to another color map. For example, I want to train all my images in, say black and white? or magma?