The present application claims the benefit of Swedish patent application No. 1250150-8, filed 21 Feb. 2012, and U.S. provisional application No. 61/601,114, filed 21 Feb. 2012, both of which are incorporated herein by reference.
The present invention relates to touch sensing systems and data processing techniques in relation to such systems.
Touch sensing systems (“touch systems”) are in widespread use in a variety of applications. Typically, the touch sensing systems are actuated by a touch object such as a finger or stylus, either in direct contact or through proximity (i.e. without contact) with a touch surface. Touch sensing systems are for example used as touch pads of laptop computers, in control panels, and as overlays to displays on e.g. hand held devices, such as mobile telephones. A touch panel that is overlaid on or integrated in a display is also denoted a “touch screen”. Many other applications are known in the art.
To an increasing extent, touch systems are designed to be able to detect two or more touches simultaneously, this capability often being referred to as “multi-touch” in the art.
There are numerous known techniques for providing multi-touch sensitivity, e.g. by using cameras to capture light scattered off the point(s) of touch on a touch panel, or by incorporating resistive wire grids, capacitive sensors, strain gauges, etc. into a touch panel.
WO2010/064983 and WO2010/06882 disclose another type of multi-touch system which is based on frustrated total internal reflection (FTIR). Light sheets are coupled into a panel to propagate inside the panel by total internal reflection. When an object comes into contact with a touch surface of the panel, two or more light sheets will be locally attenuated at the point of touch. Arrays of light sensors are located around the perimeter of the panel to detect the received light for each light sheet. Data from the light sensors may be processed into logarithmic transmission values, which are input into an image reconstruction algorithm that generates a two-dimensional (2D) distribution of attenuation values over the touch surface. This enables determination of shape, position and size of multiple touches.
The prior art also comprises WO2011/049511 which proposes image reconstruction based on the use of a projection function that models the impact on the received light when a touching object interacts with the light that propagates on different paths (detection lines) across the touch surface. The projection function defines a functional relation between projected values for the detection lines and a 2D distribution of attenuation values across the touch surface. The 2D distribution is generated by finding an optimum of an optimization function that includes an aggregation of absolute differences between projected values, given by the projection function, and observed values for the different detection lines. The optimization function may be obtained by Bayesian inversion.
Irrespective of sensor technology, the touches need to be detected against a background of measurement noise and other interferences, e,g. originating from ambient light, fingerprints and other types of smear on the touch surface, vibrations, detection artifacts, etc. The influence of measurement noise and interferences may vary not only over time but also within the extent of the touch surface, making it difficult to properly detect the touches on the touch surface at all times. Furthermore, the degree of interaction between a touching object and the touch surface may vary both over time and between different objects. For example, the interaction may depend on if an object is tapped, dragged or held in a fixed position onto the touch surface. Different objects may yield different degree of interaction, e.g. the degree of interaction may vary between fingers of a user, and even more so between the, fingers of different users.
The combination of several touches, complex gestures as well as temporal and spatial variations in degree of interaction, background, and noise will make the identification of touches a more demanding task. The user experience will be greatly hampered if, e.g., an ongoing gesture on a touch screen is interrupted by the system failing to detect certain touches during the gesture.
It is an objective of the invention to at east partly overcome one or more limitations of the prior art.
In view of the foregoing, one objective is to enable; a consistent user experience when interacting with a multi-touch system,
Another objective is to enable a consistent user experience even if the degree of interaction differs significantly between the touching objects.
One or more of these objectives, as well as further objectives that may appear from the description below, are at least partly achieved by means of a method of enabling touch determination, a computer-program product, devices for enabling touch determination and a touch-sensitive apparatus according to the independent claims, embodiments thereof being defined by the dependent claims.
A first aspect of the invention is a method of enabling touch determination based on an output signal from a touch-sensitive apparatus. The touch-sensitive apparatus comprises a panel configured to conduct signals from a plurality of incoupling points to a plurality of outcoupling points, thereby defining detection lines that extend across a surface portion of the panel between pairs of incoupling and outcoupling points, at least one signal generator coupled to the incoupling points to generate the signals, and at least one signal detector coupled to the outcoupling points to generate the output signal which is indicative of interaction between one or more touching objects and one or more of the detection lines. The method comprises the steps of: receiving the output signal; processing the output signal to obtain observed values for the detection lines; and identifying an interaction pattern for the surface portion as a solution to an optimization function that comprises an aggregation of differences between the observed value and a projected value for each of the detection lines, the projected value being given by a projection function that defines a functional relation between the interaction pattern and the projected value for the respective detection line. The method further comprises the steps of: computing a respective normalization value for each of the differences as a function of the observed value for the respective detection line; and applying the respective normalization value so as to normalize the respective difference in the optimization function.
The first aspect includes a normalization procedure that improves the ability of the interaction pattern to indicate weakly interacting objects in the presence of strongly interacting objects. In the absence of the normalization procedure, the solution to the optimization function may tend to omit or at least suppress interaction structures that originate from a weakly interacting object in the presence of a strongly interacting object, e.g. when both objects happen to interact with the same detection line. Thereby, the first aspect may provide an improved ability of multi-touch detection, which may be exploited to improve the user experience.
In one embodiment, the respective normalization value is computed to be relatively larger when the observed value corresponds to a strong interaction compared to a weak interaction.
In one embodiment, the interaction pattern is generated to indicate changes in interaction on the surface portion, and the respective normalization value is computed as a function of a nominal difference between the observed value for the respective detection line and a nominal projected value for the respective detection line, the nominal projected value being given by the projection function when the interaction pattern indicates that there are no changes in interaction on the surface portion.
In one embodiment, the respective normalization value is computed as a function of a positive offset value and the nominal difference.
In one embodiment, the step of computing the respective normalization value comprises adding a positive offset value to a non-negative value obtained as a function of the nominal difference.
In one embodiment, the positive offset value is set to exceed an estimated noise level of the output signal.
In one embodiment, the step of estimating the interaction pattern comprises: finding the solution that causes a gradient of the optimization function for each interaction value in the interaction pattern to be essentially zero.
In one embodiment, the optimization function comprises a first part that represents a likelihood distribution, which is a function of the aggregation of differences, and a second part that represent a prior distribution, which is configured to penalize variations between neighboring interaction values in the interaction pattern.
In one embodiment, the prior distribution is a function of an aggregation of second differences between each individual interaction value in the interaction pattern and its neighboring interaction values in the interaction pattern, wherein each of the second differences is normalized by a respective second normalization value that represents a local interaction strength at said individual interaction value.
In one embodiment, the local interaction strength is computed as a function of said individual interaction value.
In one embodiment, the second normalization value is computed by adding a positive second offset value to the local interaction strength.
In one embodiment, the positive second offset value is set to exceed an estimated noise level in the interaction pattern.
In one embodiment, the step of processing the output signal comprises identifying a measurement value for each detection line, and generating the observed value to represent a relative change of the measurement value to a reference value for the respective detection line. In one implementation, the observed value are given as a logarithm of the relative change.
In one embodiment, the reference value for the respective detection line is computed as a function of the measurement value for the detection line in the output signal at a calibration time without said interaction between said one or more touching objects and said one or more of the detection lines.
In one embodiment, the method operates in a sequence of repetitions to identify the measurement value for each detection line, generate the observed values for the detection lines, and estimate the interaction pattern, wherein the reference value for the respective detection line is intermittently updated based on the output signal such that the interaction pattern indicates changes in interaction with respect to a preceding repetition in the sequence of repetitions.
In one embodiment, the interaction pattern is representative of changes in one of attenuation and transmission.
A second aspect of the invention is a computer program product comprising computer code which, when executed on a data-processing system, is adapted to carry out the method according to the first aspect.
A third aspect of the invention is a device for enabling touch determination based on an output signal from a touch-sensitive apparatus. The device comprises: an input for receiving the output signal, and a signal processor configured to receive the output signal; process the output signal to obtain observed values for the detection lines; and identify an interaction pattern for the surface portion as a solution to an optimization function that comprises an aggregation of differences between the observed value and a projected value for each of the detection lines, the projected value being given by a projection function that defines a functional relation between the interaction pattern and the projected value for the respective detection line. The signal processor is further configured to: compute a respective normalization value for each of the differences as a function of the observed value for the respective detection line; and apply the respective normalization value so as to normalize the respective difference in the optimization function.
A fourth aspect of the invention is a device for enabling touch determination based on an output signal from a touch-sensitive apparatus. The device comprises: means for receiving the output signal; means for processing the output signal to obtain observed values for the detection lines; and means for identifying an interaction pattern for the surface portion as a solution to an optimization function that comprises an aggregation of differences between the observed value and a projected value for each of the detection lines, the projected value being given by a projection function that defines a functional relation between the interaction pattern and the projected value for the respective detection line. The device further comprises: means for computing a respective normalization value for each of the differences as a function of the observed value for the respective detection line; and means for applying the respective normalization value so as to normalize the respective difference in the optimization function.
A fifth aspect of the invention is a touch-sensing apparatus, comprising: a panel configured to conduct signals from a plurality of incoupling points to a plurality of outcoupling points, thereby defining detection lines that extend across a surface portion of the panel between pairs of incoupling and outcoupling points; means for generating the signals at the incoupling points; means for generating an output signal based on detected signals at the outcoupling points; and the device according to the third or fourth aspect.
Any one of the above-identified embodiments of the first aspect may be adapted and implemented as an embodiment of the second to fifth aspects to attain the corresponding technical advantages and effects.
Still other objectives, features, aspects and advantages of the present invention will appear from the following detailed description, from the attached claims as well as from the drawings.
Embodiments of the invention will now be described in more detail with reference to the accompanying schematic drawings.
Below follows a description of example embodiments of a technique for enabling extraction of touch data for objects in contact with a touch surface of a touch-sensitive apparatus. Throughout the following description, the same reference numerals are used to identify corresponding elements. Further, bold characters are used to indicate vectors/matrices, while non-bold characters are used to indicate individual parameters/-values.
Embodiments of the invention relate to signal processing in relation to a touch-sensitive apparatus which is based on the concept of transmitting energy of some form across a touch surface, such that an object that is brought into close vicinity of, or in contact with, the touch surface causes a local decrease in the transmitted energy. The apparatus may be configured to permit transmission of energy in one of many different forms. The emitted signals may thus be any radiation or wave energy that can travel in and across the touch surface including, without limitation, light waves in the visible or infrared or ultraviolet spectral regions, electrical energy, electromagnetic or magnetic energy, or sonic and ultrasonic energy or vibration energy. Example embodiments of the invention will be described in relation to a touch-sensitive apparatus 100, which is shown in
The apparatus 100 allows an object 7 that is brought in contact with the touch surface 4 to interact with the propagating light at the point of touch. In this interaction, part of the light may be scattered by the object 7, part of the light may be absorbed by the object 7, and part of the light may continue to propagate in its original direction across the panel 1. Thus, the touching object 7 causes a local frustration of the total internal reflection, which leads to a decrease in the energy (or, equivalently, power or intensity) of the transmitted light, as indicated by the thinned lines downstream of the touching objects 7 in
The emitters 2 are distributed along the perimeter of the touch surface 4 to generate a corresponding number of light sheets inside the panel 1. In the example of
As will be explained below, the signal processor 10 may be configured to process the measurement signals so as to determine a distribution of attenuation values (for simplicity, referred to as an “attenuation pattern”) across the touch surface 1, where each attenuation value represents a local attenuation of light. The attenuation pattern may be represented in many different ways, e.g. as attenuation values arranged in a regular x-y-grid, such as in an ordinary digital image, although other types of grids are conceivable, e.g. hexagonal patterns or triangular meshes. Irrespective of implementation, the attenuation pattern may be seen to define a number of positions or cells with a respective attenuation value. The attenuation pattern may be further processed by the signal processor 10 or by a separate device (not shown) for touch determination, which may involve extraction of touch data, such as a position (e.g. x,y coordinates), a shape or an area of each touching object. In the following, a “frame” denotes a repeated event starting with data collection and ending with determination of touch data. By repeatedly generating the attenuation pattern and determining the touch data, it is possible to identify and track objects that interact with the touch surface.
In the illustrated example, the apparatus 100 also includes a controller 12 which is connected to selectively control the activation of the emitters 2 and, possibly, the readout of data from the detectors 3. The signal processor 10 and the controller 12 may be configured as separate units, or they may he incorporated in a single unit (as shown). One or both of the signal processor 10 and the controller 12 may be at least partially implemented by software executed by a processing unit 14.
It is to be understood that
Embodiments of the invention may use any available reconstruction algorithm that operates to determine a 2D attenuation pattern by fitting the attenuation pattern to observed values for the detection lines based on a projection function that physically models the signal response of each detection line to the attenuation pattern. The inventive concept will be exemplified with reference to the reconstruction technique that is described in aforesaid WO2011/049511, but may be equally applicable to certain tomographic techniques such as ART (Algebraic Reconstruction Technique) and SART (Simultaneous Algebraic Reconstruction Technique). Instead of repeating the fundamentals of this technique, the entire contents of WO2011/049511 is incorporated herein by reference. In this section, a few comments will be given with respect to the format of the observed values that are used in the reconstruction and the format of the attenuation values in the resulting attenuation pattern.
The reconstruction is based on the assumption that the observed values dt at time point t depend on the attenuation pattern, at, according to a projection function , which reflects the properties of the physical touch system: dt=(at). It is to be understood that the format of the attenuation pattern, the projection function P and the format of the observed values dt are interrelated design parameters. In the following examples, the attenuation pattern at is a distribution of attenuation values av that indicate a change in attenuation compared to a reference pattern at individual positions v on the touch surface.
The projection function P may be designed to model the transmission along each detection line: Tk=e−∫a(x,y)di, where a(x,y) is the attenuation pattern along the detection line. With such a projection function, it may be desirable to format the observed values as transmission values, which may be computed by dividing the measurement value lk of the k:th detection line by a respective reference value: dk=lk/REFk.
In aforesaid WO2011/049511, the projection function P models a projected value P(a)k for each detection line as a sum of contributions from basis functions arranged on the touch surface:
P(a)k=e−∫a(x,y)di=e−Σv
where av is the attenuation value for the v:th basis function, rv,k is the line integral for the k:th detection line through the v:th basis function.
To simplify the reconstruction process, it may be advantageous to format the observed values as logarithmic entities (in any base): dk=log(lk/REFk), or an approximation thereof, e.g. dk=1−Ik/REFk (valid for Ik/REFk close to 1). In this format, each projected value P(a)k may be modeled as a straight-forward sum of the attenuation by the basis functions along the detection line: P(a)k=∫a(x, y)dl=−Σvrv,k·av.
The choice of reference values REFk is a design parameter that will affect the time scale of the changes that are visualized in the attenuation pattern. In a first example, the reference values REFk are given by the measurement values I0 at a certain calibration time point when no touching object (finger, stylus, etc) is present on the touch surface, such as when the assembly of the FTIR system is finalized, at start-up, or when a user initiates a reset operation of the FTIR system. These reference values may be stored in a memory unit of the device, e.g. as I0 or log(I0). By converting the measurement values It into observed values formatted as dt=1−It/I0 or dt=−log(It/I0)=log(I0)−log(It), the attenuation pattern at may he generated to represent the change in attenuation on the touch surface since the calibration time point, where an attenuation value of zero (0) indicates no change. Such an attenuation pattern at is illustrated in
In a second example, the reference values REFk are updated repeatedly during operation of the FTIR system, e.g. at time intervals Δt, by setting the reference values equal to the current measurement values and using the updated reference values in the next time interval. By converting the measurement values It into observed values formatted as dt=1−It/It−Δt or dt=−log(It/It−Δt)=log(It−Δt)−log(It), the attenuation pattern at may he generated to represent the change in attenuation on the touch surface in the time interval Δt, where an attenuation value of zero (0) indicates no change. Depending on implementation, the time interval Δt may be set to 1 frame or plural frames, such that Δt is in the range of 5 ms -5 s. It should be realized that the attenuation pattern at may contain both positive and negative peaks, caused by attenuation changes on the touch surface during Δt, e.g. by movement, removal or addition of touching objects.
In a variation of the second example, the reference values REFk are updated to factor in measurement values from more than one time point. For example, the reference values may he given by a temporally low-pass filtered measurement value
The above-described reconstruction technique generally involves optimizing an aggregation of differences between the observed values dt and the projected values P(at), which are given as a function of the attenuation pattern through the projection function. As described in WO2011/049511, finding the attenuation pattern may be a task of minimizing the aggregation of differences, optionally in combination with additional constraints that are based on a priori information, i.e. prior knowledge about how the attenuation pattern normally behaves. The additional constraints may be incorporated into the optimization task as one or more so-called priors by using Bayes' theorem. However, there are implementations that allow the attenuation pattern to be determined without the use of priors,
As described in WO2011/049511, the attenuation pattern may be estimated by optimizing a probability function, which comprises one part that represents a probability model for measurement and reconstruction errors (“likelihood distribution”) and another part that represents a probability model based on one or more priors (“prior distribution”). In terms of optimization, the probability function may be represented as a total optimization function: Ftotal(α)=αFmodel(α)+γFprior(α), where Fmodel(α) is the part representing the likelihood distribution, Fprior(α) is the part representing the prior distribution, and α and γ are constants that may be selected to define whether the optimization is focused on agreement with the observed values or on agreement with the prior.
As noted, the likelihood distribution and thus Fmodel(α) is formed as, or at least comprises, an aggregation of differences between projected values and observed values. In the following discussion, it is presumed that Fmodel(α) is given by the square of the L2-norm, i.e. Fmodel(α)=∥(α)−d∥22. In the absence of priors, finding the attenuation pattern is thus equal to minimizing the residual sum of squared errors (RSS). However, the underlying problem and the inventive solution is equally applicable to other definitions of Fmodel(α).
As explained in the Background section, the attenuation may differ significantly between touching objects. The differences in attenuation may be caused by differing properties among the individual objects (e.g. index of refraction, wetting, degree of optical coupling to the panel, etc). Furthermore, a stationary object may yield a significantly stronger attenuation than a moving object (drag). These differences in attenuation may make it difficult for the reconstruction process to adequately represent small attenuation changes in the attenuation pattern in the presence of large attenuation changes.
This problem will be exemplified with reference to
In respect of
In respect of
According to embodiments of the invention, the likelihood distribution is modified to enhance the differences for weak touches compared to strong touches. This is achieved by modifying the aggregation of differences such that relative differences between projected values (α) and observed values d are aggregated instead of absolute differences, at least when the observed values corresponds to large attenuations. As used herein, “absolute differences” refer to non-normalized differences between values, whereas “relative differences” refer to normalized differences between values. In embodiments of the invention, the aggregation of differences is modified such that each individual difference between a projected value and an observed value is normalized by a normalization value that is dependent on the respective observed value. Thereby, the aggregation is converted from an aggregation of absolute differences to an aggregation of relative differences.
This concept is further explained in the following, under the assumption that the observed values are formatted as logarithmic transmission, −log(lk/REFk), whereby an absence of touching objects results in an observed value of zero.
In one embodiment, the enhancement is achieved by normalizing each difference in the aggregation of differences by the modulus of the respective observed value, which in a simplified representation may be given as: ∥((α)−d)/|d|∥2 2 with element-wise normalization. Such an embodiment may require special attenuation to observed values that are zero, since the normalized difference is undefined for dk=0.
In another embodiment, the normalization value of each difference in the aggregation of differences is offset by a positive (and non-zero) offset value σ: ∥((α)−d/(σ+|d|)∥22 with element-wise normalization. This embodiment automatically allows the observed values to be zero. Further, the use of an offset value a also enables the impact of measurement noise on the attenuation pattern to be suppressed by proper choice of the offset value σ. Observed values well below the offset value a will be relatively suppressed by the normalization, whereas observed values at or slightly above the offset value will be included as absolute differences in the aggregation, and observed values well above the offset value will be included as relative differences in the aggregation. An appropriate offset value a may be determined by routine experimentation for each individual FTIR system, and may e.g. be set to exceed the maximum noise level of the output signal from the light detectors. The offset value may or may not differ between detection lines.
It should be noted that the modulus (i.e. the absolute value) of the observed values d is taken element-wise, such that |d| indicates a set of individual absolute values In a more mathematically accurate description, the normalization of the aggregation of differences may be defined as ∥B((α)−d)∥22, where B is a diagonal matrix of the following form:
It is to be understood that each normalization operation may implemented as either a division by (σ+|dk|), or a multiplication by 1/(σ+|dk|). The skilled person also realizes that there are many alternative ways of calculating the normalization value for each difference, e.g. σ+√{square root over (|di|)}, √{square root over (σ+|di|)}, σ+(di)2, (σ+|di|)2, etc. Any of these examples may be selected to put different emphasis on weak touches versus strong touches. The observed values need not he represented as absolute values in the calculation of the normalization values, but the observed values are preferably represented so as to give a non-negative contribution to die normalization value.
The normalized aggregation may be processed for determination of the attenuation pattern, e.g. according to any of the techniques disclosed in WO2011/049511. For example, by applying Bayes' theorem and one or more priors, the attenuation pattern may be recovered as the maximum a posteriori (MAP) estimate of the total optimization function Ftotal.
The skilled person realizes t t any suitable optimization method may be used to find the attenuation pattern a that minimizes the total optimization function Ftotal(α), e.g. by causing the gradient ∇Ftotal to be (close to) zero. The gradient ∇Ftotal contains the derivatives of the total optimization function for each attenuation value av, where the individual derivative may be expressed as:
It should he noted that if the projection function is linear and contains only linear operators, it may be possible to minimize ∥B(α−d)∥22 by solving the normal equations. Such an implementation is mainly relevant if the measurement model, d=Pα+ε, is over-determined. It is known in the art that the normal equations for ∥B(α−d)∥22 may be formulated as: ((B)TB)α=(BTBd. This equation may be solved analytically by computing the inverse: α=((B)TB)−1(B)TBd. In analogy with the description in WO2011/049511, there may be more efficient ways of solving the normal equations, e.g. by Cholesky decomposition or orthogonal decomposition techniques such as QR decomposition. In one example, the Cholesky decomposition is computed once for RTR=T, whereupon the attenuation pattern may be computed for each frame by solving the equation: RTBTBRα=(B)TBd.
Reverting to the example of
The attenuation values of the two objects in
Each frame starts by a data collection step 50, in which measurement values It are sampled from the light sensors in the FTIR system. The data collection results in one measurement value for each detection line. It may be noted that the data may, but need not, be collected for all available detection lines in the FTIR system.
In a conversion step 52, the measurement values It are converted into observed values dt of a desired format, as discussed in Section 2 above. Depending on format, step 52 may involve retrieving current reference values Rt from electronic memory M. The reference values Rt may e.g. be given as REFk or log(REFk).
Any one of steps 50 and 52 may involve additional pre-processing such as filtering for noise reduction and so-called rectification, which may aim at producing observed values for detection lines with an equi-distant equi-angular distribution on the touch surface.
In a reconstruction step 54, the observed values dt are processed to generate the most likely distribution of attenuation values (“the attenuation pattern”) across the touch surface by evaluating a total optimization function comprising an aggregation of differences between the observed value and a projected value for each of the detection lines. As explained in Section 3, step 54 may involve a sub-step 54A of obtaining a normalization value for each difference in the aggregation of differences (e.g. in the form of a normalization matrix B), a sub-step 54B of applying the normalization values B so as to normalize the individual differences in a total optimization function (with or without priors), and a sub-step 54C of generating the attenuation pattern by minimizing the total optimization function. Depending on implementation, sub-step 54A may (as shown) involve retrieving the offset value a from memory M.
Even if step 54 operates to find a solution (i.e. the attenuation pattern αt) that minimizes the total optimization function, the actual processing typically operates on the derivative of the total optimization function. This means that the normalization values are actually applied to the derivative of the total optimization function, but in such a way as to correspond to a normalization of the aggregation of differences. For example, even if step 54 operates on derivatives given by
these derivatives correspond to a total optimization function (probability function) Ftotal that comprises the normalized aggregation of differences given by ∥B((αt−dt))∥22.
It should also he noted that the optimization problem in step 54 may be solved using any known numerical or analytical algorithm, such as pseudo-inverse, steepest descent, conjugant gradient, Newton-Raphson, quasi-Newton, etc. These and other useful algorithms are further described in, e.g., the book “Numerical Recipes”, 3rd edition, by Press et al. Another useful variant of the steepest descent algorithm is described in the article “Two-Point Step Size Gradient Methods” by Barzilai and Borwein in IMA Journal of Numerical Analysis 1988 8(1):141-148. Many optimization algorithms are iterative. The number of iterations may be reduced by using the attenuation pattern determined in a preceding frame as the starting point for the optimization in step 54.
The attenuation pattern αt may be generated within the full touch surface, or within one or more subareas of the touch surface. These subareas may be predetermined, or they may be determined for individual frames by analyzing the observed values, e.g. in analogy with WO2011/049513, which is incorporated herein by reference. In extraction step 56, the attenuation pattern αt is processed for identification of touch-related features and extraction of touch data. Any known technique may be used for isolating true (actual) touches within the attenuation pattern. For example, ordinary blob detection and tracking techniques may be used for finding the actual touches. In one embodiment, a threshold is first applied to the attenuation pattern, to remove noise. Any areas with attenuation values that exceed the threshold, may he further processed to find the center and shape by fitting for instance a two-dimensional second-order polynomial or a Gaussian hell shape to the attenuation values, or by finding the ellipse of inertia of the attenuation values. There are also numerous other techniques as is well known in the art, such as clustering algorithms, edge detection algorithms, etc. Any available touch data may he extracted, including but not limited to x,y coordinates, areas and shapes of the touches.
In step 58, the extracted touch data is output, and the process returns to the data collection step 50.
It is to be understood that one or more of steps 50-58 may be effected concurrently. For example, the data collection step 50 of a subsequent frame may be initiated concurrently with any of steps 52-58.
The touch determination process may be executed by a data processing device (cf. 10 in
The device 10 may be implemented by special-purpose software (or firmware) run on one or more general-purpose or special-purpose computing devices. In this context, it is to be understood that each “element” or “means” of such a computing device refers to a conceptual equivalent of a method step; there is not always a one-to-one correspondence between elements/means and particular pieces of hardware or software routines. One piece of hardware sometimes comprises different means/elements. For example, a processing unit may serve as one element/means when executing one instruction, but serve as another element/means when executing another instruction. In addition, one element/means may be implemented by one instruction in some cases, but by a plurality of instructions in some other cases. Naturally, it is conceivable that one or more elements (means) are implemented entirely by analog hardware components.
The software controlled device 10 may include one or more processing units (cf. 14 in
As indicated above, and thoroughly explained in WO2011/049511, the total optimization function (probability function) may also include an expression Fprior(α) defined by one or more priors. Certain priors put constraints on the variations in the attenuation pattern and thus contain an aggregation of differences between attenuation values in the attenuation pattern.
One such prior is the total variation prior, which contains the total sum of absolute differences between neighboring attenuation values:
F
prior(α)=Σn∈N|α−αn|.
wherein αn denotes the (nearest) neighbors to each particular position (attenuation value) in the attenuation pattern α, and N is the total number of positions. The modulus of the differences |α−αn| is taken element-wise, i.e. the sum is an aggregation of absolute values of differences between each of a number of neighbors of each individual position in the attenuation pattern.
When included in the total optimization function, the total variation prior operates to apply a smoothing to the attenuation pattern. However, the total variation prior puts high penalty on large differences in attenuation between neighboring attenuation values, which means that significantly less smoothing will be applied to weak step changes (e.g. caused by weak touches) compared to strong step changes (e.g. caused by strong touches). In one embodiment, this is overcome by modifying the total variation prior such that the smoothing is relative to the strength of the touches, by normalizing each difference in the aggregation of differences:
Such an embodiment may require special attenuation to observed values that are zero, since the normalized difference is undefined when αv=0.
In another embodiment, the normalization value of each difference in the aggregation of differences is offset by a positive value σTV:
This embodiment automatically allows the attenuation values to be zero, and allows the noise in the attenuation pattern to be suppressed by proper choice of the offset value σTV. For example, the offset value σTV may be set to exceed the noise level of the attenuation pattern, e.g. to be equal to the weakest structures to be visualized in the attenuation pattern.
As noted above, the optimization may operate on the derivative of the total optimization function for each attenuation value α. To obtain this derivative, the absolute values (|αv|) may be represented by a suitable continuous function, e.g. as disclosed in WO2011/049511. In such an example, the derivative or gradient of Fprior(α) may be expressed as:
The skilled person realizes that the total variation prior may be normalized in other ways to achieve the desired smoothing. Another example is:
in which the normalization value for a difference in attenuation between one position and a neighboring position is given by the average of the attenuation values at these positions (plus the offset value σTV).
Like the normalization of Fmodel(α) in Section 3, the modulus of the attenuation values is taken element-wise, such that |α| (or |α+αn|) represents a set of individual absolute values |αv| (or αv+αn|). Thus, in all embodiments, the prior is normalized by an estimate of the local attenuation at the individual attenuation value αv.
There are numerous alternatives to the total variation prior. In as much as the prior(s) include an aggregation of differences, the foregoing principles of normalization are equally applicable. For example, the conventional neighboring L2 smoothness prior contains an aggregation of differences: Σn∈N∥α−αn∥22, which may be normalized in analogy with the total variation prior.
It is known in the art that the total optimization function may include still further priors, e.g. a positivity prior that stipulates that all attenuation values are positive, provided that this is a known or desired property of the attenuation pattern.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention is not to be limited to the disclosed embodiments, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and the scope of the appended claims.
For example, the reconstruction process need not generate an attenuation pattern, i.e. a distribution of attenuation values on the touch surface. Rather, the reconstruction process may be designed to generate any form of interaction pattern that represents interaction by positive or negative peaks. Such an interaction pattern contains a two-dimensional distribution of interaction values in any format. In the specific examples given in Sections 2-5, the interaction pattern is an attenuation pattern that indicates changes in attenuation with respect to an earlier time point, which is either a calibration time point (
Number | Date | Country | Kind |
---|---|---|---|
1250150-8 | Feb 2012 | SE | national |
Number | Date | Country | |
---|---|---|---|
61601114 | Feb 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14380063 | Aug 2014 | US |
Child | 15715776 | US |