I just put up an article at marsanomalies.com explaining one method to combine the various filtered MER images into a color image. (It doesn't answer your question about pseudocolor from a single grayscale image though).
Humanoid, in your post about fungus and lichen, you refer me to false colour article on wikipedia. In that it also goes into pseudo colour and says this about it.
A pseudo-color image is derived from a greyscale image by mapping each pixel value to a color according to a table or function. A familiar example is the encoding of altitude using hypsometric tints in physical relief maps, where negative values (below sea level) are usually represented by shades of blue, and positive values by greens and browns. Pseudo-coloring can make some details more visible, by increasing the distance in color space between successive gray levels. Pseudo-coloring can be used to store the results of image elaboration; that is, changing the colors in order to ease understanding the image[1]. Alternatively, depending on the table or function used, pseudo-coloring may increase the information contents of the original image, for example adding geographic information, combining information obtained from infra-red or ultra-violet light, or MRI scans[2].
I was wondering, reading this, if we could use this kind of processing to bring out details where there are not enough other-filter photos available(to produce a colour representation) - since it only needs one greyscale picture to produce pseudo-colour. Obviously, there is no altitude details but we may be able to produce something worthwhile. I dont know how hard it is.
Mainly because I was considering doing this on a mass level similar to the website http://areo.info
If I knew how to do it, then I could possibly 'tweak' the parameters to bring out more features or contrasts. I dont know....it was something I was thinking about 'in background' and I have not really decided to do anything with it yet.
PHP and graphics design? Why all the hassle when it could be done with Photoshop, GIMP and I suppose other programs? Better still, there's a dedicated photo colorization software like BlackMagic or Recolored that'll do the hard job for you.
Does anyone know or has anyone found a site that explains how to do this?
I know that you take the different filter images and combine them, but it would be nice to be able to do this myself using PHP and GD graphics (for those who understand such programming things!)
What I really need is a technical example of combining the black and white filter images into one colour image. I doubt whether anyone on here knows how to do this, I can always hope I suppose...