CN102520869A - 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
CN102520869A
CN102520869A CN2011104372781A CN201110437278A CN102520869A CN 102520869 A CN102520869 A CN 102520869A CN 2011104372781 A CN2011104372781 A CN 2011104372781A CN 201110437278 A CN201110437278 A CN 201110437278A CN 102520869 A CN102520869 A CN 102520869A
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.)
Granted
Application number
CN2011104372781A
Other languages
Chinese (zh)
Other versions
CN102520869B (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

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 camera imaging touch-screen parameter automatic adjusting method
Technical field
The invention belongs to the touch-screen field, be specifically related to a kind of camera imaging touch-screen parameter automatic adjusting method.
Background technology
In camera imaging touch-screen; Need to set camera gain that is used for photographic images and the parameters such as luminance threshold that are used to screen the touch point image; Generally be that manufacturer finds the parameter value that meets application demand to be solidificated in the equipment through experiment; Perhaps hand debugging meets the parameter value of application demand and is solidificated in the equipment in the project installation personnel Installation and Debugging process at the scene; Because the uncertainty of camera manufacturing variation and applied environment, the equipment that adopts same set of parameter value be difficult to let to be installed on various scenes reaches best effect, and field erected engineering staff debugs the touch-screen parameter and also need expend long man-hour simultaneously.And owing to be provided with convex lens in the camera, convex lens make light draw close toward the center, if therefore adopt a global gain and a fixing luminance threshold; The brightness of image that the luminophor of same brightness obtains in each zone of camera is different, generally is to successively decrease around the middle mind-set, and its characteristics that show are; Through after the filtration of luminance threshold; The central area of touch-screen and peripheral regions contrast, the pixel that surpasses luminance threshold that the central area obtains is compared the many of peripheral regions, and the pixel above luminance threshold is continuous relatively in the central area; Distribution possibly appear being interrupted in the pixel that peripheral regions surpasses luminance threshold; The continuous relatively image easy for calculation that surpasses luminance threshold goes out its barycentric coordinates point, and the discontinuous pixel that surpasses luminance threshold can cause calculating a plurality of barycentric coordinates points, produces error coordinates; Cause the touch-screen on the touch-screen is judged by accident, influenced the effect of touch-screen and user's experience.
Summary of the invention
The technical matters that the present invention solves is the deficiency that overcomes 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 camera imaging touch-screen parameter automatic adjusting method of manual debugging equipment time.
For solving the problems of the technologies described above, technical scheme of the present invention is following:
A kind of camera imaging touch-screen parameter automatic adjusting method comprises the steps:
Data-carrier store in the touch-screen stores the touch-screen parameter threshold;
Open touch-screen and initialization touch-screen, the touch-screen parameter threshold in the reading of data storer is in the calculating internal memory of touch-screen;
Touch-screen detects the touch point, obtains the image and the pixel value thereof of said touch point;
Each pixel value of said touch point image and touch-screen parameter threshold compared obtain effective touch point pixel, and calculate said touch point translational speed;
With reference to effectively the touch-screen threshold parameter in the internal memory is calculated in touch point pixel number, the adjustment of touch point translational speed;
Using adjusted touch-screen threshold parameter detects and calculates touch point new in the touch-screen.
In the such scheme, said touch-screen parameter threshold comprises touch-screen luminance threshold, touch point translational speed threshold value, pixel number threshold value.
In the such scheme, said method also comprises said touch-screen zoning territory, corresponding luminance threshold in a zone of touch-screen;
When said touch point pixel brightness value during greater than the corresponding luminance threshold in its region, said touch point pixel is an effective touch point pixel.
In the such scheme, the concrete steps that the touch-screen threshold parameter in the internal memory is calculated in the effective touch point of said reference pixel number, the adjustment of touch point translational speed are following:
When said touch point translational speed during less than touch point translational speed threshold value; Judge that whether effective touch point pixel number is less than pixel number threshold value; If then reduce the corresponding luminance threshold in pixel region, said effective touch point, otherwise improve the corresponding luminance threshold in pixel region, said effective touch point.
In the such scheme, said touch-screen parameter threshold also comprises the camera global gain parameter.
In the such scheme, said method also comprises also to be adjusted the camera global gain parameter, its specifically:
The central area scope of touch-screen is set in advance;
Calculate the barycentric coordinates of said touch point according to said effective touch point pixel;
When said touch point barycentric coordinates are positioned at the central area of touch-screen, judge that effective touch point pixel number whether less than pixel number threshold value, if then increase the camera global gain parameter, otherwise reduces the camera global gain parameter.
In the such scheme; Also comprise pixel number max-thresholds and minimum threshold in the said touch-screen parameter threshold; When said effective touch point pixel number during, then do not carry out the adjustment of the corresponding luminance threshold in pixel region, effective touch point greater than pixel number max-thresholds or less than pixel number minimum threshold.
In the such scheme; Also comprise pixel number max-thresholds and minimum threshold in the said touch-screen parameter threshold; When said effective touch point pixel number during, then do not carry out the adjustment of camera global gain parameter greater than pixel number max-thresholds or less than pixel number minimum threshold.
Compared with prior art, the beneficial effect of technical scheme of the present invention is:
The present invention is provided with the different brightness threshold value to the touch-screen zones of different; Through the automatic adjustment of luminance threshold and the automatic adjustment of camera global gain parameter are improved touch-screen veracity of parameters and reliability; The pixel of avoiding the touch-screen peripheral regions to occur is interrupted distribution situation, improves the accuracy rate of touch point coordinate Calculation, effectively improves the effect of touch-screen; And can save on-the-spot manual debugging when touch-screen is installed, shorten debug time.
Description of drawings
Fig. 1 is a process flow diagram of the present invention;
Fig. 2 is corresponding each the regional distribution plan of touch-screen of touch-screen luminance threshold among the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment technical scheme of the present invention is done further explanation.
Be illustrated in figure 1 as the process flow diagram of a kind of camera imaging touch-screen parameter automatic adjusting method among the present invention, said method comprises the steps:
(S1) data-carrier store in the 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 with touch-screen zoning territory and set the central area scope of touch-screen; Corresponding luminance threshold in a zone of touch-screen; Corresponding each the regional distribution plan of touch-screen of touch-screen luminance threshold is as shown in Figure 2, and it satisfies the characteristic of successively decreasing to peripheral regions from the touch screen center zone.
(S2) open touch-screen and initialization touch-screen, the touch-screen parameter threshold in the reading of data storer is in the calculating internal memory of touch-screen; Camera global gain wherein is used for the camera photographic images, and the touch-screen luminance threshold is used for the effective touch point pixel in each zone of screening touch-screen after camera photographs the touch point image.
(S3) touch-screen detects the touch point, obtains the image and the pixel value thereof of said touch point; When the user clicks touch-screen, will produce the touch point image, obtain each pixel value on this touch point image and this touch point image through camera.
(S4) each pixel value on the image of touch point and touch-screen parameter threshold are compared obtain effective touch point pixel, and calculate the barycentric coordinates of said touch point translational speed and touch point; When the pixel brightness value on the image of touch point during greater than the corresponding luminance threshold in its region, the pixel on this touch point image is an effective touch point pixel.Effective pixel points number and the touch point translational speed that calculate to constitute the touch point is to be to carry out the adjustment of parameter threshold when resting on the touch area in the touch point in order to ensure the touch-screen parameter threshold, improves the accuracy of parameter adjustment.
(S5) calculate the touch-screen threshold parameter in the 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 touch point translational speed during, whether judge effective touch point pixel number,, otherwise get into step (S513) if get into step (S512) less than pixel number threshold value less than touch point translational speed threshold value;
(S512) judge that whether effective touch point pixel number is less than pixel number minimum threshold; If then do not carry out the adjustment of the corresponding luminance threshold in pixel region, effective touch point, otherwise reduce the corresponding luminance threshold in this pixel region, effective touch point;
(S513) judge that whether effective touch point pixel number is less than pixel number max-thresholds; If then do not carry out the adjustment of the corresponding luminance threshold in pixel region, effective touch point, otherwise improve the corresponding luminance threshold in pixel region, effective touch point.
(S52) the camera global gain parameter is adjusted, its specifically:
(S521) when said touch point barycentric coordinates are positioned at the central area of touch-screen, whether judge effective touch point pixel number less than pixel number threshold value, if get into step (S522), otherwise get into step (S523);
(S512) whether judge effective touch point pixel number less than pixel number minimum threshold,, otherwise increase the camera global gain parameter if then do not carry out the adjustment of camera global gain parameter;
(S513) whether judge effective touch point pixel number less than pixel number max-thresholds,, otherwise reduce the camera global gain parameter if then do not carry out the adjustment of camera global gain parameter.
(S6) using adjusted touch-screen threshold parameter detects and calculates touch point new in the touch-screen.

Claims (8)

1. a camera imaging touch-screen parameter automatic adjusting method is characterized in that, comprises the steps:
Data-carrier store in the touch-screen stores the touch-screen parameter threshold;
Open touch-screen and initialization touch-screen, the touch-screen parameter threshold in the reading of data storer is in the calculating internal memory of touch-screen;
Touch-screen detects the touch point, obtains the image and the pixel value thereof of said touch point;
Each pixel value of said touch point image and touch-screen parameter threshold compared obtain effective touch point pixel, and calculate said touch point translational speed;
With reference to effectively the touch-screen threshold parameter in the internal memory is calculated in touch point pixel number, the adjustment of touch point translational speed;
Using adjusted touch-screen threshold parameter detects and calculates touch point new in the touch-screen.
2. camera imaging touch-screen parameter automatic adjusting method according to claim 1 is characterized in that said touch-screen parameter threshold comprises touch-screen luminance threshold, touch point translational speed threshold value, pixel number threshold value.
3. camera imaging touch-screen parameter automatic adjusting method according to claim 2 is characterized in that, said method also comprises said touch-screen zoning territory, corresponding luminance threshold in a zone of touch-screen;
When said touch point pixel brightness value during greater than the corresponding luminance threshold in its region, said touch point pixel is an effective touch point pixel.
4. camera imaging touch-screen parameter automatic adjusting method according to claim 3 is characterized in that the concrete steps that the touch-screen threshold parameter in the internal memory is calculated in the effective touch point of said reference pixel number, the adjustment of touch point translational speed are following:
When said touch point translational speed during less than touch point translational speed threshold value; Judge that whether effective touch point pixel number is less than pixel number threshold value; If then reduce the corresponding luminance threshold in pixel region, said effective touch point, otherwise improve the corresponding luminance threshold in pixel region, said effective touch point.
5. camera imaging touch-screen parameter automatic adjusting method according to claim 4 is characterized in that said touch-screen parameter threshold also comprises the camera global gain parameter.
6. camera according to claim 5 imaging touch-screen parameter automatic adjusting method is characterized in that said method also comprises also to be adjusted the camera global gain parameter, its specifically:
The central area scope of touch-screen is set in advance;
Calculate the barycentric coordinates of said touch point according to said effective touch point pixel;
When said touch point barycentric coordinates are positioned at the central area of touch-screen, judge that effective touch point pixel number whether less than pixel number threshold value, if then increase the camera global gain parameter, otherwise reduces the camera global gain parameter.
7. camera imaging touch-screen parameter automatic adjusting method according to claim 4; It is characterized in that; Also comprise pixel number max-thresholds and minimum threshold in the said touch-screen parameter threshold; When said effective touch point pixel number during, then do not carry out the adjustment of the corresponding luminance threshold in pixel region, effective touch point greater than pixel number max-thresholds or less than pixel number minimum threshold.
8. camera imaging touch-screen parameter automatic adjusting method according to claim 6; It is characterized in that; Also comprise pixel number max-thresholds and minimum threshold in the said touch-screen parameter threshold; When said effective touch point pixel number during, then do not carry out the adjustment of camera global gain parameter greater than pixel number max-thresholds or less than pixel number minimum threshold.
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 true CN102520869A (en) 2012-06-27
CN102520869B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103632649A (en) * 2012-08-21 2014-03-12 宏碁股份有限公司 A method for adjusting backlight brightness and an electronic apparatus

Citations (5)

* 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
US20100164479A1 (en) * 2008-12-29 2010-07-01 Motorola, Inc. Portable Electronic Device Having Self-Calibrating Proximity Sensors
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

Patent Citations (5)

* 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
US20100164479A1 (en) * 2008-12-29 2010-07-01 Motorola, Inc. Portable Electronic Device Having Self-Calibrating Proximity Sensors
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN102520869B (en) 2013-12-04

Similar Documents

Publication Publication Date Title
EP3355241B1 (en) Determining a position of a vehicle on a track
US10366509B2 (en) Setting different background model sensitivities by user defined regions and background filters
TWI490772B (en) Method and apparatus for adapting custom control components to a screen
CN102622767B (en) Method for positioning binocular non-calibrated space
WO2013105244A1 (en) Shadow location predict system and shadow location predict method
WO2020182176A1 (en) Method and apparatus for controlling linkage between ball camera and gun camera, and medium
US20110134252A1 (en) Information processing apparatus and control method thereof
CN103686065A (en) Cloud mirror cluster control method and device of monitoring equipment based on GIS (geographic information system) interoperability
TW201405446A (en) Electronic apparatus for adjusting resolution or brightness of screen and method thereof
CN104967827A (en) Camera device and control method thereof
US20200267309A1 (en) Focusing method and device, and readable storage medium
CN105451012A (en) Three-dimensional imaging system and three-dimensional imaging method
CN106327461B (en) A kind of image processing method and device for monitoring
CN104219428B (en) A kind of camera mounting device
US11842516B2 (en) Homography through satellite image matching
US10432846B2 (en) Electronic device, image capturing method and storage medium
CN104811586A (en) Scene change video intelligent analyzing method, device, network camera and monitoring system
CN102955659B (en) Display interface method of adjustment and system
CN109218598A (en) A kind of camera switching method, device and unmanned plane
US11172111B2 (en) Devices and methods for security camera installation planning
CN108717704A (en) Method for tracking target, computer installation based on fish eye images and computer readable storage medium
CN104700409B (en) A method of according to monitoring objective adjust automatically preset positions of camera
CN102520869B (en) Automatic parameter adjusting method for imaging touch screen of camera
TWI696390B (en) Method and system for testing and aligning projection screen of projector
CN108965525B (en) Detection method and device, terminal, computer equipment and readable storage medium

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.