1. A method for generating a color image, in an image processing electronic apparatus comprising an encoder for generating a video stream comprising a sequence of color images, said color image being composed of a plurality of components including a luminance component, a first chrominance component and a second chrominance component, starting from at least one depth or disparity map, said at least one depth or disparity map comprising luminance components only, the method comprising: selecting, from said at least one depth or disparity map, a first set of pixels, a second set of pixels and a third set of pixels; entering the first set of pixels of said at least one depth or disparity map into the luminance component of said color image in said encoder of the electronic apparatus; entering the second set of pixels of said at least one depth or disparity map into the first chrominance component of said color image in said encoder of the electronic apparatus; and entering the third set of pixels of said at least one depth or disparity map into the second chrominance component of said color image, said color image being a dummy color image comprising only luminance components of said at least one depth or disparity map, wherein the first, second, and third set of pixels are selected from said at least one depth or disparity map in such a way as to obtain a spatial correlation between the luminance component, the first chrominance component, and the second chrominance component of the resulting color image.