a copier would work, or scan the fabric with a scanner and then change it to gray scale.
A camera would work but it would have to be a REALLLLY good photo to capture the exact color of the fabric. sometimes cameras can wash out the color or vise versa make it "truer" than it is.
3d glasses altered with two red lenses instead of a red and blue would work the same way as the red plastic