Method for determining touch layer pattern, touch display device, computer device and storage medium
AssigneesBoe Technology Group Co., Ltd., Chongqing Boe Optoelectronics Technology Co., Ltd.
InventorsJunhui Wu, Xin Bi, Xun Pu, Jiandong Guo, Zhongshan Wu
Life of this patent
Estimating the term…
Abstract
A method for determining a touch layer pattern, a touch display device, a computer device and a storage medium are provided. The method includes: providing a pixel pattern which contains a light shielding region and a sub-pixel region defined by the light shielding region; superimposing at least two different touch patterns with the pixel pattern respectively to obtain at least two superimposed patterns; and determining, as a touch layer pattern, a touch pattern from the at least two touch patterns, according to equivalent grayscales of the at least two superimposed patterns.
Claims16
A method for determining a touch layer pattern, comprising:
- providing a pixel pattern including a light shielding region and a sub-pixel region defined by the light shielding region;
- superimposing at least two different touch patterns with the pixel pattern respectively to obtain at least two superimposed patterns;
- and
- determining a touch pattern as a touch layer pattern from the at least two touch patterns according to equivalent grayscales of the at least two superimposed patterns, and
- wherein said determining a touch pattern as a touch layer pattern from the at least two touch patterns according to the equivalent grayscales of the at least two superimposed patterns comprises:
- dividing the superimposed pattern into a plurality of first regions;
- calculating an equivalent grayscale value of each of the first regions;
- calculating a variance according to the equivalent grayscale value of each of the first regions;
- and
- selecting a touch pattern as the touch layer pattern from the touch patterns whose variances are less than a set value;
- and
- wherein each of the first regions comprises a first lower layer region located on the pixel pattern and a first upper layer projection region located on the touch pattern, said calculating an equivalent grayscale value of each of the first regions comprises:
- setting the equivalent grayscale value of the first region as 0 when the first lower layer region of the first region is located in the light shielding region;
- and
- calculating the equivalent grayscale value of the first region according to the following formula when the first lower layer region of the first region is located in the sub-pixel region,
- N=255*K2,
- where K2 is a light transmittance of the touch pattern in the first upper layer projection region of the first region, and 0<K2≤1.
A computer device, comprising a memory, a processor, and computer programs stored on the memory and executable on the processor, wherein the processor is configured to perform the following operations:
- providing a pixel pattern including a light shielding region and a sub-pixel region defined by the light shielding region;
- superimposing at least two different touch patterns with the pixel pattern respectively to obtain at least two superimposed patterns;
- and
- determining a touch pattern as a touch layer pattern from the at least two touch patterns according to equivalent grayscales of the at least two superimposed patterns;
- and
- wherein said determining a touch pattern as a touch layer pattern from the at least two touch patterns according to the equivalent grayscales of the at least two superimposed patterns comprises:
- dividing the superimposed pattern into a plurality of first regions;
- calculating an equivalent grayscale value of each of the first regions;
- calculating a variance according to the equivalent grayscale value of each of the first regions;
- and
- selecting a touch pattern as the touch layer pattern from the touch patterns whose variances are less than a set value;
- and
- wherein each of the first regions comprises a first lower layer region located on the pixel pattern and a first upper layer projection region located on the touch pattern, said calculating an equivalent grayscale value of each of the first regions comprises:
- setting the equivalent grayscale value of the first region as 0 when the first lower layer region of the first region is located in the light shielding region;
- and
- calculating the equivalent grayscale value of the first region according to the following formula when the first lower layer region of the first region is located in the sub-pixel region,
- N=255*K2,
- where K2 is a light transmittance of the touch pattern in the first upper layer projection region of the first region, and 0<K2≤1.
Dependencies are inferred from the claim text.