Code covered by the BSD License
by Gabriel Frangakis
02 Jul 2010
Turns an m by n matrix into an m x n x 3 matrix.
Watch this File
This just makes a grayscale image, with values ranging from 0 to 255, into a RGB truecolor image with values ranging from 0 to 1 in each of the 3 colors. I wrote this so that I could outline the objects in a grayscale image with color borders.