CN102520869B - Automatic parameter adjusting method for imaging touch screen of camera - Google Patents

Automatic parameter adjusting method for imaging touch screen of camera Download PDF

Info

Publication number
CN102520869B
CN102520869B CN2011104372781A CN201110437278A CN102520869B CN 102520869 B CN102520869 B CN 102520869B CN 2011104372781 A CN2011104372781 A CN 2011104372781A CN 201110437278 A CN201110437278 A CN 201110437278A CN 102520869 B CN102520869 B CN 102520869B
Authority
CN
China
Prior art keywords
touch
screen
threshold
touch point
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2011104372781A
Other languages
Chinese (zh)
Other versions
CN102520869A (en
Inventor
郑金发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changshu Intellectual Property Operation Center Co ltd
Guangdong Gaohang Intellectual Property Operation Co ltd
Original Assignee
Vtron Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN2011104372781A priority Critical patent/CN102520869B/en
Publication of CN102520869A publication Critical patent/CN102520869A/en
Application granted granted Critical
Publication of CN102520869B publication Critical patent/CN102520869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention belongs to the field of touch screens, in particular to an automatic parameter adjusting method for an imaging touch screen of a camera, which includes the following steps that a data storage in the touch screen stores a touch screen parameter threshold, the touch screen is started and initialized, the touch screen parameter threshold in the data storage is read to a computer internal memory of the touch screen, the touch screen detects touch points and obtains images and pixel values of the touch points, the pixel values of the touch point images are compared with the touch screen parameter to obtain effective touch point pixel point and calculate moving speed of the touch points, the touch screen threshold parameter in the computer internal memory is adjusted according to the number of effective touch point pixel points and the moving speed of the touch points, and the adjusted touch screen threshold parameter is applied to detect and calculate new touch points in the touch screen. The automatic parameter adjusting method is capable of automatically adjusting camera gain and the brightness threshold of different areas of the touch screen, improves application effect of the touch screen and shortens manual equipment debugging time.

Description

A kind of automatic parameter adjusting method for imaging touch screen of camera
Technical field
The invention belongs to the touch-screen field, be specifically related to a kind of automatic parameter adjusting method for imaging touch screen of camera.
Background technology
In imaging touch screen of camera, need to set for the camera gain of photographic images with for screening the parameters such as luminance threshold of touch point image, generally that manufacturer finds the parameter value that meets application demand to be solidificated in equipment by experiment, perhaps in project installation personnel Installation and Debugging process at the scene, manual debugging meets the parameter value of application demand and is solidificated in equipment, uncertainty due to camera manufacturing variation and applied environment, the equipment that adopts same set of parameter value be difficult to allow to be installed on various scenes reaches best effect, field erected engineering staff debugs the touch-screen parameter simultaneously also needs to expend longer man-hour.And owing to being provided with convex lens in camera, convex lens make light draw close toward center, if therefore adopt a global gain and a fixing luminance threshold, the brightness of image difference that the luminophor of same brightness obtains in each zone of camera, generally that middle mind-set surrounding is successively decreased, its characteristics that show are, after the filtration of luminance threshold, the central area of touch-screen and peripheral regions contrast, the pixel that surpasses luminance threshold that central area obtains is compared the many of peripheral regions, and the pixel that surpasses luminance threshold in central area is relatively continuous, distribution may appear being interrupted in the pixel that peripheral regions surpasses luminance threshold, the relatively continuous image that surpasses luminance threshold easily calculates its barycentric coordinates point, the discontinuous pixel that surpasses luminance threshold can cause calculating a plurality of barycentric coordinates points, produce error coordinates, cause the touch-screen on touch-screen is judged by accident, the effect of touch-screen and user's experience have been affected.
Summary of the invention
The technical matters that the present invention solves is to overcome the deficiencies in the prior art, a kind of on-line automatic adjustment camera gain and touch-screen zones of different luminance threshold are provided, improve the effect of touch-screen, and shorten the automatic parameter adjusting method for imaging touch screen of camera of manual debugging equipment time.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
A kind of automatic parameter adjusting method for imaging touch screen of camera, comprise the steps:
Data-carrier store in touch-screen stores the touch-screen parameter threshold;
Open touch-screen initialization touch-screen, the touch-screen parameter threshold in the reading out data storer is in the calculating internal memory of touch-screen;
Touch-screen detects touch point, obtains image and the pixel value thereof of described touch point;
Each pixel value of described touch point image and touch-screen parameter threshold are compared and obtain effective touch point pixel, and calculate described touch point translational speed;
With reference to effectively the touch-screen threshold parameter in internal memory is calculated in touch point pixel number, touch point translational speed adjustment;
Touch-screen threshold parameter after application is adjusted is detected and is calculated touch point new in touch-screen.
In such scheme, described touch-screen parameter threshold comprises touch-screen luminance threshold, touch point translational speed threshold value, pixel number threshold value.
In such scheme, described method also comprises described touch-screen is divided into to some zones, the corresponding luminance threshold in a zone of touch-screen;
When described touch point pixel brightness value is greater than luminance threshold corresponding to its region, described touch point pixel is effective touch point pixel.
In such scheme, the concrete steps that the touch-screen threshold parameter in internal memory is calculated in the effective touch point of described reference pixel number, touch point translational speed adjustment are as follows:
When described touch point translational speed is less than touch point translational speed threshold value, judge whether effective touch point pixel number is less than pixel number threshold value, if reduce luminance threshold corresponding to described pixel region, effective touch point, otherwise improve luminance threshold corresponding to described pixel region, effective touch point.
In such scheme, described touch-screen parameter threshold also comprises the camera global gain parameter.
In such scheme, described method also also comprises to be adjusted the camera global gain parameter, its specifically:
Set in advance the central area scope of touch-screen;
Calculate the barycentric coordinates of described touch point according to described effective touch point pixel;
When described touch point barycentric coordinates are positioned at the central area of touch-screen, judge that whether effective touch point pixel number is less than pixel number threshold value, if increase the camera global gain parameter, otherwise reduces the camera global gain parameter.
In such scheme, also comprise pixel number max-thresholds and minimum threshold in described touch-screen parameter threshold, when described effective touch point pixel number is greater than pixel number max-thresholds or is less than pixel number minimum threshold, do not carry out the adjustment of luminance threshold corresponding to pixel region, effective touch point.
In such scheme, also comprise pixel number max-thresholds and minimum threshold in described touch-screen parameter threshold, when described effective touch point pixel number is greater than pixel number max-thresholds or is less than pixel number minimum threshold, do not carry out the adjustment of camera global gain parameter.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
The present invention arranges different luminance thresholds to the touch-screen zones of different, improve accuracy and the reliability of touch-screen parameter by the automatic adjustment of the automatic adjustment to luminance threshold and camera global gain parameter, the pixel of avoiding the touch-screen peripheral regions to occur is interrupted distribution situation, improve the accuracy rate that the touch point coordinate calculates, effectively improve the effect of touch-screen, and can save on-the-spot manual debugging when touch-screen is installed, shorten debug time.
The accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
The distribution plan that Fig. 2 is the corresponding touch-screen regional of touch-screen luminance threshold in the present invention.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described further.
Be illustrated in figure 1 the process flow diagram of a kind of automatic parameter adjusting method for imaging touch screen of camera in the present invention, described method comprises the steps:
(S1) data-carrier store in touch-screen stores the touch-screen parameter threshold; The touch-screen parameter threshold comprises: the touch-screen luminance threshold, touch point translational speed threshold value, pixel number threshold value, pixel number max-thresholds and pixel number minimum threshold, the camera global gain parameter, wherein, pixel number max-thresholds > pixel number threshold value > pixel number minimum threshold; Simultaneously, in advance touch-screen is divided into to some zones and sets the central area scope of touch-screen, the corresponding luminance threshold in a zone of touch-screen, as shown in Figure 2, it meets the feature of successively decreasing to peripheral regions from the touch screen center zone to the distribution plan of the corresponding touch-screen regional of touch-screen luminance threshold.
(S2) open touch-screen initialization touch-screen, the touch-screen parameter threshold in the reading out data storer is in the calculating internal memory of touch-screen; Camera global gain wherein is for the camera photographic images, and the touch-screen luminance threshold is for the effective touch point pixel of screening touch-screen regional after camera photographs the touch point image.
(S3) touch-screen detects touch point, obtains image and the pixel value thereof of described touch point; To produce the touch point image by camera when user's point touching shields, obtain each pixel value on this touch point image and this touch point image.
(S4) each pixel value on the image of touch point and touch-screen parameter threshold are compared and obtain effective touch point pixel, and calculate the barycentric coordinates of described touch point translational speed and touch point; When the pixel brightness value on the image of touch point is greater than luminance threshold corresponding to its region, the pixel on this touch point image is effective touch point pixel.Calculating the effective pixel points number and the touch point translational speed that form touch point is to be to carry out the adjustment of parameter threshold while in touch point, resting on touch area in order to ensure the touch-screen parameter threshold, improves the accuracy of parameter adjustment.
(S5) calculate the touch-screen threshold parameter in internal memory with reference to the barycentric coordinates adjustment of effective touch point pixel number, touch point translational speed, touch point; It specifically comprises the steps:
(S51) the touch-screen luminance threshold is adjusted, its specifically:
(S511) when the touch point translational speed is less than touch point translational speed threshold value, judge whether effective touch point pixel number is less than pixel number threshold value, if the step of entering (S512), otherwise enter step (S513);
(S512) judge whether effective touch point pixel number is less than pixel number minimum threshold, if do not carry out the adjustment of luminance threshold corresponding to pixel region, effective touch point, otherwise reduce this luminance threshold corresponding to pixel region, effective touch point;
(S513) judge whether effective touch point pixel number is less than pixel number max-thresholds, if do not carry out the adjustment of luminance threshold corresponding to pixel region, effective touch point, otherwise improve luminance threshold corresponding to pixel region, effective touch point.
(S52) the camera global gain parameter is adjusted, its specifically:
(S521) when described touch point barycentric coordinates are positioned at the central area of touch-screen, judge whether effective touch point pixel number is less than pixel number threshold value, if the step of entering (S522), otherwise enter step (S523);
(S512) judge whether effective touch point pixel number is less than pixel number minimum threshold, if do not carry out the adjustment of camera global gain parameter, otherwise increase the camera global gain parameter;
(S513) judge that whether effective touch point pixel number is less than pixel number max-thresholds, if do not carry out the adjustment of camera global gain parameter, otherwise reduces the camera global gain parameter.
(S6) the touch-screen threshold parameter after the application adjustment is detected and is calculated touch point new in touch-screen.

Claims (6)

1. an automatic parameter adjusting method for imaging touch screen of camera, is characterized in that, comprises the steps:
Data-carrier store in touch-screen stores the touch-screen parameter threshold;
Open touch-screen initialization touch-screen, the touch-screen parameter threshold in the reading out data storer is in the calculating internal memory of touch-screen;
Touch-screen detects touch point, obtains image and the pixel value thereof of described touch point;
Each pixel value of described touch point image and touch-screen parameter threshold are compared and obtain effective touch point pixel, and calculate described touch point translational speed;
With reference to effectively the touch-screen threshold parameter in internal memory is calculated in touch point pixel number, touch point translational speed adjustment;
Touch-screen threshold parameter after application is adjusted is detected and is calculated touch point new in touch-screen;
Described touch-screen parameter threshold comprises touch-screen luminance threshold, touch point translational speed threshold value, pixel number threshold value;
Described method also comprises described touch-screen is divided into to some zones, the corresponding luminance threshold in a zone of touch-screen;
When described touch point pixel brightness value is greater than luminance threshold corresponding to its region, described touch point pixel is effective touch point pixel.
2. automatic parameter adjusting method for imaging touch screen of camera according to claim 1, is characterized in that, the concrete steps that the touch-screen threshold parameter in internal memory is calculated in the effective touch point of described reference pixel number, touch point translational speed adjustment are as follows:
When described touch point translational speed is less than touch point translational speed threshold value, judge whether effective touch point pixel number is less than pixel number threshold value, if reduce luminance threshold corresponding to described pixel region, effective touch point, otherwise improve luminance threshold corresponding to described pixel region, effective touch point.
3. automatic parameter adjusting method for imaging touch screen of camera according to claim 2, is characterized in that, described touch-screen parameter threshold also comprises the camera global gain parameter.
4. automatic parameter adjusting method for imaging touch screen of camera according to claim 3, is characterized in that, described method also also comprises to be adjusted the camera global gain parameter, its specifically:
Set in advance the central area scope of touch-screen;
Calculate the barycentric coordinates of described touch point according to described effective touch point pixel;
When described touch point barycentric coordinates are positioned at the central area of touch-screen, judge that whether effective touch point pixel number is less than pixel number threshold value, if increase the camera global gain parameter, otherwise reduces the camera global gain parameter.
5. automatic parameter adjusting method for imaging touch screen of camera according to claim 2, it is characterized in that, also comprise pixel number max-thresholds and minimum threshold in described touch-screen parameter threshold, when described effective touch point pixel number is greater than pixel number max-thresholds or is less than pixel number minimum threshold, do not carry out the adjustment of luminance threshold corresponding to pixel region, effective touch point.
6. automatic parameter adjusting method for imaging touch screen of camera according to claim 4, it is characterized in that, also comprise pixel number max-thresholds and minimum threshold in described touch-screen parameter threshold, when described effective touch point pixel number is greater than pixel number max-thresholds or is less than pixel number minimum threshold, do not carry out the adjustment of camera global gain parameter.
CN2011104372781A 2011-12-23 2011-12-23 Automatic parameter adjusting method for imaging touch screen of camera Active CN102520869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104372781A CN102520869B (en) 2011-12-23 2011-12-23 Automatic parameter adjusting method for imaging touch screen of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104372781A CN102520869B (en) 2011-12-23 2011-12-23 Automatic parameter adjusting method for imaging touch screen of camera

Publications (2)

Publication Number Publication Date
CN102520869A CN102520869A (en) 2012-06-27
CN102520869B true CN102520869B (en) 2013-12-04

Family

ID=46291815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104372781A Active CN102520869B (en) 2011-12-23 2011-12-23 Automatic parameter adjusting method for imaging touch screen of camera

Country Status (1)

Country Link
CN (1) CN102520869B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632649B (en) * 2012-08-21 2016-03-23 宏碁股份有限公司 The method of adjustment of backlight illumination and electronic installation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226447A (en) * 2008-01-29 2008-07-23 广东威创视讯科技股份有限公司 Touch screen device and debugging method thereof
CN101882028A (en) * 2009-05-05 2010-11-10 联想(北京)有限公司 Method for correcting optical touch screen and optical touch screen
CN102043541A (en) * 2009-10-14 2011-05-04 谭登峰 General optical touch screen
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8030914B2 (en) * 2008-12-29 2011-10-04 Motorola Mobility, Inc. Portable electronic device having self-calibrating proximity sensors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101226447A (en) * 2008-01-29 2008-07-23 广东威创视讯科技股份有限公司 Touch screen device and debugging method thereof
CN101882028A (en) * 2009-05-05 2010-11-10 联想(北京)有限公司 Method for correcting optical touch screen and optical touch screen
CN102043541A (en) * 2009-10-14 2011-05-04 谭登峰 General optical touch screen
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor

Also Published As

Publication number Publication date
CN102520869A (en) 2012-06-27

Similar Documents

Publication Publication Date Title
US8953048B2 (en) Information processing apparatus and control method thereof
TWI490772B (en) Method and apparatus for adapting custom control components to a screen
US9087258B2 (en) Method for counting objects and apparatus using a plurality of sensors
CN104125418B (en) Energy-efficient image sensing apparatus and its operation method and eye/gaze tracking system
CN102622767B (en) Method for positioning binocular non-calibrated space
CN105451012A (en) Three-dimensional imaging system and three-dimensional imaging method
US20150084992A1 (en) Information processing apparatus, method of controlling information processing apparatus, and recording medium
CN104657936A (en) Method, electronic device and medium for adjusting depth values
CN103049909B (en) A kind of be focus with car plate exposure method
US20150371376A1 (en) Control apparatus, control method, and storage medium
CN104811586A (en) Scene change video intelligent analyzing method, device, network camera and monitoring system
CN102915542A (en) Image processing apparatus, image processing method, and program
CN104299188B (en) Image correcting method and system
US20140168273A1 (en) Electronic device and method for changing data display size of data on display device
CN102955659B (en) Display interface method of adjustment and system
US20130182080A1 (en) Camera testing device and method for testing camera
KR102344227B1 (en) Moving body detecting device, moving body detecting method, and moving body detecting program
CN102520869B (en) Automatic parameter adjusting method for imaging touch screen of camera
Min et al. Non-contact and real-time dynamic displacement monitoring using smartphone technologies
CN104301699A (en) Image processing method and device
CN108965525B (en) Detection method and device, terminal, computer equipment and readable storage medium
JP2013206812A (en) Lighting control system
TWI696390B (en) Method and system for testing and aligning projection screen of projector
CN112330595A (en) Tripwire detection method and device, electronic equipment and storage medium
CN113418091B (en) Method, device and equipment for installing camera shooting assembly

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 No. 6, color road, hi tech Industrial Development Zone, Guangdong, Guangzhou, China

Patentee before: VTRON TECHNOLOGIES Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201118

Address after: 215500 No.13, Caotang Road, Changshu, Suzhou, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20201118

Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee before: VTRON GROUP Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.