(EN) A stylus device receives light from a display though an optical element that is adapted to increase the field curvature of an image formed on an image sensor of the stylus device. Based on the size and shape of a portion of the image that is in focus, a distance, orientation, and/or azimuth of the stylus device with respect to the display can be determined. In addition, a position corresponding to each pixel, or groups of pixels, is encoded into blue light emitted by each pixel or group of pixels of the display. Upon initialization, or after a loss of synchronization, the stylus device can determine its position with respect to the pixels by decoding the encoded position. After synchronizing its position with the display, the stylus device can determine its subsequent positions by tracking pixels of the display.
(FR) L'invention porte sur un dispositif de stylet qui reçoit de la lumière provenant d'un dispositif d'affichage par l'intermédiaire d'un élément optique qui est conçu pour augmenter la courbure de champ d'une image formée sur un capteur d'image du dispositif de stylet. Sur la base de la taille et de la forme d'une partie de l'image qui est au point, une distance, une orientation et/ou un azimut du dispositif de stylet par rapport au dispositif d'affichage peuvent être déterminés. De plus, une position correspondant à chaque pixel, ou à des groupes de pixels, est codée dans une lumière bleue émise par chaque pixel ou groupe de pixels du dispositif d'affichage. A l'initialisation, ou après une perte de synchronisation, le dispositif de stylet peut déterminer sa position par rapport aux pixels par décodage de la position codée. Après synchronisation de sa position avec le dispositif d'affichage, le dispositif de stylet peut déterminer ses positions subséquentes par suivi de pixels du dispositif d'affichage.