CN102316272B - Remote controller control method, apparatus thereof and remote controller - Google Patents
Remote controller control method, apparatus thereof and remote controller Download PDFInfo
- Publication number
- CN102316272B CN102316272B CN201110272080.2A CN201110272080A CN102316272B CN 102316272 B CN102316272 B CN 102316272B CN 201110272080 A CN201110272080 A CN 201110272080A CN 102316272 B CN102316272 B CN 102316272B
- Authority
- CN
- China
- Prior art keywords
- image
- remote controller
- angle
- points
- index
- 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.)
- Expired - Fee Related
Links
Landscapes
- Studio Devices (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention is applied to the wireless control field, and provides a remote controller control method. The method comprises the following steps: acquiring an image containing two signalized points through a camera; calculating an angle of an included angle Theta between a connecting line of the two signalized points in the image and horizontal edges of the image; controlling a servo motor to control the camera to rotate an angle of Theta to enable the included angle between the connecting line of the two signalized points in the acquired image and the horizontal edges of the image to be zero. According to the invention, the servo motor connecting with the camera is installed in the remote controller to control the camera, the camera can adjust a horizontal angle of shooting according to rotation of the remote controller, thus a shot image always maintains a horizontal position, the shot image does not need to be subjected to mapping treatments such as rotation, shift, compression and the like, amount of calculation is reduced, and image processing precision is raised.
Description
Technical field
The invention belongs to wireless operated field, particularly relate to a kind of control method for remote controller, device and remote controller thereof.
Background technology
Along with the universal of DTV and the extensive popularization of interactive television business, the interactive mode of people and TV, towards diversified future development, makes the limitation of traditional touch-tone remote controller more and more obvious, has had a strong impact on the convenience of operation.
Existing mouse remote control technology can realize being controlled screen cursor by remote controller, thus reaches better man-machine interaction effect.A kind of mouse remote control technical scheme wherein as shown in Figure 1, it arranges the index point 12 of two non-visible lights (such as infrared light) at display screen 11 edge, because two index points 12 are located along the same line, when the remote controller 14 with camera 13 moves before display screen, based on image processing techniques, remote controller 14 is by judging the change in location of the place-centric of two index points 12 in the image that calculating camera 13 is taken in view picture shooting image, just can calculate the displacement of remote controller 14, and send corresponding displacement commands to the receiver being positioned at display screen end by transmitter, realize the control to screen cursor thus.
But, in above-mentioned solution, once after certain angle appearred in hand-held remote controller and horizontal direction, with regard to needs, corresponding mapping is carried out to shooting image.As shown in Figure 2, when angle a has appearred in remote controller and horizontal direction, then there is angle a in imaging surface and x-axis in xy coordinate system, now to need imaging surface rotation displacement, in x ' y ' coordinate system, to make its position level.Meanwhile, in order to make the imaging surface after rotation displacement all be positioned at processing region, being convenient to process, needing imaging surface to be mapped to x " y " in the region ABCD of a piece less, above-mentioned processing procedure not only computing is complicated, also reduces the processing accuracy of image simultaneously.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of remote controller, is intended to solve existing mouse remote control technical scheme computing complexity, the problem that image procossing precision is low.
The embodiment of the present invention is achieved in that a kind of control method for remote controller, and described method comprises:
The image including two index points is obtained by camera;
The angle of the line of two index points and the angle theta at image level edge in computed image;
Control Serve Motor Control camera and rotate θ angle on a vertical plane, until in the image obtained, line and the image level edge angle of two index points are zero.
Another object of the embodiment of the present invention is to provide a kind of remote controller control device, and described device comprises:
Image acquisition unit, for obtaining the image including two index points by camera;
First computing unit, for the angle of the line of two index points in computed image and the angle theta at image level edge;
Control unit, rotates θ angle on a vertical plane for controlling Serve Motor Control camera, until in the image obtained, line and the image level edge angle of two index points are zero.
Another object of the embodiment of the present invention is to provide a kind of remote controller, the servomotor that described remote controller comprises transmitter, camera and is connected with described camera, and described remote controller also comprises remote controller control device as above.
The embodiment of the present invention controls camera by installing the servomotor be connected with camera in remote controller, camera is enable automatically to adjust the level angle of shooting according to the rotation of remote controller, thus make shooting picture remain at horizontal level, the image taking out thus no longer needs to map process through over-rotation, displacement, compression etc., reduce operand, improve image procossing precision.
Accompanying drawing explanation
Fig. 1 is the mouse remote control scheme system schematic diagram that prior art provides;
Fig. 2 is that the mouse remote control scheme that prior art provides realizes schematic diagram;
Fig. 3 is the structure chart of the remote controller that first embodiment of the invention provides;
Fig. 4 is the realization flow figure of the control method for remote controller that second embodiment of the invention provides;
Fig. 5 is the realization flow figure of the control method for remote controller that third embodiment of the invention provides;
Fig. 6 is the structure chart of the remote controller control device that fourth embodiment of the invention provides.
Detailed description of the invention
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The embodiment of the present invention controls camera by installing the servomotor be connected with camera in remote controller, camera is enable automatically to adjust the level angle of shooting according to the rotation of remote controller, thus make shooting picture remain at horizontal level, the image taking out thus no longer needs through conversion computings such as over-rotation, displacement, compressions, reduce operand, improve image procossing precision.
Fig. 3 shows the structure of the remote controller that first embodiment of the invention provides, and for convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 3, this remote controller comprises camera 31, servomotor 32, transmitter 33 and remote controller control device 34, wherein:
Camera 31, it is positioned at the front end of remote controller, can by increasing visible filter to realize before the camera lens of common camera, by visible filter, filtering is carried out to natural daylight, make camera 31 can avoid the interference of visible ray preferably when carrying out image taking, shooting is positioned at the non-visible light index point at display screen edge better.
In the present embodiment, camera 31 is not fixing, but can be rotated on a vertical plane by the control of servomotor 32, and the display screen in the image photographed to enable camera 31 is positioned at horizontal level all the time.
Servomotor 32, it is connected with camera 31, rotating at remote controller end face for controlling camera 31 according to corresponding rotate instruction, to make camera 31 rotate according to the change of remote controller and horizontal level angle, thus shooting the image of gauge point line and image lower edge level.
Transmitter 33, in its screen produced by remote controller, the move of cursor is emitted to the receiver of TV set terminal, to realize the movement to cursor further.
In addition, in embodiments of the present invention, remote controller further comprises remote controller control device 34, and its concrete structure will be described in detail in subsequent embodiment, be not repeated herein.
Fig. 4 shows the realization flow of the control method for remote controller that second embodiment of the invention provides, and details are as follows:
In step S401, in real time, the image including two index points is obtained by camera.As another embodiment of this programme, also can judge whether remote controller is also moving by image procossing, when in less jitter range time, then be obtained the image including two index points by camera.
In step S402, the angle of the line of two index points and the angle theta at image level edge in computed image.
In step S403, control Serve Motor Control camera and rotate θ angle, make in the image obtained, line and the image level edge angle of two index points are zero.
In above-mentioned steps S402, after can passing through that the process such as binaryzation, filtering is carried out to the image photographed to the calculating of θ angle, obtained by the coordinate of two index points.As a preferred embodiment of the present invention, particularly, can first analyze the Pixel Information of this image, because two index points are non-visible light index point, therefore by visible light namely can easily get respectively two index points with image level edge for transverse axis, vertical edges edge is the coordinate in the coordinate system of the longitudinal axis, the slope of the straight line be linked to be by the coordinate of two index points, can calculate the angle theta angle at two index point lines and image level edge, this θ angle is the angle of now remote controller and horizontal level.
In the present embodiment, according to the image including two index points of camera shooting, pass through binaryzation, the line of two index points and the angle theta angle at shooting image level edge in the image processing techniques analysis chart pictures such as filtering, this θ angle is the line of two index points and the acute angle at shooting image level edge, thus calculate remote controller and horizontal level work as leading angle, and this angle information is sent to servomotor, controlling servomotor drives camera to rotate θ angle, make in the image obtained, line and the image level edge angle of two index points are zero, the image that camera is taken out is thus level, now when calculating the displacement of remote controller, do not need to carry out the process such as rotation to the image photographed, greatly reduce computational complexity.
Fig. 5 shows the realization flow of the control method for remote controller that third embodiment of the invention provides.This embodiment inherits the realization flow of second embodiment of the invention.Details are as follows for concrete steps:
In step S501, after camera rotates to horizontal level, obtained the image including two index points by camera.
In step S502, calculate the displacement of two index point mid points in this image.
In the present embodiment, according to the image including two index points of camera shooting, by the displacement of two index point mid points in the image processing techniques such as binaryzation, filtering analysis chart picture, thus calculate the current displacement of remote controller, particularly, can by after carry out the process such as binaryzation, filtering to the image photographed to the calculating of the displacement of two index point mid points, in the first image taken by front and back and the second image, the coordinate of two index point mid points obtains.As a preferred embodiment of the present invention, particularly, can first analyze the Pixel Information of this image, because two index points are non-visible light index point, therefore by visible light namely can easily get respectively two index point mid points with image level edge for transverse axis, vertical edges edge is the coordinate in the coordinate system of the longitudinal axis, by comparing the displacement of coordinate relative to the coordinate of two index point mid points in the first image of two index point mid points in the second image, the displacement of two index point mid points can be calculated, this displacement is the displacement of now remote controller.
In step S503, be the displacement of cursor in screen by this displacement map.
In the present embodiment, by arranging certain scale parameter, this scale parameter that is displaced through of the current remote controller obtained can be mapped as the displacement of cursor in screen, and final as cursor move.
Fig. 6 shows the structure of the remote controller control device that fourth embodiment of the invention provides, and for convenience of explanation, illustrate only part related to the present embodiment.
With reference to Fig. 6, this remote controller control device runs in the remote controller that first embodiment of the invention provides, and particularly, includes:
Image acquisition unit 61, in real time, obtains the image including two index points by camera.
As an other embodiment of the present invention, image acquisition unit 61 can also comprise shake judging unit, for judging that whether remote controller is also shake (or mobile), in time shaking in less scope, then obtains the image including two index points by camera.
First computing unit 62, the angle of the line of two index points and the angle theta at image level edge in computed image.
Control unit 63, control Serve Motor Control camera and rotate θ angle, make in the image obtained, line and the image level edge angle of two index points are zero.
Particularly, the first computing unit 62 includes:
First coordinate acquiring unit 621, obtains the coordinate information of two index points respectively according to the Pixel Information of this image.
Angle calcu-lation unit 622, calculates the angle of the angle theta at two index point lines and image level edge according to the coordinate information of two index points.
In the present embodiment, remote controller control device further comprises:
Second computing unit 64, the displacement of two index point mid points in computed image.
Described displacement map is the displacement of cursor in screen by map unit 65.
Particularly, the second computing unit 64 includes:
Second coordinate acquiring unit 641, obtains the coordinate information of two index point mid points in every width image according to the Pixel Information of image.
Displacement computing unit 642, calculates the displacement of two index point mid points according to the coordinate information of two index point mid points in two width images of front and back shooting.
The remote controller control device that fourth embodiment of the invention provides can be used in the control method for remote controller embodiment two and three of aforementioned correspondence, and details, see the associated description of the invention described above embodiment two and three, do not repeat them here.
The embodiment of the present invention controls camera by installing the servomotor be connected with camera in remote controller, camera is enable automatically to adjust the level angle of shooting according to the rotation of remote controller, thus make shooting picture remain at horizontal level, the image taking out thus no longer needs to map process through over-rotation, displacement, compression etc., reduce operand, improve image procossing precision.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. a control method for remote controller, is characterized in that, described method comprises:
When detecting that remote controller shake is in more among a small circle, included the image of two index points by camera acquisition;
The angle of the line of two index points and the angle theta at image level edge in computed image;
Control Serve Motor Control camera and rotate θ angle on a vertical plane, until in the image obtained, line and the image level edge angle of two index points are zero;
Wherein, in described computed image, the step of the angle of the line of two index points and the angle theta at image level edge specifically comprises:
The coordinate of two index points is obtained respectively according to the Pixel Information of this image;
The angle of the angle theta at two index point lines and image level edge is calculated according to the coordinate of two index points.
2. the method for claim 1, is characterized in that, described method also comprises:
The displacement of two index point mid points in computed image;
Be the displacement of cursor in screen by described displacement map.
3. method as claimed in claim 2, it is characterized in that, in described computed image, the step of the displacement of two index point mid points specifically comprises:
The coordinate information of two index point mid points in every width image is obtained according to the Pixel Information of image;
The moving displacement of two index point mid points is calculated according to the coordinate information of two index point mid points in two width images of front and back shooting.
4. a remote controller control device, is characterized in that, described device comprises:
Image acquisition unit, for when detecting that remote controller shake is in more among a small circle, includes the image of two index points by camera acquisition;
First computing unit, for the angle of the line of two index points in computed image and the angle theta at image level edge;
Control unit, rotates θ angle on a vertical plane for controlling Serve Motor Control camera, until in the image obtained, line and the image level edge angle of two index points are zero;
Wherein, described first computing unit comprises:
First coordinate acquiring unit, for obtaining the coordinate information of two index points respectively according to the Pixel Information of this image; Angle calcu-lation unit, for calculating the angle of the angle theta at two index point lines and image level edge according to the coordinate information of two index points.
5. device as claimed in claim 4, it is characterized in that, described device also comprises:
Second computing unit, for the displacement of two index point mid points in computed image;
Map unit, for being the displacement of cursor in screen by described displacement map.
6. device as claimed in claim 5, it is characterized in that, described second computing unit comprises:
Second coordinate acquiring unit, for obtaining the coordinate information of two index point mid points in every width image according to the Pixel Information of image;
Displacement computing unit, calculates the displacement of two index point mid points for the coordinate information of two index point mid points in the two width images taken according to front and back.
7. a remote controller, is characterized in that, the servomotor that described remote controller comprises transmitter, camera and is connected with described camera, and described remote controller also comprises the remote controller control device as described in any one of claim 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110272080.2A CN102316272B (en) | 2011-09-14 | 2011-09-14 | Remote controller control method, apparatus thereof and remote controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110272080.2A CN102316272B (en) | 2011-09-14 | 2011-09-14 | Remote controller control method, apparatus thereof and remote controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102316272A CN102316272A (en) | 2012-01-11 |
CN102316272B true CN102316272B (en) | 2015-04-29 |
Family
ID=45429051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110272080.2A Expired - Fee Related CN102316272B (en) | 2011-09-14 | 2011-09-14 | Remote controller control method, apparatus thereof and remote controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102316272B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724576A (en) * | 2012-05-08 | 2012-10-10 | 深圳Tcl新技术有限公司 | Method and device for controlling cursor movement by remote controller |
CN112995519B (en) * | 2021-03-26 | 2024-03-01 | 精英数智科技股份有限公司 | Camera self-adaptive adjustment method and device for water detection monitoring |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2777880Y (en) * | 2004-01-15 | 2006-05-03 | 英保达股份有限公司 | Automatic regulating system for image angle |
CN101472095A (en) * | 2007-12-26 | 2009-07-01 | 原相科技股份有限公司 | Cursor control method and device using the method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291396A (en) * | 2008-05-20 | 2008-10-22 | 武汉高端天目电子有限公司 | Visual remote controlled photographic device |
CN101511004A (en) * | 2009-03-25 | 2009-08-19 | 北京中星微电子有限公司 | Method and apparatus for monitoring camera shot |
-
2011
- 2011-09-14 CN CN201110272080.2A patent/CN102316272B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2777880Y (en) * | 2004-01-15 | 2006-05-03 | 英保达股份有限公司 | Automatic regulating system for image angle |
CN101472095A (en) * | 2007-12-26 | 2009-07-01 | 原相科技股份有限公司 | Cursor control method and device using the method |
Also Published As
Publication number | Publication date |
---|---|
CN102316272A (en) | 2012-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220222857A1 (en) | Camera calibration method, electronic device, storage medium, and road side device | |
CN201252615Y (en) | Control system for TV camera and cradle head in case of location shooting | |
CN101656873A (en) | System and method for controlling camera and holder in location shooting | |
CN103019375B (en) | A kind of cursor control method based on image recognition and system thereof | |
CN102722254B (en) | Method and system for location interaction | |
CN110489027B (en) | Handheld input device and display position control method and device of indication icon of handheld input device | |
CN104954671A (en) | Panorama camera shooting method and device | |
CN103593658A (en) | Three-dimensional space positioning system based on infrared image recognition | |
CN112288825A (en) | Camera calibration method and device, electronic equipment, storage medium and road side equipment | |
CN108038417A (en) | Cloud platform control method, apparatus and system | |
CN110880161B (en) | Depth image stitching and fusion method and system for multiple hosts and multiple depth cameras | |
CN102316272B (en) | Remote controller control method, apparatus thereof and remote controller | |
CN112308768B (en) | Data processing method, device, electronic equipment and storage medium | |
CN102508582B (en) | Optical touch calibration automatic adjusting method | |
CN102890821A (en) | Method and system for calibrating infrared camera | |
CN102984563A (en) | Intelligent remote controlled television system and remote control method thereof | |
CN102346484A (en) | Cloud deck equipment moving processing method and system | |
US20220044560A1 (en) | Roadside sensing method, electronic device, storage medium, and roadside equipment | |
CN206178701U (en) | Aerial mouse and infrared common positioner | |
CN105302310B (en) | A kind of gesture identifying device, system and method | |
US10459533B2 (en) | Information processing method and electronic device | |
CN109816723A (en) | Method for controlling projection, device, projection interactive system and storage medium | |
CN102289328A (en) | Human-computer interaction method and device based on handheld camera | |
CN102446035B (en) | Method and device for discriminating color of touch pen | |
CN209168073U (en) | A kind of contactless virtual touch control device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150429 Termination date: 20200914 |
|
CF01 | Termination of patent right due to non-payment of annual fee |