Computer controlled projection systems generally include a computing device for generating (and/or storing) image data and a projector for projecting the image data onto a projection screen viewable by an audience. A presenter using the computer controlled projection system may direct the audience's attention to certain areas of a displayed image via a pointing device (e.g., finger, laser pointer, etc). In order for a presenter to make changes to the displayed images, the presenter generally interacts with the computing device via an input device such as a mouse, keyboard or remote device.
A variation of the above system allows a presenter to directly interact with displayed images. In addition to the computing device and projector, this system also includes an image capture device (e.g., a digital camera) for capturing the displayed images. The captured data of the displayed image may be transmitted back to the computing device to be used by the computing device, for example, to determine the pixel values of the captured image(s).
These types of processes are used in applications where the screen is being used as a life-size touch-screen display. In such applications, when the user places a finger or hand over a portion of the screen, that action is captured and used to control the computing device just as if the user had used a mouse to click on a portion of a conventional monitor.
In image capture systems, typically, an initial processing is performed to enable the computing device to determine the image display area within the overall captured area of the image capture device. After determining the image display area, the computing device may be able to estimate values of pixels of the captured displayed images.
However, existing systems are unable to obtain robust estimates of pixel values of a displayed image if a presenter obstructs (e.g., by standing in front of) the display area), or some other obstruction blocks the displayed images.
Thus, a market exists for a process that can provide robust pixel value estimates of a displayed image even when there is an obstruction.
An exemplary method for estimating pixel values of displayed images captured by an image capture device comprises determining a status of a pixel of a displayed image based on a confidence value for the pixel and a comparison of an estimated value and a direct sampling value of the pixel, determining whether the pixel is obstructed based at least in part on the status and the confidence value, determining whether to update a pixel value of the pixel based at least in part on the status and whether the pixel is obstructed, and repeating the same process for each pixel of the displayed image.
Other embodiments and implementations are also described below.
I. Overview
Exemplary systems and methods for estimating pixel values of displayed images captured by an image capture device are described herein.
Section II describes an exemplary computing environment for capturing images being displayed on a display.
Section III describes an exemplary system for estimating pixel values of captured displayed images.
Section IV describes exemplary processes for estimating values of pixels on the captured displayed images.
Section V describes an exemplary mathematical description of the exemplary processes of Section IV.
II. An Exemplary Computing Environment
In an exemplary implementation, images captured by the image capture device 130 are sent to the computing device 110. The computing device 110 can calculate an initial estimated value for each pixel on the displayed image based on direct sampling data and/or calibrated data, both of which are described in greater detail below. For example, an initial estimated value for a given pixel may be some sort of weighted average of the direct sampling data and calibrated data for that pixel.
Direct sampling data may be obtained directly from the captured images. This technique is accurate so long as the line of sight between the image capture device 130 and the display 120 is unobstructed. Direct sampling may be inaccurate if the displayed image is obstructed by an object (e.g., a human 140). In general, direct sampling data change over time corresponding to an output of the image capture device 130.
Calibration data may be calculated by the computing device 110 based on calibration processes applied to known source data (i.e., a data signal sent to or at the projector in the case of a projection screen, or a data signal at the video driver in the case of a computer monitor). In general, the images at the display will not exactly match the source images due to geometrical and optical factors such as variations in ambient lighting, warping of the projection screen, nonconformities in the projector lens, etc. The displayed images may be captured and compared to corresponding source images to determine a transformation function. Once the transformation function is determined, one can indirectly estimate pixel values of any other displayed image (as captured by the image capture device) by applying the function to the known source data corresponding to the displayed image. Techniques for calculating such transformation functions are well known in the art and need not be described in detail herein.
III. An Exemplary System for Robustly Estimating Pixel Values of Captured Displayed Images
The system of
During initialization of a pixel estimation process, the pixel status estimator module 210 obtains an estimated value and a direct sampling value for each pixel of a displayed image. In an exemplary implementation, an estimated value may be determined by calculating a weighted average between a calibrated value and a direct sampling value of each given pixel. The weighted average could be applied on a 0:1 basis (pure direct sampling value), a 1:0 basis (pure calibrated value), or anywhere in between, with a 1:1 basis (i.e., arithmetic mean of the two) being a typical exemplary choice. One skilled in the art will recognize that other functions for determining an estimated value may be applicable as well depending on a particular implementation. An exemplary initialization process, illustrated in
The pixel status estimator module 210 compares the estimated value and the direct sampling value for each pixel to determine a status of each pixel. In an exemplary implementation, the pixel status estimator module 210 also obtains a confidence value of each pixel from the confidence analyzer module 230 when determining the status of the pixel. The status of a pixel indicates whether the pixel's estimated value is a robust estimation. The pixel status from the pixel status estimator module 210 is input into the obstruction analyzer module 220 for determining whether that pixel is currently obstructed by an object. In addition, the pixel status is input into the confidence analyzer 230 for updating the confidence value relating to that pixel. An exemplary iterative pixel status updating process, illustrated in
The confidence value of a pixel indicates the system's confidence regarding the accuracy of the estimated value of that pixel. For example, the confidence value may indicate or reflect a length of time that a given pixel has maintained its estimated value. In this example, if the length of time is longer than a threshold period, then the system may have high confidence that the pixel's existing estimated value is accurate. On the other hand, if the length of time is shorter than a threshold period, then the system may have low confidence that the pixel's existing estimated value is accurate.
The obstruction analyzer module 220 receives two inputs: the pixel's status from the pixel status estimator module 210; and the pixel's confidence value from the confidence analyzer module 230. The obstruction analyzer module 220 performs an obstruction analysis for the pixel based on the input values and the obstruction analyzer's own logic rules to determine whether the pixel is currently obstructed. An exemplary logic rule is based on the assumption that an obstruction on a displayed image should not float in mid-air without some kind of support coming from at least one edge of the displayed image. For example, a finger causing an obstruction on the displayed image is supported by an arm, the arm is supported by a shoulder, etc. Thus, when a pixel is truly obstructed, one should be able to find a path of obstructed pixels from that pixel to an edge of the displayed image. An exemplary obstruction analysis process, illustrated in
The confidence analyzer module 230 obtains two inputs for each pixel for updating a confidence value for the pixel: a status of the pixel from the pixel status estimator module 210; and obstruction information for the pixel from the obstruction analyzer module 220. The confidence analyzer module 230 determines whether to increase or decrease confidence in the accuracy of a pixel's estimated value based at least in part on the inputs. Details of an exemplary confidence analysis process, illustrated in
In an exemplary implementation, the confidence analyzer module 230 includes a pixel value update module 240. One skilled in the art will recognize that the pixel value update module 240 could alternatively be implemented as an independent module, or as a part of one of the other modules. The pixel value update module 240 determines whether to update the existing value of a given pixel based at least in part on the status and obstruction analysis result relating to that pixel.
IV. Exemplary Processes for Estimating Pixel Values
At step 310, a status of a pixel is determined based on a confidence value of the pixel, and a comparison of an estimated value to a direct sampling value of the pixel. This will be described with reference to
At step 320, whether the pixel is obstructed by an object is determined based at least in part on the status determined at step 310 and the confidence value of the pixel. The obstruction determination will be described with reference to
At step 330, whether the existing value of the pixel should be updated is determined. In an exemplary implementation, this determination is based at least in part on the status and whether the pixel is obstructed. For example, if the pixel is not obstructed, the existing pixel value may be set to equal to the direct sampling value of the pixel. This will be described with reference to
At step 340, the process is repeated for other pixels of the displayed image.
The remainder of this Section will explain each of the aforementioned steps in greater detail.
A. Status Determination
Corresponding to step 310,
At step 405, the system is set for determining the status of the first pixel, i←1.
At step 410, a calibrated value Î0(i) of the pixel is obtained and an estimated pixel value of pixel i, Î(i) is set to equal to Î0(i).
At steps 415-420, Î(i) is compared to a direct sampling value Ids(i) of the pixel.
At step 425, if Î(i)=Ids(i), then the status of the pixel is “on-target.”
At step 430, if Î(i) does not equal to Ids(i), then the status of the pixel is “off-target.”
At step 435, the status of pixel i is output, for example, to the obstruction analyzer module 220 and the confidence analyzer module 230.
At step 440, whether additional pixels remain to be processed is determined.
At step 445, if additional pixels remain to be processed, i is incremented by 1 and the status of the next pixel is determined by returning to step 410 and repeating the steps described above.
At step 450, if there are no more pixels to be processed, the process ends.
Corresponding to step 310,
At step 505, the system is set for updating the status of the first pixel, i←1.
At step 510, a confidence value L(i) of pixel i is obtained, for example, from the confidence analyzer module 230.
At step 515, whether L(i) is equal to 0 is determined. L(i) equal to 0 indicates low confidence, i.e., low trust in the existing estimated pixel value, which should therefore be replaced.
If L(i) is equal to 0, at step 520, an estimated value Î(i) of pixel i is reset to the direct sampling value Ids(i) of pixel i and, at step 525, the status of pixel i is set to “on-target.”
If L(i) is not equal to 0, at step 530, whether the estimated value Î(i) of pixel i is equal to the direct sampling value Ids(i) of pixel i is determined. During the first iteration after the initialization process described in
If Î(i) is equal to Ids(i), at step 525, the status of pixel i is “on-target.”
If Î(i) is not equal to Ids(i), at step 535, the status of pixel i is “off-target.”
At step 540, the status of pixel i is output, for example, to the obstruction analyzer module 220 and the confidence analyzer module 230.
At step 545, whether additional pixels remain to be processed is determined.
At step 550, if additional pixels remain to be processed, i is incremented by 1 and the status of the next pixel is determined by returning to step 510 and repeating the steps described above.
At step 555, if there are no more pixels to be processed, the process ends.
B. Obstruction Determination
Corresponding to step 320,
At step 605, the system is set for determining whether the first pixel, i←1, should be considered a potentially obstructed pixel.
At step 610, the status (e.g., on or off target) and confidence value L(i) of pixel i are obtained, for example, from the pixel status estimator module 210 and the confidence analyzer module 230, respectively.
At step 615, whether L(i) indicates high confidence is determined. In an exemplary implementation, L(i) is compared to a threshold value which is predetermined to indicate high confidence to the estimated value of pixel i. For example, if the estimated value of pixel i has remained unchanged over a long period of time, then L(i) (which reflects the time) indicates high confidence. A person skilled in the art will recognize that a threshold value can be readily determined depending on the requirements of a particular implementation.
If L(i) does not indicate high confidence, then at step 620, pixel i is considered an obstruction candidate. Given only information associated with pixel i (but not information associated with any other pixels), an obstruction candidate pixel is a pixel that is considered potentially obstructed. The process then goes to step 635 for processing additional pixels.
If L(i) indicates high confidence, then at step 625 whether pixel i is on or off target is determined based on the obtained status.
If pixel i is off-target, then at step 620, pixel i is considered an obstruction candidate. The process then goes to step 635 for processing additional pixels.
If pixel i is on-target, then at step 630, pixel i is considered not an obstruction candidate. The process then continues at step 635 to determine whether additional pixels remain to be processed.
At step 640, if additional pixels remain to be processed, i is incremented by 1 and the process continues by returning to step 610 and repeating the steps described above.
At step 645, if there are no more pixels to be processed, the process ends and the determination of whether each pixel is an obstruction candidate is output to
In
At step 650, the system is set for determining whether the output of the first pixel, i←1, should be deemed obstructed or not obstructed.
At step 655, the determination of obstruction candidate pixels is obtained from step 645 of
At step 660, a logic rule is applied. In an exemplary implementation, whether pixel i is an obstruction candidate and whether a path of obstruction candidate pixels exists from pixel i to the edge of the displayed image is determined.
Depending on the results of the applied logic rule, the pixel i is either deemed obstructed (665) or not obstructed (670) as an output of the obstruction analysis result.
At step 675, the obstruction analysis result for pixel i is output, for example, to the confidence analyzer module 230.
At step 680, whether additional pixels remain to be processed is determined.
At step 685, if additional pixels remain to be processed, i is incremented by 1 and the process continues by returning to step 655 and repeating the steps described above.
At step 690, if there are no more pixels to be processed, the process ends.
C. Confidence Value Determination
Various of the exemplary steps described herein use a confidence value. The first time the pixels of an image are processed, the confidence values are assumed to be zero, since the system has not yet tested the accuracy of the estimated pixel values.
At step 705, the system is set to determine (or update) a confidence value of the first pixel, i←1.
At step 710, the status (e.g., on or off target) and obstruction analysis result of pixel i are obtained, for example, from the pixel status estimator module 210 and the obstruction analysis module 220.
At step 715, whether pixel i is obstructed is determined based on the obstruction analysis result.
If pixel i is obstructed, the process continues at step 740 to determine whether any pixels remain to be processed.
If pixel i is not obstructed, at step 720, whether the value of pixel i is on or off target is determined based on the status of pixel i.
If pixel i is on-target, at step 725, the confidence value L(i) of pixel i is increased (e.g., incremented by 1).
If pixel i is off-target, at step 730, the confidence value L(i) of pixel i is decreased (e.g., set to equal to 0).
At step 735, the confidence value L(i) of pixel i is output, for example, to the pixel status estimator module 210 and the obstruction analyzer module 220.
At step 740, whether additional pixels remain to be processed is determined.
At step 745, if any pixels remain to be processed, i is incremented by 1 and the process continues by returning to step 710 and repeating the steps described above.
At step 750, if there are no more pixels to be processed, the process ends.
D. Updating Estimated Pixel Values
Corresponding to step 330,
At step 805, the system is set to determine whether to update the value of the first pixel, i←1.
At step 810, the status and obstruction analysis result are obtained, for example, from the pixel status estimator module 210 and the obstruction analyzer module 220, respectively.
At step 815, whether pixel i is obstructed is determined.
If pixel i is obstructed, at step 830, the existing value of pixel i is not changed.
If pixel i is unobstructed, at step 820, whether pixel i is on or off target is determined based on the status of pixel i.
If pixel i is on-target, at step 830, the existing estimated value of pixel i is not changed.
If pixel i is off-target, at step 825, the existing estimated value Î(i) of pixel i is replaced by the direct sampling value Ids(i) of pixel i.
At step 835, the estimated value Î(i) of pixel i is output, for example, to the pixel status estimator module 210.
At step 840, whether additional pixels remain to be processed is determined.
At step 845, if additional pixels remain to be processed, i is incremented by 1 and the process continues by returning to step 810 and repeating the steps described above.
At step 850, if there are no more pixels to be processed, the process ends.
In another exemplary implementation, the exemplary process of
The processes illustrated above are merely exemplary. Those skilled in the art will appreciate that other processes and/or steps may be used in accordance with the requirements of a particular implementation.
V. An Exemplary Mathematical Description
This section describes an exemplary mathematical description of the exemplary processes described above.
Exemplary variables will be defined as follows for a given pixel (x, y) at time iteration t:
At time t0=0, we assume that Φ and ΦE have been calculated by techniques known in the art. Likewise, the initial value of each pixel (Î0) can be determined by applying calibration techniques known in the art. Thus, at time 0:
{circumflex over (I)}|t=0=Î0
L(x, y, 0)=tL
O(x, y, t<0)=0
At time period t>0, the status of each pixel (e.g., on- or off-target) can be determined as follows:
T(x, y, t)=ƒdiff(Ids(x, y, t′)|t′<t, Î(x, y, t)|t′<t)
where ƒdiff compares the existing estimated pixel value (î) with the direct sampling value (Ids) for each pixel (x, y). An exemplary ƒdiff function is:
where δ is a threshold value. The estimated pixel value (Î) can be updated by:
The set of obstruction candidate pixels ΦC(t) can be defined as:
ΦC(t)={(x, y)∈Φ|(L(x, y, t)<tL)(T(x, y, t)=0)}
and the set of pixels that are deemed obstructed ΦO(t) (i.e., after verifying the set of pixels that are considered obstruction candidates ΦC(t)) can be defined as:
which is a mathematical expression of the logic rule that each obstructed pixel should be a part of a path of obstructed pixels from that obstructed pixel to an edge of the displayed image. The exemplary ΦO(t) above can be calculated by applying simple graph connectivity algorithms known in the art (e.g., depth first search, Dijkstra algorithm, etc.). O (x, y, t) can be updated as follows:
The confidence value L (x, y, t) is updated as follows:
L(x, y, t)=ƒlife(T(x, y, t′)|t′≦t, O(x, y, t′)|t′≦t, L′), where L′=L(x, y, t−1)
ƒlife represents whether the current pixel value estimate is correct when accounting for the obstruction analysis result. For example, ƒlife may be represented as follows:
VI. Conclusion
The foregoing examples illustrate certain exemplary embodiments from which other embodiments, variations, and modifications will be apparent to those skilled in the art. The inventions should therefore not be limited to the particular embodiments discussed above, but rather are defined by the claims. Furthermore, some of the claims may include alphanumeric identifiers to distinguish the elements thereof. Such identifiers are merely provided for convenience in reading, and should not necessarily be construed as requiring or implying a particular order of steps, or a particular sequential relationship among the claim elements.