The system for controlling the touch-control of screen display content movement/switching
Technical field
The present invention relates to touch trajectory tracking technique field, particularly a kind of touch control method for being used to control Multimedia Mobile
And device.
Background technology
With the development of computer technology and digital image processing techniques, the interaction technique of large scale screen increasingly becomes
The emphasis of research.The currently control to large scale display screen by extraneous equipment, it is necessary to manipulate, than if desired for using
The external equipments such as mouse, keyboard, laser pen control the content of screen display.And people more and more need more certainly
So large screen is controlled.How not manipulate display surface by ancillary equipment and switch multimedia show content therein
It is the technical issues of current people are badly in need of solving.
The content of the invention
To solve the above-mentioned problems, what the present invention proposed a kind of touch-control for controlling screen display content movement/switching is
System and method.
The concrete scheme of the present invention is as follows:
A kind of system of the touch-control of control screen display content movement/switching, including display screen, for showing information;
Infrared laser array, for sending the surface of a lasing area covering display screen;Infrared camera, for gathering comprising entire
The image of display screen obtains the Background of display screen, and obtains the image of the display screen comprising contact;Processor is used
Show that information controls in the image that the processing infrared camera collects, and to the display screen, processor carries out
Following steps, step S1 obtain the real-time two field picture of display screen, and step S2 is obtained using obtained two field picture subduction Background
To foreground picture, step S3 obtains foreground picture binary conversion treatment binary map, and step S4 carries out binary map to ask for profile computing simultaneously
The profile of each contact is traveled through, step S5 positions contact according to the result of step S4;Step S6 is according to previous frame and works as
The coordinate difference of previous frame contact determines the moving direction of contact, so as to be moved to the multimedia messages shown in display screen
Dynamic or switching.
Preferably, the positioning of the contact is that analysis is identified and obtains according to contact coordinate, contact area information.
Preferably, the contact positioning is that effective contact is selected from all contacts in the step S4, described effective
Contact refers to centre coordinate position and area in predetermined scope.
Preferably, step S6 includes the following steps:Abscissa in contact coordinate in previous frame and present frame is carried out
Comparison judges that step S7 judges that contact moves to right when the abscissa of present frame is more than the abscissa of previous frame, step S8 processors
Control a multimedia content in screen display;Step S9 judges to touch when the abscissa of present frame is less than the abscissa of previous frame
Point moves to left, step S10 processors control lower multimedia content of screen display.
A kind of method of the touch-control system of control screen display content movement/switching, includes the following steps:Step S1 is red
Outer camera obtains the image of the display screen comprising contact in real time;Before step S2 is obtained using obtained two field picture subduction Background
Jing Tu, step S3 obtain foreground picture binary conversion treatment binary map, and binary map is carried out asking for profile computing and traveled through by step S4
The profile of each contact, step S5 position contact according to the result of step S4;Step S6 is according to previous frame and present frame
The coordinate difference of contact determines the moving direction of contact, so as to the multimedia messages shown in display screen are carried out it is mobile or
Switching.
Preferably, which is characterized in that the positioning of the contact is identified point according to contact coordinate, contact area information
Analysis obtains.
Preferably, step S6 includes the following steps:Abscissa in contact coordinate in previous frame and present frame is carried out
Comparison judges that step S7 judges that contact moves to right when the abscissa of present frame is more than the abscissa of previous frame, step S8 processors
Control a multimedia content in screen display;Step S9 judges to touch when the abscissa of present frame is less than the abscissa of previous frame
Point moves to left, step S10 processors control lower multimedia content of screen display.
Compared with prior art, the present invention it has the advantages that:
A kind of this programme proposed by the present invention can be good at realizing that user need to not directly utilize slip by other equipment
Finger stirs the data such as picture, video, completes the handover operation to multi-medium data, solves and be difficult to solve with other methods
The problem of.
Description of the drawings
Fig. 1 is a kind of system construction drawing of the touch control method of control Multimedia Mobile of the present invention;
Fig. 2 is a kind of computer flow chart of the touch control method of control Multimedia Mobile of the present invention
Specific embodiment
Technical scheme is further described below in conjunction with specific embodiment.It should be appreciated that it is described herein as
Specific embodiment be only used to explain the present invention, be not intended to limit the present invention.
The system construction drawing of the touch control method of the Multimedia Mobile of Fig. 1 present invention, Computer 101, in order to control screen
102 computer, Computer 101 can be more, and can be different control terminals;Display screen 102, display
The information provided by computer 101;Infrared laser array 103, for sending the surface of a lasing area cover screen 102;
Infrared camera 105 for gathering the image for including entire display screen 102, and gathers finger the touching to screen 102 of people
It touches;Processor 106 is connected with the infrared camera 105, for handling the image that the infrared camera 105 collects, and is divided
Analysis draws the control information of touch point 107;Wherein, processor 106 can be the processor in computer 101, or meter
The processor set up outside calculation machine.
The process flow for controlling the touch-control system of Multimedia Mobile is described with reference to Fig. 1, Fig. 2, first, this is touched
Control system is to get a lasing area using infrared laser array 103 to be covered in 102 surface of screen, then with infrared camera 105
Detect touch points 107 of the user to screen.Certain two field picture is gathered as Background, step S1 processors by the use of infrared camera 105
106 obtain real-time two field picture, and step S2 obtains foreground picture using obtained two field picture subduction Background, and step S3 is to foreground picture
Binary conversion treatment obtains binary map, and step S4 carries out binary map to ask for profile computing, and profile computing is asked to refer to using image
The method of processing draws the data such as the centre coordinate position of the touch points in binary map and area, and travels through institute in binary map
The profile of some touch points, step S5 is traveled through according to step S4 profiles carries out contact positioning, and contact positioning is from step S4
Effective touch points are selected in all touch points, since the centre coordinate position of effective touch points of user and area are predetermined models
In enclosing, therefore, the centre coordinate and area of touch points are interference or invalid touch points not within the predefined range, i.e. contact positions
It is that analysis is identified according to the information such as contact coordinate and contact area to obtain;Upper one obtained then according to infrared camera 105
Frame and the coordinate of present frame contact determine the moving direction of contact, for example, step S6 is by the contact in previous frame and present frame
Abscissa in coordinate carries out comparison judgement, and step S7 judges contact when the abscissa of present frame is more than the abscissa of previous frame
It moves to right, step S8 processors control screen 105 to show a upper multimedia content by computer 101;Step S9 works as present frame
Abscissa be less than previous frame abscissa when judge contact move to left, step S10 processors pass through computer 101 control screen
105 next multimedia content of display.Touch-control system contact motion result and multimedia content are associated as a result, if
Multimedia display to the left, is then switched to next content by the obtained contact direction of motion;If the obtained contact direction of motion to
Multimedia display is then switched to a upper content by the right side.The judgement of contact coordinate movement is not limited to the judgement moved left and right, also wraps
Include contact up and down, clockwise, the judgement that rotates counterclockwise, so as to reach based on the multimedia in optical touch interactive system into
The purpose of switching of row content, display content rotation.
In conclusion a kind of touch control method for controlling Multimedia Mobile proposed by the present invention, by infrared camera to people's
Touch is detected, and contact moving direction is analyzed in the positioning of identification contact, and solving the prior art must use mouse-keyboard external
The technical issues of equipment controls screen controls multimedia content by the direction of motion and motion state of analyzing contact
Switching and variation, solve the problems, such as insoluble with other methods.
Above embodiment is the preferred embodiment of the present invention, not thereby limits the patent protection model of the present invention
It encloses.Those skilled in the art belonging to any present invention, are not departing from the premise of spirit and scope disclosed in this invention
Under, the equivalent structure done to present disclosure and the conversion of equivalent step each fall within claimed the scope of the claims
Within.