An optoelectronic device configured to emit light, in particular to display images, or to capture light, the optoelectronic device comprising: - at least one set {Ai} of primary pixels (A i) where each primary pixel (A i) is arranged on a free surface of a substrate and comprises at least one primary sub-pixel (A iβ) capable of emitting a primary light beam on the side opposite to the substrate, - at least one set {B i} of secondary pixels (B i) where the secondary pixels (B i) are arranged on the free surface of the substrate alternately with the primary pixels (A i) so that each primary pixel (A i) is adjacent to at least one secondary pixel (B i) and each secondary pixel (B i) comprises at least one secondary sub-pixel (B iβ) capable of emitting a secondary light beam on the side opposite to the substrate, - a set {C i} of optical systems (C i) where each optical system (C i) is arranged so as to be able to cover, on the side opposite to the substrate, both the entirety of a pixel (A i, B i) belonging to one of the sets ({Ai}, {Bi}) of pixels selected from the set {Ai} of primary pixels (A i) and the set {B i} of secondary pixels (B i) and at least part of sub-pixels (A iβ, B iβ) of at least one of the adjacent pixels (A i, B i) belonging to the other of the sets ({Ai}, {Bi}) of pixels, each optical system (C i) being configured to act optically on all or part of the light beams likely to be emitted by the sub-pixels (A iβ, B iβ) belonging to the pixels (A i B i) that it covers, the total number of pixels (A i, B i) of the sets ({Ai}, {Bi}) of primary and secondary pixels (A i, B i) being greater or equal to twice the number of optical systems (C i) contained in the set {C i} of optical systems (C i), - at least one displacement mechanism making it possible to apply a relative movement between the set {C i} of optical systems (C i) and the sets ({Ai}, {Bi}) of pixels (A i, B i) in a predetermined sequence. - at least one set {Ai} of primary pixels (A i) where each primary pixel (A i) is arranged on a free surface of a substrate and comprises at least one primary sub-pixel (A iβ) capable of emitting a primary light beam on the side opposite to the substrate, - at least one set {B i} of secondary pixels (B i) where the secondary pixels (B i) are arranged on the free surface of the substrate alternately with the primary pixels (A i) so that each primary pixel (A i) is adjacent to at least one secondary pixel (B i) and each secondary pixel (B i) comprises at least one secondary sub-pixel (B iβ) capable of emitting a secondary light beam on the side opposite to the substrate, - a set {C i} of optical systems (C i) where each optical system (C i) is arranged so as to be able to cover, on the side opposite to the substrate, both the entirety of a pixel (A i, B i) belonging to one of the sets ({Ai}, {Bi}) of pixels selected from the set {Ai} of primary pixels (A i) and the set {B i} of secondary pixels (B i) and at least part of sub-pixels (A iβ, B iβ) of at least one of the adjacent pixels (A i, B i) belonging to the other of the sets ({Ai}, {Bi}) of pixels, each optical system (C i) being configured to act optically on all or part of the light beams likely to be emitted by the sub-pixels (A iβ, B iβ) belonging to the pixels (A i B i) that it covers, the total number of pixels (A i, B i) of the sets ({Ai}, {Bi}) of primary and secondary pixels (A i, B i) being greater or equal to twice the number of optical systems (C i) contained in the set {C i} of optical systems (C i), - at least one displacement mechanism making it possible to apply a relative movement between the set {C i} of optical systems (C i) and the sets ({Ai}, {Bi}) of pixels (A i, B i) in a predetermined sequence.