CN108052213A - A kind of method for indicating position, apparatus and system - Google Patents
A kind of method for indicating position, apparatus and system Download PDFInfo
- Publication number
- CN108052213A CN108052213A CN201711166320.4A CN201711166320A CN108052213A CN 108052213 A CN108052213 A CN 108052213A CN 201711166320 A CN201711166320 A CN 201711166320A CN 108052213 A CN108052213 A CN 108052213A
- Authority
- CN
- China
- Prior art keywords
- photographs
- indicating positions
- indicating
- display screen
- image
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/54—Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Abstract
The present embodiments relate to a kind of method for indicating position, apparatus and systems.The described method includes obtain photographs;At least two positional markers included by position instruction region are identified in photographs;It obtains at least two positional markers and identifies the position in photographs, so that it is determined that an indicating positions in photographs;According to the indicating positions in identified photographs, with reference to the dimension information of photographs and the dimension information in position instruction region, the indicating positions in position instruction region is determined.The embodiment of the present invention can realize remote absolute coordinate positioning, and there is no operation blind areas.
Description
Technical field
The present invention relates to technical field of intelligent interaction, and in particular to a kind of method for indicating position, apparatus and system.
Background technology
In existing computer interactive system, most commonly used equipment is traditional mouse, but it must pass through
It slides to generate on some surface as moving, detects to change into the movement of the cursor on display device, operator by computer
Need to be operated on the operating surface of specific position, need operator leave the table explanation when it is particularly inconvenient.
The invention of sky mouse equipment allows user, using mouse, to utilize gyroscope principle not on some plane is confined to
Design, user can be held using mouse, the variation of six internal axis or nine axis gyroscopes and G-SENSOR sensing gestures, meter
The space tracking of sky mouse equipment is calculated, and realizes the function of mouse, by moving mouse in the air, the cursor on screen is controlled to do
It moves up and down.But traditional sky mouse equipment can not realize absolute fix, experience property is poor.
At present, reporting, in teaching process, interpretation staff more and more coordinates explanation content to be referred to using laser pen
Show, laser pen can one luminous point of projection or a light direction object.Laser pen is also known as laser designator, is swashed visible
Light is designed to the pen type transmitter that portable, hand is easily held, laser module (light emitting diode) is processed into.Common laser designator has
Feux rouges (λ=650~660nm, 635nm), green light (λ=515-520nm, 532nm), blue light (λ=445~450nm) and royal purple
Light (λ=405nm) etc..In general, the apparent brightness that laser pen irradiates luminous point depends on the power of laser and the surface of object
Reflectivity.When using intelligent interaction tablet terminal equipment, due to the full transmitting of the skin glass of display screen, cause laser pen
Cursor can not show or brightness is too low, instruction can not be played the role of.
The content of the invention
To solve the above problems, realizing the accurate positionin of instruction point, instruction point is clearly showed that, the embodiment of the present invention provides
A kind of method for indicating position, including:
Image acquisition step:Obtain photographs;
Positional markers identification step:At least two positions mark included by position instruction region is identified in photographs
Know object;
First determines step:Position of at least two positional markers in photographs is obtained, so that it is determined that taking the photograph
An indicating positions in shadow image;
Second determines step:According to the indicating positions in identified photographs, with reference to the dimension information of photographs
With the dimension information in position instruction region, the indicating positions in position instruction region is determined.
Further, in image acquisition step, photographs is obtained in real time, and photographs includes all or part of position
The image of indicating area, and graph of the photographs for the photographs of original scale or on display screen scaling
Picture.
Further, first determine step in, the coordinate (x1, y1) of each position marker, (x2, y2) ... (xn,
Yn in), n is the integer more than or equal to 2,
Determine indicating positions coordinate (x0, y0) in photographs for ((x1+x2+ ...+xn)/n, (y1+y2+ ...+
yn)/n);Alternatively, choose the horizontal seat that numerical value minimum and maximum abscissa xmax, xmin determine the indicating positions in photographs
X0 is marked, chooses the ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs, by
Indicating positions coordinate (x0, y0) in this definite photographs is ((xmax+xmin)/2, (ymax+ymin)/2).
Further, second determine step in, in photographs, determine in photographs indicating positions coordinate (x0,
Y0) on centrosymmetric position coordinates (x0', y0') of photographs central point;
The described position coordinates (x0', y0') in photographs, determines the indicating positions in position instruction region
(x, y), wherein, x=x0'L2/L1, y=y0'W2/W1, L1 are the lateral dimension of the photographs, and L2 refers to for position
Show the lateral dimension in region, W1 is the longitudinal size of the photographs, and W2 is the longitudinal size in position instruction region.
Further, the position instruction region is display screen, and the size of the photographs is the resolution dimensions of image,
The size in position instruction region is the resolution dimensions of display screen.
The embodiment of the present invention also provides a kind of position indicator, including image acquisition component, positional markers identification part
Part, first determine that component and second determines component, wherein:
Image acquisition component is used to obtain photographs;
Positional markers identification component is used to identify at least two included by position instruction region in photographs
Positional markers;
First determines component for obtaining position of at least two positional markers in photographs, so that it is determined that
An indicating positions in photographs;
Second determines that component for the indicating positions in identified photographs, is believed with reference to the size of photographs
Breath and the dimension information in position instruction region, determine the indicating positions in position instruction region.
Further, image acquisition component obtains photographs in real time, and photographs includes all or part of position instruction
The image in region, and photographs of the photographs for the photographs of original scale or on display screen scaling.
Further, first determine component the coordinate (x1, y1) of each position marker, (x2, y2) ... in (xn, yn),
N is the integer more than or equal to 2, and first determines that component determines that the indicating positions coordinate (x0, y0) in photographs is ((x1+x2
+ ...+xn)/n, (y1+y2+ ...+yn)/n);
Alternatively, choose the horizontal stroke that numerical value minimum and maximum abscissa xmax, xmin determine the indicating positions in photographs
Coordinate x0 chooses the ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs,
Indicating positions coordinate (x0, y0) in the photographs thereby determined that is ((xmax+xmin)/2, (ymax+ymin)/2).
Further, determine that component in photographs, determines the indicating positions coordinate (x0, y0) in photographs second
On centrosymmetric position coordinates (x0', y0') of photographs central point;The described position in photographs is sat
It marks (x0', y0'), determines the indicating positions (x, y) in position instruction region, wherein, x=x0'L2/L1, y=y0'W2/
W1, L1 are the lateral dimension of the photographs, and L2 is the lateral dimension in position instruction region, and W1 is the vertical of the photographs
To size, W2 is the longitudinal size in position instruction region.
The embodiment of the present invention also provides a kind of Position Indicator System, refers to including camera shooting instruction equipment and display device, camera shooting
Show that the display screen of equipment towards display device carries out position instruction, wherein:
Multiple positional markers are set on the display screen periphery of display device;
Image includes all or part of display screen pointed by the camera captured in real-time camera shooting instruction equipment of instruction equipment
The photographs of image, the camera are the cameras of fixed-focus or zoom;
The microprocessor imaged in instruction equipment and/or display device performs the above method;
Indicating positions information of the display screen of display device based on camera shooting instruction equipment in display screen, carries out image and shows
Show.
The embodiment of the present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, the calculating
The step of above method is realized when machine program is executed by processor.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
The step of computer program, the processor realizes the above method when performing described program.
Method for indicating position, the apparatus and system of the embodiment of the present invention can realize remote absolute coordinate positioning, and not
In the presence of operation blind area.
Description of the drawings
Fig. 1 is the structure diagram of the Position Indicator System of the application camera shooting instruction equipment of the embodiment of the present invention;
Fig. 2 is the flow chart using the method for indicating position of the Position Indicator System of the embodiment of the present invention;
Fig. 3 a, Fig. 3 b are the camera shooting instructions in the method for indicating position of the Position Indicator System of the application embodiment of the present invention
The camera of equipment obtains in real time includes the whole, photographs of part display screen;
Fig. 4 a, 4b, 4c are the camera shooting instructions in the method for indicating position of the Position Indicator System of the application embodiment of the present invention
Mapping relations between direction indicating positions of the point "×" in photographs of equipment and its display location on a display screen are shown
It is intended to;
Fig. 5 is in the method for indicating position of the Position Indicator System of the application embodiment of the present invention, images instruction equipment
The need that camera obtains in real time carry out the photographs of keystone;
Fig. 6 is a kind of flow chart of method for indicating position of the embodiment of the present invention.
Specific embodiment
Understand to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
Attached drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in attached drawings and following reality
Apply example.
As shown in Figure 1, the Position Indicator System of the embodiment of the present invention includes camera shooting instruction equipment and display device.
Display device includes first microprocessor, receiving unit and display screen, is set on the display screen periphery of display screen
There are multiple luminescent devices, the light of specific frequency can be emitted.Receiving unit is used to receive to image from camera shooting instruction equipment to indicate to set
Indicating positions information of the standby direction point in display screen, and it is sent to first microprocessor.First microprocessor is based on camera shooting
Indicating positions information of the direction point of instruction equipment in display screen, carries out the direction point of camera shooting instruction equipment on a display screen
Image display.
The luminescent device is preferably located on the frame of display screen, and non-visible light luminescent device can be used, such as infrared
Transmitter.
The display area of display is preferably rectangle, it will be appreciated by a person skilled in the art that it can be included
Any rule or irregular shape including circle, can be at every of oblong display screen when display area is rectangle
One luminescent device is at least set on frame.
Imaging instruction equipment includes the second microprocessor, camera and transmitting element, and camera, transmitting element and second are micro-
Processor connects.The graph that includes all or part of display image of the camera pointed by for shooting camera shooting instruction equipment
Picture, and captured photographs is sent to the second microprocessor in real time, the camera are taking the photograph for fixed-focus or zoom
As head, the photographs of fixed focal length can be shot, can also be needed to adjust focal length according to positioning, to the picture of photographs into
Row scaling so that photographs can include more luminous points or so that the movement for being directed toward point on display screen is not excessively clever
It is quick;Second microprocessor is according to the photographs for including all or part of display image received from camera, described in identification
The luminous point of at least two luminescent devices of display device in photographs determines the direction point of camera shooting instruction equipment in graph
An indicating positions as in reference to the dimension information of photographs and the dimension information of display screen, determines camera shooting instruction equipment
Indicating positions of the direction point in display screen, and identified indicating positions information is sent to display by transmitting element and is set
It is standby.
Using the luminous point of luminescent device as positional markers in the present embodiment, those skilled in the art can also know
Road can also set the mark point such as particular color, position mark object readily identified phosphor dot.
Also, the luminous point in the second microprocessor identification photographs of instruction equipment in the present embodiment, is imaged, into
And determine indicating positions of the direction point of camera shooting instruction equipment in display screen, it will be appreciated by a person skilled in the art that above-mentioned
Data handling procedure also can by the first microprocessor of display device perform or by display device first microprocessor and take the photograph
As the second microprocessor of instruction equipment is completed jointly, respectively a part is performed.
In addition, camera shooting instruction equipment can also include RF units, for emitting specific band under control of the microprocessor
Instruction light beam, so as to be used as laser pen.
With reference to Fig. 2, the method for indicating position using the Position Indicator System of the embodiment of the present invention comprises the following steps:
Step 1:The screen size information that instruction equipment obtains display device is imaged, it is follow-up so as to effectively carry out
The conversion of indicating positions information/coordinate, preferred screen size information is the resolution dimensions of display screen.
Step 2:It images instruction equipment and is directed toward display screen, imaging the camera captured in real-time of instruction equipment includes whole or portion
Divide the photographs of display image.
As shown in Fig. 3 a, 3b, a luminescent device is set respectively on each edge frame inside of oblong display screen 2.Fig. 3 a
In, display screen 2 is entirely fallen in the camera watch region 1 of camera, and the luminous point of four luminescent devices is included in camera watch region 1
31、32、33、34.In Fig. 3 b, part display screen 2 is dropped into the camera watch region 1 of camera, and camera is shot less than display screen 2
Left field, be only shown in there are three the luminous point 32,33,34 of luminescent device in camera watch region 1.
It is corresponding with Fig. 3 a, Fig. 3 b, for the method for the embodiment of the present invention, there is also in camera watch region 1 only there are two
The situation of the luminous point of luminescent device.
Show a case that photographs for the fixed proportion on display screen in Fig. 3 a, Fig. 3 b.
Preferably, photographs can also be the photographs of scaling.In the case, by being taken the photograph on display screen diminution
Shadow image so that more luminous points can be included in photographs, so as to improve the accuracy of positioning;By on display screen
Macrophotography image so that the movement of the direction point on display screen will not be excessively sensitive.
Step 3:According to the photographs for including all or part of display image received from camera, camera shooting instruction is set
The second standby microprocessor identifies the luminous point of the luminescent device of display device in the photographs, determines camera shooting instruction equipment
Indicating positions information/coordinate (x0, y0) of the direction point in photographs.
In the specific implementation of the embodiment of the present invention, as shown in Figure 3a, camera captures shining for 4 LED light
Point 31,32,33,34.Coordinate system is built with resolution ratio of camera head size, for example, resolution ratio of camera head is 1920 × 1080, is then taken the photograph
The entire length size of shadow image is 1920, width dimensions 1080, and luminous point 31,32,33,34 is corresponding on photographs
Coordinate is (x1, y1), (x2, y2), (x3, y3) and (x4, y4) respectively, in four coordinates, chooses minimum and maximum horizontal seat
Mark abscissa x0, x0=(x1+ that x3 and x1 calculates indicating positions of the direction point "×" of camera shooting instruction equipment in photographs
X3)/2, choose minimum and maximum ordinate y2 and y4 and calculate the direction point "×" of camera shooting instruction equipment in photographs
The ordinate y0, y0=(y2+y4)/2 of indicating positions thereby determine that the direction point "×" of camera shooting instruction equipment in photographs
Indicating positions coordinate be ((x1+x3)/2, (y2+y4)/2).
In another embodiment of the present invention, as shown in Figure 3b, camera capture 3 LED light luminous point 32,
33、34.Coordinate system is built with resolution ratio of camera head size, the corresponding coordinate on photographs of luminous point 32,33,34 is respectively
(x2, y2), (x3, y3) and (x4, y4), in three coordinates, choose minimum and maximum abscissa x3 and x2 (it is assumed that x2≤
X4 the abscissa x0 of indicating positions of the direction point "×" of camera shooting instruction equipment in photographs) is calculated, then x0=(x2+
X3)/2, choose minimum and maximum ordinate y2 and y4 and calculate the direction point "×" of camera shooting instruction equipment in photographs
The ordinate y0, y0=(y2+y4)/2 of indicating positions thereby determine that the direction point "×" of camera shooting instruction equipment in photographs
Indicating positions coordinate be ((x2+x3)/2, (y2+y4)/2).
(not shown) in yet another embodiment of the present invention, camera capture the luminous point 33,34 of 2 LED light.With
Resolution ratio of camera head size build coordinate system, the corresponding coordinate on photographs of luminous point 33,34 be respectively (x3, y3) and
(x4, y4) can equally determine that indicating positions coordinate of the direction point "×" of camera shooting instruction equipment in photographs is ((x3+
X4)/2, (y3+y4)/2).
As a result, when camera captures the luminous point of more than two luminescent devices, in the luminous point of each luminescent device
Coordinate (x1, y1), (x2, y2) ... in (xn, yn) (n be integer) more than or equal to 2, it is maximum and most that numerical value can be chosen
Small abscissa xmax and xmin calculates the abscissa x0 of indicating positions of the direction point of camera shooting instruction equipment in photographs,
It chooses numerical value minimum and maximum ordinate ymax and ymin and calculates finger of the direction point of camera shooting instruction equipment in photographs
Show the ordinate y0 of position, thereby determine that camera shooting instruction equipment direction point in photographs indicating positions coordinate (x0,
Y0) it is ((xmax+xmin)/2, (ymax+ymin)/2).
It is interchangeable, can also by image instruction equipment direction point in photographs indicating positions coordinate (x0,
Y0) it is determined as ((x1+x2+ ...+xn)/n, (y1+y2+ ...+yn)/n).
Step 4:The second microprocessor of instruction equipment is imaged according to photographs size and the display screen ruler of display device
Very little information converts indicating positions information/coordinate (x0, y0) of the point in photographs that be directed toward of camera shooting instruction equipment,
It determines its display location information/coordinate (x, y) on a display screen, and its identified display location on a display screen is believed
Breath/coordinate (x, y) is sent to display device by transmitting element.
In Fig. 4 a, Fig. 4 b and Fig. 4 c, the first microprocessor for giving display device is set according to the camera shooting instruction received
Mapping relations between indicating positions of the standby direction point "×" in photographs and its display location on a display screen.Fig. 4 a
In, image direction indicating positions A of the point "×" in photographs of instruction equipment and its △ display location on a display screen
A';In Fig. 4 b, direction △ indicating positions B of the point "×" on photographs of instruction equipment and its on a display screen aobvious are imaged
Show position B';In Fig. 4 c, direction indicating positions C of the point "×" in photographs of instruction equipment is imaged with it on a display screen
△ display locations C'.
It should be noted that by indicating positions information/coordinate (x, y) in the definite display screen of coordinate conversion be based on
The relative coordinate of current photographs size, if (photographic device is with showing when photographs is the fixed proportion on display screen
Spacing between display screen immobilizes, and photographic device is without zoom), the coordinate conversion carries out in same coordinate system.
And as described in step 2, when employing the photographs of scaling, it is necessary to which the photographs based on scaling rebuilds coordinate
System, redefines indicating positions information/coordinate (x, y) in display screen in new coordinate system.
Specifically, the indicating positions information in photographs/coordinate (x0, y0) is carried out converting the finger in definite display screen
There are many ways to showing location information/coordinate (x, y), in a preferred embodiment of the invention, using following conversion method:
On photographs, determine that the indicating positions coordinate (x0, y0) is centrosymmetric on photographs central point
Point position coordinates (x0', y0');
According to the indicating positions coordinate (x0, y0) on centrosymmetric position coordinates of photographs central point
(x0', y0') calculates the display location coordinate (x, y) of the direction point of camera shooting instruction equipment on a display screen, wherein, x=
X0'L2/L1, y=y0'W2/W1, L1 are the lateral dimension of the photographs, and L2 is the lateral dimension of display screen, and W1 is
The longitudinal size of the photographs, W2 are the longitudinal size of display screen.Preferably, the size of the photographs is camera
Resolution dimensions, the size of display screen is the resolution dimensions of display screen.
Step 5:Display device receives the direction point of camera shooting instruction equipment aobvious by receiving unit from camera shooting instruction equipment
Display location information in display screen, is shown on a display screen.
Hereinafter, exemplified by carrying out PPT presentations, to the position instruction of the Position Indicator System of the application embodiment of the present invention
Method is illustrated.
Using the location indicating device of the embodiment of the present invention, PPT documents are played on the display device, and camera shooting instruction equipment obtains
Take the screen size information of display device, display device has the resolution dimensions of 3840*2160, camera shooting in the present embodiment
Instruction equipment can also obtain the position configuration information of the luminous point on display device.
User is directed toward display device during PPT presentations are carried out, by camera shooting instruction equipment, images instruction equipment
Camera captured in real-time include the photographs of all or part of display image.If display screen in the photographs of shooting
The deformation of image is more serious, as shown in Figure 5, it is necessary to be carried out according to the position configuration information of the luminous point on display device to it
Keystone is corrected to the state of Fig. 3 a.In this example it is shown that screen 2 is entirely fallen in the camera watch region 1 of camera,
Include the luminous point 31,32,33,34 of four luminescent devices in camera watch region 1.
According to from the photographs after the correction that camera receives, image described in the second microprocessor identification of instruction equipment
The luminous point of four luminescent devices of display device in photographs determines the direction point of camera shooting instruction equipment in photographs
Indicating positions coordinate.
Coordinate system is built with resolution ratio of camera head size 1024 × 768, the entire length size of photographs is 1024, wide
Spend size be 768, the corresponding coordinate on photographs of luminous point 31,32,33,34 be respectively (x1, y1), (x2, y2), (x3,
Y3) and (x4, y4), it is the pixel point coordinates of each luminous dot center, determines the direction point "×" of camera shooting instruction equipment in graph
Indicating positions coordinate as in is ((x1+x3)/2, (y2+y4)/2).
On photographs, the second microprocessor for imaging instruction equipment determines that the indicating positions coordinate (x0, y0) is closed
In centrosymmetric position coordinates (x0', y0') of photographs central point;According to the indicating positions coordinate (x0, y0) on
Centrosymmetric position coordinates (x0', y0') of photographs central point, the direction point for calculating camera shooting instruction equipment are being shown
Display location coordinate (x, y) on screen, wherein, x=x0'3840/1024, y=y0'2160/768, and by determined by
Display location coordinate (x, y) on a display screen is sent to display device by transmitting element.
Display device receives the direction point of camera shooting instruction equipment on a display screen by receiving unit from camera shooting instruction equipment
Display location coordinate (x, y), shown on a display screen.In the present embodiment, due to using pixel point coordinates, list
A pixel is difficult to play indicative function, so for clarity, when showing the direction point of camera shooting instruction equipment on a display screen,
The direction point for showing camera shooting instruction equipment is included in certain display area including display location coordinate (x, y).
Based on above-mentioned Position Indicator System and its method, as shown in fig. 6, the embodiment of the present invention also provides a kind of position instruction
Method, wherein, at least two positional markers, to be bound to photographs, position instruction are set on position instruction region
Region can be display screen, and the photophore of the light of multiple transmitting specific frequencies is set on the periphery of the display area of display screen
Part, as positional markers, general display screen is square, and a luminescent device is respectively set on each of which side.
As shown in fig. 6, it the described method comprises the following steps:
Image acquisition step:Photographs is obtained, it is preferred to obtain photographs in real time.In order to carry out subsequent position
Indicating means is put, photographs includes the image in all or part of position instruction region.
Positional markers identification step:At least two positions included on position instruction region are identified in photographs
Marker.In this step, image instruction equipment and be directed toward position instruction region, camera shooting instruction equipment obtain in real time include it is whole or
The photographs of portion indicating area image, and the photographs is for the photographs of original scale or on aobvious
The photographs of display screen scaling.
First determines step:It obtains at least two positional markers and identifies the position in photographs, so that it is determined that taking the photograph
An indicating positions in shadow image.Coordinate system is built according to photographs, determines identified at least two in a coordinate system
The coordinate of positional markers, and determine camera shooting instruction equipment in photographs according to coordinate of the positional markers in photographs
In indicating positions coordinate.
Specifically, the coordinate (x1, y1) of each position marker, (x2, y2) ... in (xn, yn), n be more than or equal to 2
Integer, choose the abscissa x0 that minimum and maximum abscissa xmax, the xmin of numerical value determines the indicating positions in photographs,
The ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs is chosen, thus really
Indicating positions coordinate (x0, y0) in fixed photographs is ((xmax+xmin)/2, (ymax+ymin)/2);Alternatively, it determines
Indicating positions coordinate (x0, y0) in photographs is ((x1+x2+ ...+xn)/n, (y1+y2+ ...+yn)/n).
Second determines step:According to the indicating positions in identified photographs, with reference to the dimension information of photographs
With the dimension information in position instruction region, the indicating positions in position instruction region is determined.
Specifically, in photographs, determine the indicating positions coordinate (x0, y0) in photographs in photographs
Position coordinates (x0', y0') is symmetrically put by heart dot center;The described position coordinates (x0', y0') in photographs, really
The indicating positions (x, y) in indicating area is put in positioning, wherein, x=x0'L2/L1, y=y0'W2/W1, L1 are the photography
The lateral dimension of image, L2 are the lateral dimension in position instruction region, and W1 is the longitudinal size of the photographs, and W2 is position
The longitudinal size of indicating area.
In a preferred embodiment of the invention, the position instruction region is display screen, and the size of the photographs is
The resolution dimensions of image, the size in position instruction region are the resolution dimensions of display screen.
The embodiment of the present invention also provides a kind of position indicator, including image acquisition component, positional markers identification part
Part, first determine that component and second determines component, wherein:
Image acquisition component is preferred to obtain photographs in real time for obtaining photographs.Described image obtaining widget
It can be the shooting parts such as camera, can also only be reception and the transmission part of photographs.It is subsequent in order to carry out
Method for indicating position, photographs include the image in all or part of position instruction region.
Positional markers identification component is used to identify at least two included by position instruction region in photographs
Positional markers.In this step, image instruction equipment and be directed toward position instruction region, the acquisition in real time of camera shooting instruction equipment includes complete
Portion or the photographs of portion indicating area image, and photographs or pass of the photographs for original scale
In the photographs of display screen scaling.
First determines that component identifies the position in photographs for obtaining at least two positional markers, so that it is determined that
An indicating positions in photographs.Coordinate system is built according to photographs, determines at least two identified in a coordinate system
The coordinate of a positional markers, and determine camera shooting instruction equipment in graph according to coordinate of the positional markers in photographs
Indicating positions coordinate as in.
Specifically, the coordinate (x1, y1) of each position marker, (x2, y2) ... in (xn, yn), n be more than or equal to 2
Integer, choose the abscissa x0 that minimum and maximum abscissa xmax, the xmin of numerical value determines the indicating positions in photographs,
The ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs is chosen, thus really
Indicating positions coordinate (x0, y0) in fixed photographs is ((xmax+xmin)/2, (ymax+ymin)/2);Alternatively, it determines
Indicating positions coordinate (x0, y0) in photographs is ((x1+x2+ ...+xn)/n, (y1+y2+ ...+yn)/n).
Second determines that component for the indicating positions in identified photographs, is believed with reference to the size of photographs
Breath and the dimension information in position instruction region, determine the indicating positions in position instruction region.
Specifically, in photographs, determine the indicating positions coordinate (x0, y0) in photographs in photographs
Position coordinates (x0', y0') is symmetrically put by heart dot center;The described position coordinates (x0', y0') in photographs, really
The indicating positions (x, y) in indicating area is put in positioning, wherein, x=x0'L2/L1, y=y0'W2/W1, L1 are the photography
The lateral dimension of image, L2 are the lateral dimension in position instruction region, and W1 is the longitudinal size of the photographs, and W2 is position
The longitudinal size of indicating area.
The embodiment of the present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, the calculating
The step of above method is realized when machine program is executed by processor.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
The step of computer program, the processor realizes the above method when performing described program.
It will be understood by those skilled in the art that in flow charts represent or logic described otherwise above herein and/or
Step for example, being considered the order list for the executable instruction for being used to implement logic function, may be embodied in and appoint
In what computer-readable medium, for instruction execution system, device or equipment (such as computer based system, including processor
System or other can be from instruction execution system, device or equipment instruction fetch and the system executed instruction) use or with reference to this
A little instruction execution systems, device or equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can be with
Comprising, store, communicate, propagate or transmit program and perform system for instruction execution system, device or equipment or with reference to these instructions
System, device or equipment and the device used.
The more specific example (non-exhaustive list) of computer-readable medium includes following:It is connected up with one or more
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or if necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, with hardware come realize in another embodiment, can be under well known in the art
Any one of row technology or combination thereof are realized:With for the logic gates to data-signal realization logic function
Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in combine in an appropriate manner.
More than, embodiments of the present invention are illustrated.But the present invention is not limited to the above embodiments.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in the guarantor of the present invention
Within the scope of shield.
Claims (10)
1. a kind of method for indicating position, which is characterized in that including:
Image acquisition step:Obtain photographs;
Positional markers identification step:At least two station location markers included by position instruction region are identified in photographs
Object;
First determines step:Position of at least two positional markers in photographs is obtained, so that it is determined that graph
An indicating positions as in;
Second determines step:According to the indicating positions in identified photographs, dimension information and position with reference to photographs
The dimension information of indicating area is put, determines the indicating positions in position instruction region.
2. method for indicating position as described in claim 1, which is characterized in that in image acquisition step, obtain photography in real time
Image, photographs includes the image in all or part of position instruction region, and the photographs is original scale
Photographs or the photographs on display screen scaling.
3. method for indicating position as described in claim 1, which is characterized in that in first determines step, identified in each position
The coordinate (x1, y1) of object, (x2, y2) ... in (xn, yn), n is the integer more than or equal to 2,
Determine indicating positions coordinate (x0, y0) in photographs for ((x1+x2+ ...+xn)/n, (y1+y2+ ...+yn)/
n);Alternatively, choose the abscissa that numerical value minimum and maximum abscissa xmax, xmin determine the indicating positions in photographs
X0 chooses the ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs, thus
Indicating positions coordinate (x0, y0) in definite photographs is ((xmax+xmin)/2, (ymax+ymin)/2).
4. method for indicating position as claimed in claim 3, which is characterized in that in second determines step, in photographs,
Determine the indicating positions coordinate (x0, y0) in photographs on centrosymmetric position coordinates of photographs central point
(x0',y0');
The described position coordinates (x0', y0') in photographs, determine in position instruction region indicating positions (x,
Y), wherein, x=x0'L2/L1, y=y0'W2/W1, L1 are the lateral dimension of the photographs, and L2 is position instruction area
The lateral dimension in domain, W1 are the longitudinal size of the photographs, and W2 is the longitudinal size in position instruction region.
5. the method for indicating position as described in one of claim 1-4, which is characterized in that the position instruction region is display
Screen, the size of the photographs are the resolution dimensions of image, and the size in position instruction region is the resolution ratio ruler of display screen
It is very little.
6. a kind of position indicator, which is characterized in that including image acquisition component, positional markers identification component, first really
Determine component and second and determine component, wherein:
Image acquisition component is used to obtain photographs;
Positional markers identification component is at least two positions included in the identification position instruction region in photographs
Marker;
First determines component for obtaining position of at least two positional markers in photographs, so that it is determined that photography
An indicating positions in image;
Second determines component for indicating positions in identified photographs, with reference to photographs dimension information and
The dimension information in position instruction region determines the indicating positions in position instruction region.
7. position indicator as claimed in claim 6, which is characterized in that image acquisition component obtains photographs in real time,
Photographs includes the image in all or part of position instruction region, and the graph that the photographs is original scale
Picture or the photographs on display screen scaling.
8. position indicator as claimed in claim 6, which is characterized in that first determines seat of the component in each position marker
Mark (x1, y1), (x2, y2) ... in (xn, yn), n is integer more than or equal to 2, and first determines that component is determined in photographs
Indicating positions coordinate (x0, y0) be ((x1+x2+ ...+xn)/n, (y1+y2+ ...+yn)/n);
Alternatively, choose the abscissa that numerical value minimum and maximum abscissa xmax, xmin determine the indicating positions in photographs
X0 chooses the ordinate y0 that numerical value minimum and maximum ordinate ymax, ymin determine the indicating positions in photographs, thus
Indicating positions coordinate (x0, y0) in definite photographs is ((xmax+xmin)/2, (ymax+ymin)/2).
9. position indicator as claimed in claim 8, which is characterized in that determine component in photographs second, really
Determine indicating positions coordinate (x0, y0) in photographs on centrosymmetric position coordinates of photographs central point (x0',
y0');The described position coordinates (x0', y0') in photographs, determine in position instruction region indicating positions (x,
Y), wherein, x=x0'L2/L1, y=y0'W2/W1, L1 are the lateral dimension of the photographs, and L2 is position instruction area
The lateral dimension in domain, W1 are the longitudinal size of the photographs, and W2 is the longitudinal size in position instruction region.
10. a kind of Position Indicator System, which is characterized in that including camera shooting instruction equipment and display device, camera shooting instruction equipment court
Position instruction is carried out to the display screen of display device, wherein:
Multiple positional markers are set on the display screen periphery of display device;
Image includes all or part of display image pointed by the camera captured in real-time camera shooting instruction equipment of instruction equipment
Photographs, the camera is the camera of fixed-focus or zoom;
Image method of the microprocessor execution as described in one of claim 1-5 in instruction equipment and/or display device;
Indicating positions information of the display screen of display device based on camera shooting instruction equipment in display screen, performs image display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711166320.4A CN108052213A (en) | 2017-11-21 | 2017-11-21 | A kind of method for indicating position, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711166320.4A CN108052213A (en) | 2017-11-21 | 2017-11-21 | A kind of method for indicating position, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108052213A true CN108052213A (en) | 2018-05-18 |
Family
ID=62119172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711166320.4A Pending CN108052213A (en) | 2017-11-21 | 2017-11-21 | A kind of method for indicating position, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108052213A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597530A (en) * | 2018-11-21 | 2019-04-09 | 深圳闳宸科技有限公司 | Show equipment and screen localization method |
CN116523738A (en) * | 2023-07-03 | 2023-08-01 | 腾讯科技(深圳)有限公司 | Task triggering method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07121293A (en) * | 1993-10-26 | 1995-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Remote controller accessing display screen |
JPH08335136A (en) * | 1995-06-08 | 1996-12-17 | Canon Inc | Device and method for detecting coordinate |
CN101128794A (en) * | 2005-01-12 | 2008-02-20 | 辛克光学公司 | Handheld vision based absolute pointing system |
CN101430625A (en) * | 2007-11-07 | 2009-05-13 | 夏普株式会社 | Display system and method for detecting pointed position |
CN107341991A (en) * | 2017-05-17 | 2017-11-10 | 广州视源电子科技股份有限公司 | Method for indicating position, operation device and display system for position instruction |
-
2017
- 2017-11-21 CN CN201711166320.4A patent/CN108052213A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07121293A (en) * | 1993-10-26 | 1995-05-12 | Nippon Telegr & Teleph Corp <Ntt> | Remote controller accessing display screen |
JPH08335136A (en) * | 1995-06-08 | 1996-12-17 | Canon Inc | Device and method for detecting coordinate |
CN101128794A (en) * | 2005-01-12 | 2008-02-20 | 辛克光学公司 | Handheld vision based absolute pointing system |
CN101430625A (en) * | 2007-11-07 | 2009-05-13 | 夏普株式会社 | Display system and method for detecting pointed position |
CN107341991A (en) * | 2017-05-17 | 2017-11-10 | 广州视源电子科技股份有限公司 | Method for indicating position, operation device and display system for position instruction |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597530A (en) * | 2018-11-21 | 2019-04-09 | 深圳闳宸科技有限公司 | Show equipment and screen localization method |
CN109597530B (en) * | 2018-11-21 | 2022-04-19 | 深圳闳宸科技有限公司 | Display device and screen positioning method |
CN116523738A (en) * | 2023-07-03 | 2023-08-01 | 腾讯科技(深圳)有限公司 | Task triggering method and device, storage medium and electronic equipment |
CN116523738B (en) * | 2023-07-03 | 2024-04-05 | 腾讯科技(深圳)有限公司 | Task triggering method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9998719B2 (en) | Non-planar surface projecting system, auto-calibration method thereof, and auto-calibration device thereof | |
US8294762B2 (en) | Three-dimensional shape measurement photographing apparatus, method, and program | |
US10091489B2 (en) | Image capturing device, image processing method, and recording medium | |
CN111345029B (en) | Target tracking method and device, movable platform and storage medium | |
US7092491B2 (en) | Radiation image taking apparatus, radiation image taking system, and radiation image taking method | |
CN109743505B (en) | Video shooting method and device based on laser ranging and electronic equipment | |
CN108283004B (en) | Measuring device, system, methods and procedures | |
JP2016100698A (en) | Calibration device, calibration method, and program | |
WO2023213311A1 (en) | Capsule endoscope, and distance measurement method and device for camera system | |
CN110232707A (en) | A kind of distance measuring method and device | |
CN111970454A (en) | Shot picture display method, device, equipment and storage medium | |
US20230328400A1 (en) | Auxiliary focusing method, apparatus, and system | |
CN105513074B (en) | A kind of scaling method of shuttlecock robot camera and vehicle body to world coordinate system | |
US20210093227A1 (en) | Image processing system and control method thereof | |
CN108052213A (en) | A kind of method for indicating position, apparatus and system | |
KR20120123174A (en) | Image processing apparatus, image processing system, and recording medium | |
US10641896B2 (en) | Distance measurement device, distance measurement method, and distance measurement program | |
CN113447128B (en) | Multi-human-body-temperature detection method and device, electronic equipment and storage medium | |
WO2021134219A1 (en) | Parameter calibration method and apapratus | |
CN101980299B (en) | Chessboard calibration-based camera mapping method | |
CN106204604A (en) | Projection touch control display apparatus and exchange method thereof | |
US10353070B2 (en) | Distance measurement device, distance measurement method, and distance measurement program | |
JP2020160808A (en) | Position detection method, position detection device, and interactive projector | |
US9842402B1 (en) | Detecting foreground regions in panoramic video frames | |
CN108563981A (en) | A kind of gesture identification method and device based on projector and camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |