Method and system for generating a pixel stream
A method of generating a pixel stream from an image comprised of pixels which each have a pixel value. The method comprising storing the image in a memory; determining, for each of successive sub-intervals, that pixel that is to be displayed by a light beam within said sub-interval; for each of successive sequences of one or more successive sub-intervals for which the same pixel has been determined: retrieving the pixel value of said pixel from the memory once and appending the retrieved pixel value N times to the pixel stream. Further disclosed is a projection system using this method.
1 . A method of generating a pixel stream from an image comprised of pixels which each have a pixel value, wherein the pixel stream is to be fed into a projector scanning a light beam across an image area according to a given scan pattern within a time interval, the light beam being modulated in intensity according to pixel values in the pixel stream, comprising:
storing the image in a memory;
determining, for each of successive sub-intervals which together form the time interval, that pixel that is to be displayed by the light beam within said sub-interval according to the scan pattern;
identifying successive sequences of one or more successive sub-intervals for which the same pixel has been determined; and
for each of the identified successive sequences of one or more successive sub-intervals for which the same pixel has been determined: retrieving the pixel value of said pixel from the memory once and appending the retrieved pixel value N times to the pixel stream, N being a number of sub-intervals in said sequence and at least one sequence having an N>1.
2 . The method according to claim 1 , wherein the scan pattern is stored in a form of a look-up table of memory addresses of the pixels to be successively displayed, and wherein said determining and retrieving includes accessing the look-up table.
3 . The method according to claim 2 , wherein the look-up table is a succession of memory addresses, one memory address for each sub-interval, and wherein the sequences are identified by detecting successively equal memory addresses in the succession.
4 . The method according to claim 2 , wherein the look-up table includes one memory address for each sequence and the respective number N of sub-intervals of that sequence.
5 . The method according to claim 1 , wherein said scan pattern is a Lissajous pattern.
6 . A projection system for displaying an image comprised of pixels which each have a pixel value, comprising:
a projector with a light source configured to emit a light beam, a light source driver configured to modulate the light beam in intensity according to the pixel values fed to the projector in a pixel stream, and a scanner configured to scan the light beam across an image area according to a given scan pattern within a time interval; and
a central processing unit, CPU, configured to
store the image in a memory,
determine, for each of successive sub-intervals which together form the time interval, that pixel that is to be displayed by the light beam within said sub-interval according to the scan pattern,
identify successive sequences of one or more successive sub-intervals for which the same pixel has been determined; and
for each of the identified successive sequences of one or more successive sub-intervals for which the same pixel has been determined: retrieve the pixel value of said pixel from the memory once and append the retrieved pixel value N times to the pixel stream, N being a number of sub-intervals in said sequence and at least one sequence having an N>1, and
feed the pixel stream towards the projector for displaying.
7 . The projection system according to claim 6 , wherein the CPU is configured to store the scan pattern in a form of a look-up table of memory addresses of the pixels to be successively displayed, and to determine the pixels and retrieve the pixel values by accessing the look-up table.
8 . The projection system according to claim 7 , wherein the look-up table is a succession of memory addresses, one memory address for each sub-interval, and wherein the CPU is configured to identify the sequences by detecting successively equal memory addresses in the succession.
9 . The projection system according to claim 7 , wherein the look-up table includes one memory address for each sequence and the respective number N of sub-intervals of that sequence.
10 . The projection system according to claim 6 , wherein said scan pattern is a Lissajous pattern.
11 . The projection system according to claim 6 , further comprising a buffer interposed between the CPU and the projector.
12 . The projection system according to claim 11 , wherein the buffer is configured to feed the pixel stream in synchronism with the scanner to the projector for displaying.