Method for reconstructing a colour image acquired by a sensor covered with a mosaic of colour filters
AssigneeCentre National De La Recherche Scientifique
InventorsDavid Alleysson, Prakhar Amba
Life of this patent
Estimating the term…
Abstract
A method for reconstructing a colour image acquired by a photosensitive sensor covered with a mosaic of filters of different colours making up a base pattern, obtaining the product of a demosaicing matrix with a matrix representation of a mosaic image coming from the sensor following acquisition of the colour image by the sensor, the product of the demosaicing matrix with the matrix representation of the mosaic image performing an interpolation of the colour of each pixel of the mosaic image as a function of a pixel neighbourhood of a base pattern corresponding to the base pattern of the mosaic of filters.
Claims15
A method for reconstructing a colour image acquired by a photosensitive sensor of size H×W, covered with a mosaic, of size H×W, of P filters of different colours making up a base pattern of size h×w such that h<H and w<W, said base pattern of the mosaic of filters being repeated so as to cover the mosaic of filters without overlap between the base patterns, said method being carried out by computer and comprising at least the following steps:
- a first preliminary step of constructing a demosaicing matrix D starting from a simulation using a first database of N images Ii, i∈[1, . . . , N], with P colour components, called reference images, for producing a second database of N images Ji, i∈[1, . . . , N] simulating images produced originating from the sensor, after acquisition by said sensor of the images of the first database, said reference images Ii and images produced Ji being represented respectively in the form of matrices of HW/(hw) vectors y1, x1 such that:
- the components of y1 are the P components of a reduced neighbourhood of size nh×nw of one of the HW/(hw) base patterns applied to the reference image Ii,
- the components of x1 are the components of a reduced neighbourhood of size nh×nw of one of the HW/(hw) base patterns applied to the image produced Ji,
- with nh>h and nw>w;
- and
- a second step of reconstructing a colour image producing the product of the demosaicing matrix D with a matrix representation of a mosaic image originating from the sensor after acquisition of the colour image by said sensor, said product of the demosaicing matrix D with the matrix representation of the mosaic image using an interpolation of the colour of each pixel of the mosaic image as a function of a neighbourhood, of size nh×nw pixels, of a base pattern (43) of size h×w, corresponding to the base pattern of the mosaic of filters.
Dependencies are inferred from the claim text.