A multispectral filtering matrix for an electromagnetic wave, the matrix including at least a first and a second optoelectronic element, each optoelectronic element comprising a colour filter and a photoelectric transducer facing said colour filter, each colour filter forming a Fabry-Perot cavity including a first reflective layer, a second reflective layer and a Fabry-Perot cavity layer of dielectric material between the first reflective layer and the second reflective layer, the layer of dielectric material including:
- a lower surface, in contact with the first reflective layer, the lower surface being curved;
- an upper surface in contact with the second reflective layer, the upper surface being curved;
- wherein thicknesses of the two layers of dielectric material of the two colour filters associated with the first and second optoelectronic elements being different.