The present invention relates to a method of transforming images, in particular photographs, into stereoscopic images, and also to images, and visual or audiovisual programs including sequences of images obtained by said method, and in particular to motion pictures and video games. The invention is achieved by:separating an image background into complementary color components, that are advantageously red, blue, and green;displacing at least one of the color components relative to the others, advantageously by shifting two color components through small amplitudes in opposite directions with the third color component, typically green, remaining stationary, or by rotating two color components in opposite directions through small amplitudes, with the third color component remaining stationary; andsuperposing an image that forms a foreground for the image.