CN102663690A - Infrared ambient light filtering method - Google Patents
Infrared ambient light filtering method Download PDFInfo
- Publication number
- CN102663690A CN102663690A CN2012100808974A CN201210080897A CN102663690A CN 102663690 A CN102663690 A CN 102663690A CN 2012100808974 A CN2012100808974 A CN 2012100808974A CN 201210080897 A CN201210080897 A CN 201210080897A CN 102663690 A CN102663690 A CN 102663690A
- Authority
- CN
- China
- Prior art keywords
- pixel
- infrared
- surround lighting
- ambient light
- signal receiving
- 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.)
- Pending
Links
Images
Landscapes
- Optical Communication System (AREA)
Abstract
The invention discloses an infrared ambient light filtering method. The method is characterized by: when there is no effective optical signal operation, taking collected data as ambient light data and storing the collected data in a memory; when the effective optical signal operation is appeared, taking the collected data as real-time data of which the effective light and the ambient light are coexistent, carrying out real-time one by one comparison of each pixel on the real-time data and the ambient light data stored recently, filtering the pixels which are lower than or equal to a stored same pixel ambient light gray scale value, recording x and y coordinate accumulation of the pixels which are greater than the stored same pixel ambient light gray scale and an effective point quantity and calculating an effective light center of gravity. During a usage process of an interactive whiteboard system, when there is the ambient light in a signal receiving apparatus acquisition area, a problem of not being able to be used normally, for instance, there is no response or a false response to a signal transmission device and so on, is appeared. By using the method of the invention, the above problem can be solved. The signal receiving apparatus and the method for effectively filtering the infrared ambient light are provide so that the interactive whiteboard is not influenced by the ambient light during usage.
Description
Technical field
The present invention relates to the image recognition technology field, particularly relate to a kind of infrared surround lighting filtering method.
Background technology
Present electric whiteboard system; When using the sender unit operation; Sender unit sends effective infrared signal for the signal receiving device collection; Signal receiving device is gathered the data that form the band gray scale behind this effective infrared signal, and signal receiving device compares formation binaryzation data according to the gray scale threshold values that presets with said this gradation data again, calculates the center of gravity of effective light signal then; The operating position information that this effective light signal center of gravity is exactly a sender unit; This operating position information communication module in signal receiving device again transfers to computer, forms the mouse action incident, thereby reaches the purpose of coming operating computer through the action of signal operation sender unit.
But existing electric whiteboard system in use, if when in the signal receiving device pickup area, having surround lighting, will occur that sender unit is not had the phenomenon that response or mistake response etc. can't normally be used.Improve effective light signal strength through improving sender unit infrared tube luminous power at present; And then preset the gray scale threshold values through increasing; Come filtering to be lower than the surround lighting of this setting threshold values; The shortcoming of can bring like this that sender unit power consumption is big, service time is short is simultaneously for still there being when exceeding the surround lighting of effective light signal strength still effectively filtering; Can only be through solving this application difficult problem by outside measure, as close light in the applied environment, lighttight curtain be set or select the place to use in addition and solve.Bring a difficult problem inconvenient or that thoroughly can't use will for like this this system of use.
Summary of the invention
In order to solve in the prior art mutual whiteboard system in use; If when in the signal receiving device pickup area, having surround lighting; Will occur that sender unit is not had the problem that response or mistake response etc. can't normally be used; The invention provides a kind of signal receiving device when the acquired signal emitter is launched effective infrared signal; Effectively filtering is higher than the method for the surround lighting of effective infrared light intensity (being gray scale), thereby has realized that this mutual whiteboard applications no longer receives the influence of surround lighting.
In order to address the above problem, the technical scheme that the present invention taked is:
A kind of infrared surround lighting filtering method is characterized in that: may further comprise the steps:
(1), after system start-up accomplishes, signal receiving device judges according to the restituted signal in the infrared reception amplifier whether sender unit has operational motion;
(2), when sender unit is not operated, the surround lighting that signal receiving device real-time storage image capture module is gathered;
(3), when sender unit has operation, effective light, surround lighting that signal receiving device collects image capture module and the real-time gradation data of depositing carry out each pixel with the surround lighting gradation data of having stored and compare one by one;
(4), when the real-time gradation data of a certain pixel in the step (3) during smaller or equal to the surround lighting gradation data of the same pixel of having stored, this pixel is by filtering;
(5), when the real-time gradation data of a certain pixel in the step (3) during greater than the surround lighting gradation data of the same pixel of having stored, this pixel is a valid pixel, writes down this pixel x coordinate and y coordinate;
(6), frame period of setting according to image capture module, should be in the frame period each valid pixel x coordinate be added to the X coordinate and add up and be added to the Y coordinate with, each valid pixel y coordinate and add up and, and the quantity of statistics valid pixel;
(7), draw center of gravity Xg, the Yg of effective spot area, these center of gravity data Xg, Yg transfer to host computer through signal receiving device, form corresponding operating through host computer through division arithmetic.
Aforesaid a kind of infrared surround lighting filtering method, it is characterized in that: said sender unit can send the 940nm wave band, the infrared pulse light of 38KHz frequency.
Aforesaid a kind of infrared surround lighting filtering method is characterized in that: said signal receiving device can demodulation 940nm wave band, the infrared pulse light of 38KHz frequency.
Aforesaid a kind of infrared surround lighting filtering method is characterized in that: when said sender unit did not have operation, signal receiving device did not have demodulation output, and restituted signal is a high level.
Aforesaid a kind of infrared surround lighting filtering method is characterized in that: when said sender unit had operation, signal receiving device had demodulation output, and restituted signal is a low level.
The invention has the beneficial effects as follows:
1, the height through infrared reception amplifier restituted signal judges whether 940nm wave band, the 38kHz infrared light that sender unit sends when operating; Can effectively tell effective light signal operation time period; Carry out the method that each pixel is compared one by one through effective light, surround lighting and the real-time gradation data of depositing and the ambient light data that is stored in the storer of real-time collection again; Can effectively shield the zone that the surround lighting gray scale of having stored is higher than effective light gray scale; Outside this shielding area, can continue normal effective light signal operation of using; When this surround lighting is removed or brightness when being lower than the brightness of effective infrared light; Adopt effective light, surround lighting of gathering in real time and the real-time gradation data of depositing and the ambient light data that is stored in the storer to carry out the method that each pixel is compared one by one once more; This shielding area becomes normal use zone immediately, can continue normal effective light signal operation of using.
2, sender unit adopts the mode of pulsed illumination, and is promptly luminous at interval, can reduce power consumption than lasting luminous device like this, thereby prolonged in the sender unit in the power module battery service time.
3, be suitable for many sender units, can on mutual blank, use simultaneously for many people.
Description of drawings
Fig. 1 is the process flow diagram of the infrared surround lighting filtering method of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further description.
As shown in Figure 1; In sender unit, be provided with a pulse modulation module, an infrared transmitting tube, a power module and a linked switch; The mutual whiteboard system user of photo-electric grips sender unit when operating, and linked switch is closed, and it is luminous that infrared transmitting tube presets the pulse mode interval of frequency f s according to one down in pulse modulation module control; Accordingly; In signal receiving device, be provided with an infrared remote control receiving amplifier, said infrared remote control receiving amplifier can be to infrared transmitting tube modulating frequency fs reliable demodulation in the sender unit, and the signal Signal after its demodulation exports the data processing module of signal receiving device to.
Said data processing module judges according to said restituted signal Signal whether sender unit has operation; When sender unit does not have any operational motion; Infrared transmitting tube is not luminous, in addition, because surround lighting no pulse modulation signature; So infrared remote control receiving amplifier does not have demodulation output, restituted signal Signal default value is high level High_signal.
When sender unit had operation, infrared transmitting tube was luminous at interval according to the pulse mode of frequency f s, and infrared remote control receiving amplifier has demodulation output, and restituted signal Signal transfers low level Low_signal to by original acquiescence high level High_signal.
When the restituted signal Signal that is transfused to when the data processing module of signal receiving device is high level High_signal; The ambient light data background_data that data processing module collects image capture module is stored in RAM (the random access memory) random access memory; In like manner; As long as the restituted signal Signal that data processing module is transfused to is high level High_signal; The ambient light data background_data that data processing module collects image capture module covers the data area of storage background_data in original RAM (the random access memory) random access memory; Transfer low level Low_signal until said restituted signal Signal to by original acquiescence high level High_signal; Be that sender unit has operational motion; This moment; Effective light, surround lighting that the sender unit infraluminescence pipe that data processing module collects image capture module sends and the real-time gradation data Real_data that deposits be stored to data b ackground_data in RAM (the random access memory) random access memory and carry out each pixel and compare one by one, as the real-time gradation data Real_data of same pixel during greater than the ambient light data background_data in RAM (the random access memory) random access memory, with the coordinate x of this effective pixel points; Y be added to the x coordinate add up with Sum_x, y coordinate add up and Sum_y in; And statistics valid pixel number of spots Count_pixcel, as the real-time gradation data Real_data of same pixel during smaller or equal to the ambient light data background_data in RAM (the random access memory) random access memory, this pixel is left in the basket; Do not participate in any calculating; After image capture module finished according to the every frame collection of setting frame speed, data processing module respectively drew center of gravity Xg, the Yg in effective light zone divided by Count_pixcel, Sum_y divided by Count_pixcel according to formula S um_x, promptly draws the operating position of sender unit; This center of gravity Xg, the transport module of Yg data in signal receiving device transfer to computer PC, form mouse event.
In like manner; When existing an above sender unit to operate simultaneously; The x coordinate that data processing module can calculate each effective light zone respectively adds up and adds up with Sum_xi, y coordinate and the quantity Count_pixceli of Sum_yi and effective pixel points, draws center of gravity Xgi, the Ygi in effective light zone respectively divided by Count_pixceli divided by Count_pixceli, Sum_yi according to formula S um_xi.
More than show and described ultimate principle of the present invention, principal character and advantage.The technician of the industry should understand; The present invention is not restricted to the described embodiments; That describes in the foregoing description and the instructions just explains principle of the present invention; Under the prerequisite that does not break away from spirit and scope of the invention, the present invention also has various changes and modifications, and these variations and improvement all fall in the scope of the invention that requires protection.The present invention requires protection domain to be defined by appending claims and equivalent thereof.
Claims (5)
1. one kind infrared surround lighting filtering method is characterized in that: may further comprise the steps:
(1), after system start-up accomplishes, signal receiving device judges according to the restituted signal in the infrared reception amplifier whether sender unit has operational motion;
(2), when sender unit is not operated, the surround lighting gradation data that signal receiving device real-time storage image capture module is gathered;
(3), when sender unit has operation, effective light, surround lighting that signal receiving device collects image capture module and the real-time gradation data of depositing carry out each pixel with the surround lighting gradation data of having stored and compare one by one;
(4), when the real-time gradation data of a certain pixel in the step (3) during smaller or equal to the surround lighting gradation data of the same pixel of having stored, this pixel is by filtering;
(5), when the real-time gradation data of a certain pixel in the step (3) during greater than the surround lighting gradation data of the same pixel of having stored, this pixel is a valid pixel, writes down this pixel x coordinate and y coordinate;
(6), frame period of setting according to image capture module, should be in the frame period each valid pixel x coordinate be added to the X coordinate and add up and be added to the Y coordinate with, each valid pixel y coordinate and add up and, and the quantity of statistics valid pixel;
(7), draw center of gravity Xg, the Yg of effective spot area, these center of gravity data Xg, Yg transfer to host computer through signal receiving device, form corresponding operating through host computer through division arithmetic.
2. a kind of infrared surround lighting filtering method according to claim 1, it is characterized in that: said sender unit can send the 940nm wave band, the infrared pulse light of 38KHz frequency.
3. a kind of infrared surround lighting filtering method according to claim 2 is characterized in that: said signal receiving device can demodulation 940nm wave band, the infrared pulse light of 38KHz frequency.
4. a kind of infrared surround lighting filtering method according to claim 3 is characterized in that: when said sender unit did not have operation, signal receiving device did not have demodulation output, and restituted signal is a high level.
5. a kind of infrared surround lighting filtering method according to claim 4 is characterized in that: when said sender unit had operation, signal receiving device had demodulation output, and restituted signal is a low level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100808974A CN102663690A (en) | 2012-03-23 | 2012-03-23 | Infrared ambient light filtering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100808974A CN102663690A (en) | 2012-03-23 | 2012-03-23 | Infrared ambient light filtering method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102663690A true CN102663690A (en) | 2012-09-12 |
Family
ID=46773169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100808974A Pending CN102663690A (en) | 2012-03-23 | 2012-03-23 | Infrared ambient light filtering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102663690A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103488354A (en) * | 2013-10-10 | 2014-01-01 | 南京芒冠光电科技股份有限公司 | Mutual-control type synchronous electronic whiteboard system |
CN109697422A (en) * | 2018-12-19 | 2019-04-30 | 深圳市瑞立视多媒体科技有限公司 | Optics motion capture method and optics motion capture cameras |
CN112164003A (en) * | 2020-09-11 | 2021-01-01 | 珠海市一微半导体有限公司 | Method for acquiring laser image by mobile robot, chip and robot |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058203A1 (en) * | 2005-09-12 | 2007-03-15 | Kabushiki Kaisha Toshiba | System and method for generating low visibility multi-bit halftone |
CN101145091A (en) * | 2007-11-01 | 2008-03-19 | 复旦大学 | Touch panel based on infrared pick-up and its positioning detection method |
CN102023752A (en) * | 2009-09-11 | 2011-04-20 | 北京汇冠新技术股份有限公司 | Touch system and anti-light interference method thereof |
CN102184062A (en) * | 2011-06-14 | 2011-09-14 | 广州视睿电子科技有限公司 | Infrared touch system and control method thereof |
-
2012
- 2012-03-23 CN CN2012100808974A patent/CN102663690A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070058203A1 (en) * | 2005-09-12 | 2007-03-15 | Kabushiki Kaisha Toshiba | System and method for generating low visibility multi-bit halftone |
CN101145091A (en) * | 2007-11-01 | 2008-03-19 | 复旦大学 | Touch panel based on infrared pick-up and its positioning detection method |
CN102023752A (en) * | 2009-09-11 | 2011-04-20 | 北京汇冠新技术股份有限公司 | Touch system and anti-light interference method thereof |
CN102184062A (en) * | 2011-06-14 | 2011-09-14 | 广州视睿电子科技有限公司 | Infrared touch system and control method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103488354A (en) * | 2013-10-10 | 2014-01-01 | 南京芒冠光电科技股份有限公司 | Mutual-control type synchronous electronic whiteboard system |
CN103488354B (en) * | 2013-10-10 | 2016-03-16 | 南京芒冠科技股份有限公司 | The synchronous electric whiteboard system of a kind of intercontrolling |
CN109697422A (en) * | 2018-12-19 | 2019-04-30 | 深圳市瑞立视多媒体科技有限公司 | Optics motion capture method and optics motion capture cameras |
CN109697422B (en) * | 2018-12-19 | 2020-12-04 | 深圳市瑞立视多媒体科技有限公司 | Optical motion capture method and optical motion capture camera |
CN112164003A (en) * | 2020-09-11 | 2021-01-01 | 珠海市一微半导体有限公司 | Method for acquiring laser image by mobile robot, chip and robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111104910B (en) | Garbage delivery behavior supervision method and related products | |
US10293489B1 (en) | Control method and system, and cleaning robot using the same | |
CN102609093A (en) | Method and device for controlling video playing by using gestures | |
CN102918480A (en) | Active pointer attribute determination by demodulating image frames | |
CN102622138B (en) | Optical touch control positioning method and optical touch control positioning system | |
CN102216890A (en) | Touch input with image sensor and signal processor | |
CN203151686U (en) | Intelligent television of identifying remote controller via gestures | |
CN203012636U (en) | Man-machine interactive system based on laser projection positioning | |
CN103019385A (en) | Infrared-based three-dimensional (3D) gesture recognition controller and realization method | |
CN102663690A (en) | Infrared ambient light filtering method | |
CN107885090A (en) | To the food image shooting environmental adjusting means and method in pan | |
CN106598356A (en) | Method, device and system for detecting positioning point of input signal of infrared emission source | |
CN103019374A (en) | Object tracking-based remote control system | |
CN101290711A (en) | Remote controlling device, pointing interactive system and cursor control method | |
CN109697422B (en) | Optical motion capture method and optical motion capture camera | |
CN201413506Y (en) | Image trapping positioning device | |
CN104378681A (en) | Self-adaptive control method of smart television | |
CN104216637A (en) | Method and system for controlling spliced large screen by identifying light spot tracks | |
CN201796348U (en) | Touch screen adopting wireless way for transmitting data | |
CN103914186A (en) | Image location recognition system | |
CN201035753Y (en) | Remote controller and direction interactive system | |
CN202548758U (en) | Interactive projection system | |
CN105067044A (en) | Rice field monitoring system | |
CN112989933A (en) | Oil smoke concentration identification method and system, electronic equipment and storage medium | |
CN211236931U (en) | FPGA-based video gesture recognition intelligent home control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120912 |