A method for demosaicing a digital raw image provided by an optical device with a sensor having monochrome photosites filtered by a matrix of color filters, the raw image being in the form of a matrix of pixels, each dedicated to a single color among several predetermined colors from the color filters, and thus being made of several color planes, each color plane bringing together all the pixels from the raw image dedicated to one and the same filter color, comprising the following steps: - reconstruction of a luminance image from the raw image, without prior separation of the color planes, - reconstruction of chrominance images from the raw image, without prior separation of the color planes, - obtaining a color digital image of the same resolution as the raw image and in which each pixel has multiple color components and results from corresponding pixels in the luminance image and in the chrominance images (10C1, 10C2) reconstructed from the raw image, characterized in that it comprises the following steps: - obtaining an image of low frequency coefficients using a low frequency local convolution kernel applied to the pixels of the raw image without separation of the color planes, wherein said low frequency local kernel convolves neighboring pixels of different colors coming from different color planes in the raw image, - obtaining images of high frequency coefficients (10V, 10H, 10D) using high frequency local convolution kernels (V, H, D) applied to the pixels of the raw image without separation of the color planes, wherein said high frequency local kernels (V, H, D) convolve neighboring pixels of different colors coming from different color planes in the raw image, - reconstruction of the luminance image using at least the image of low frequency coefficients obtained, and - reconstruction (104, 114) of the chrominance images (10C1, 10C2) using the images of high frequency coefficients (10V, 10H, 10D) obtained. - reconstruction of a luminance image from the raw image, without prior separation of the color planes, - reconstruction of chrominance images from the raw image, without prior separation of the color planes, - obtaining a color digital image of the same resolution as the raw image and in which each pixel has multiple color components and results from corresponding pixels in the luminance image and in the chrominance images (10C1, 10C2) reconstructed from the raw image, characterized in that it comprises the following steps: - obtaining an image of low frequency coefficients using a low frequency local convolution kernel applied to the pixels of the raw image without separation of the color planes, wherein said low frequency local kernel convolves neighboring pixels of different colors coming from different color planes in the raw image, - obtaining images of high frequency coefficients (10V, 10H, 10D) using high frequency local convolution kernels (V, H, D) applied to the pixels of the raw image without separation of the color planes, wherein said high frequency local kernels (V, H, D) convolve neighboring pixels of different colors coming from different color planes in the raw image, - reconstruction of the luminance image using at least the image of low frequency coefficients obtained, and - reconstruction (104, 114) of the chrominance images (10C1, 10C2) using the images of high frequency coefficients (10V, 10H, 10D) obtained.