CN108803895A - Coordinate determination method, device and equipment - Google Patents

Coordinate determination method, device and equipment Download PDF

Info

Publication number
CN108803895A
CN108803895A CN201810422075.7A CN201810422075A CN108803895A CN 108803895 A CN108803895 A CN 108803895A CN 201810422075 A CN201810422075 A CN 201810422075A CN 108803895 A CN108803895 A CN 108803895A
Authority
CN
China
Prior art keywords
coordinate
field
depth
default calibration
calibration point
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
Application number
CN201810422075.7A
Other languages
Chinese (zh)
Inventor
李加云
陈维亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810422075.7A priority Critical patent/CN108803895A/en
Publication of CN108803895A publication Critical patent/CN108803895A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

A kind of coordinate determination method of offer of the embodiment of the present invention, device and equipment, this method include:Detection is happened at the corresponding target depth of field coordinate in depth of field detection zone of the operation in view field;According to target depth of field coordinate between the depth of field coordinate of N number of default calibration point in view field at a distance from, M default calibration points are selected from N number of default calibration point, the coordinate value that M default calibration points correspond to same reference axis is not exactly the same, N>M, M >=2;According to the projection coordinate of a default calibration points of M and depth of field coordinate and target depth of field coordinate, aforesaid operations corresponding target projection coordinate in view field is determined.Since N is more than M, hence for for the operation that the different location of view field triggers, selected M default calibration points may be different, the projection coordinate for being unlikely to all operating positions is required for realizing using identical calibration point, so helps to improve the accuracy of projection coordinate's definitive result.

Description

Coordinate determination method, device and equipment
Technical field
The present invention relates to a kind of Internet technical field more particularly to coordinate determination method, device and equipment.
Background technology
The combination of micro projection and "smart" products has expedited the emergence of the electronic product of various micro- projection interactive class, as that can interact The products such as smart projector, projection speaker.For example, certain application that can will be shown in computer screen by smart projector The interface of program is projected to showing on the projection carrier such as such as desktop, wall, electronic whiteboard, to which user can be based on to throwing The touch control operation of projected picture in the domain of shadow zone and realize the interaction with the application program.
And the premise for completing above-mentioned interaction is to identify that user triggers the operating position of interactive operation in view field, That is operation projection coordinate corresponding in view field, wherein the view field, which can be considered as transverse and longitudinal coordinate, to be had centainly The projected coordinate system of ceiling restriction.
Currently, a kind of mode of the corresponding projection coordinate in determining user's operation position is:It is detected using infrared depth of field module The depth of field detection zone of depth of field coordinate corresponding to the operating position of user, hot outer depth of field module is overlapped with above-mentioned view field When, which can be used as the corresponding projection coordinate of the operating position.But in practical application, such as infrared depth of field mould Group is accidentally touched and is moved, and the condition that depth of field detection zone is overlapped with view field at this time is just difficult to meet so that The determination resultant error of projection coordinate corresponding with operation of the user in view field is larger.
Invention content
In view of this, the embodiment of the present invention provides a kind of coordinate determination method, device and equipment, to improve and user grasps Make the accuracy of the definitive result of corresponding projection coordinate.
In a first aspect, the embodiment of the present invention provides a kind of coordinate determination method, including:
Detection is happened at the operation in view field corresponding target depth of field coordinate, depth of field in depth of field detection zone Detection zone covers the view field;
According to the target depth of field coordinate between the depth of field coordinate of N number of default calibration point in the view field at a distance from, M default calibration points are selected from N number of default calibration point, the M default calibration points correspond to same reference axis Coordinate value is not exactly the same, N>M, M >=2;
According to the projection coordinate of a default calibration points of the M and depth of field coordinate and the target depth of field coordinate, institute is determined State operation corresponding target projection coordinate in the view field.
Second aspect, the embodiment of the present invention provide a kind of coordinate determining device, including:
Depth of field coordinate measurement module, it is corresponding in depth of field detection zone for detecting the operation being happened in view field Target depth of field coordinate, the depth of field detection zone cover the view field;
Point selection module is calibrated, for according to N number of default calibration point in the target depth of field coordinate and the view field Depth of field coordinate between distance, M default calibration points, the M default calibration points are selected from N number of default calibration point Not exactly the same, the N corresponding to the coordinate value of same reference axis>M, M >=2;
Projection coordinate's determining module, for according to the projection coordinate of a default calibration points of the M and depth of field coordinate and institute Target depth of field coordinate is stated, determines operation corresponding target projection coordinate in the view field.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor and memory, and the memory is used In storing one or more computer instruction, wherein real when one or more computer instruction is executed by the processor Coordinate determination method in existing above-mentioned first aspect.The electronic equipment can also include communication interface, for other equipment or Communication.
An embodiment of the present invention provides a kind of computer storage medias, for storing computer program, the computer journey The coordinate determination method in above-mentioned first aspect is realized when sequence makes computer execute.
N number of default calibration point is arranged in coordinate determination method provided in an embodiment of the present invention in view field in advance, and Measured in advance each presets depth of field coordinate and the projection coordinate of calibration point, this N number of default calibration point is used for follow-up practical application Projection coordinate corresponding to the operation of the determination of the operating position for the operation that middle user triggers in view field, i.e. user triggering It determines.Based on this, when user is when view field triggers certain operation, it is in depth of field detection zone that can be detected first by the depth of field Inside measure the corresponding depth of field coordinate of the operating position, referred to as target depth of field coordinate;In turn, according to target depth of field coordinate with it is N number of pre- If the distance between the depth of field coordinate of calibration point, M default calibration points, N are selected from N number of default calibration point>M≥2;To, The operation can be determined according to the projection coordinate of a default calibration points of M and depth of field coordinate and the target depth of field coordinate obtained The corresponding target projection coordinate in view field.
Since the number N of the pre-set default calibration point in view field is more than the projection for determining that certain operation is corresponding The number M of default calibration point needed for position, it is selected hence for for the operation that the different location of view field triggers M default calibration points may be different, that is to say, that for determining the default of the corresponding projection coordinate in different operation position Calibration point may be different, in this way, the accuracy of projection coordinate's definitive result is helped to improve, because compared to all operations The corresponding projection coordinate in position is required for for being determined using identical default calibration point, and the coordinate of default calibration point is reduced Influence of the error to the corresponding projection coordinate of all operating positions of determination.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of a kind of projected coordinate system and depth of field coordinate system;
Fig. 2 is the flow chart of coordinate determination method embodiment one provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram for the default calibration point being arranged in view field;
Fig. 4 is the flow chart of coordinate determination method embodiment two provided in an embodiment of the present invention;
Fig. 5 is the flow chart of coordinate determination method embodiment three provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of coordinate determining device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of electronic equipment corresponding with the coordinate determining device that embodiment illustrated in fig. 6 provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the" It is also intended to including most forms, unless context clearly shows that other meanings, " a variety of " generally comprise at least two, but not It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation of description affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as Fruit detect (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that commodity or system including a series of elements include not only those elements, but also include not clear The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that including the element commodity or system in also There are other identical elements.
In addition, the step sequential in following each method embodiments is only a kind of citing rather than considered critical.
Before introducing coordinate determination method provided in an embodiment of the present invention, first to arrived involved in subsequent embodiment some The basic principle that concept and coordinate determine illustrates.
View field, refer to smart projector, the intelligent projection device of projection speaker etc. projection carrier such as wall, Projection coverage area on desktop etc., that is to say, that the projected image that intelligent projection device is projected on projection carrier is shown in In the view field.The view field can be considered as to a projected coordinate system, only the transverse and longitudinal coordinate of the projected coordinate system (depending on the length of view field, width) is constrained with certain value range, alternatively, the view field can also be regarded For a region in projected coordinate system.Optionally, as shown in Figure 1, the coordinate origin of the projected coordinate system can be arranged at this Any of corresponding four vertex of view field, the length and width for being oriented parallel to or coinciding with the view field of reference axis Direction boundary line.
Depth of field detection zone refers to the such as infrared depth of field module of depth of field module area that can be detected on above-mentioned projection carrier Domain range, that is, the range that infrared signal can cover on projection carrier.Usually, in order to detecting that user is projecting The operation that position is triggered in region, depth of field detection zone cover view field, i.e. view field is located at depth of field detection zone It is interior or overlapped with depth of field detection zone.As shown in Figure 1, illustrating that the feelings that view field is located in depth of field detection zone in figure Shape.Similar with projected coordinate system, depth of field detection zone corresponds to depth of field coordinate system.The depth of field detection zone can be considered as scape Deep coordinate system, only the transverse and longitudinal coordinate of the depth of field coordinate system there is certain value range to constrain (according to depth of field detection zone Length, depending on width), alternatively, the depth of field detection zone can also be considered as to a region in depth of field coordinate system.It is optional Ground, as shown in Figure 1, the coordinate origin of the depth of field coordinate system can be arranged in corresponding four vertex of the depth of field detection zone Any one, the length and width direction boundary line for being oriented parallel to or coinciding with the depth of field detection zone of reference axis.
For the ease of subsequent calculating, as shown in Figure 1, the coordinate origin and reference axis of depth of field coordinate system and projected coordinate system The setting in direction can meet following condition:A certain position, corresponding position coordinates have phase in the two coordinate systems Same sign symbol, such as, it is assumed that the position corresponding coordinate in depth of field coordinate is (X1 ,-Y1), then it is in projection coordinate Corresponding coordinate is (X2 ,-Y2) in system.
In addition, determining the base in the corresponding projection coordinate of some operation of view field's internal trigger in the embodiment of the present invention Present principles are:For two points, the ratio of the difference of the difference of the abscissa value of depth of field coordinate and the abscissa value of projection coordinate For fixed constant, similarly, the ratio of the difference of the difference of the ordinate value of depth of field coordinate and the ordinate value of projection coordinate is also solid for this Permanent number.Wherein, depth of field coordinate is the corresponding coordinate under depth of field coordinate system, and projection coordinate is right under projected coordinate system The coordinate answered.Based on this, for projection coordinate to be asked, only it is to be understood that its corresponding depth of field coordinate and two known points Depth of field coordinate and projection coordinate, you can calculate the projection coordinate to be asked.
Fig. 2 is the flow chart of coordinate determination method embodiment one provided in an embodiment of the present invention, the coordinate in the present embodiment The method of determination can be executed by coordinate determining device, which can be arranged in depth of field module, or also may be used To be arranged in projection device, or it can also be arranged in the data-source device communicated to connect with projection device, wherein the number It is to provide data to projection device it is enabled to project the equipment in the data to projection carrier according to source device.As shown in Fig. 2, this method Include the following steps:
201, detection is happened at the corresponding target depth of field coordinate in depth of field detection zone of the operation in view field.
The detection of the target depth of field coordinate can be detected based on infrared depth of field module, the basic principle of the detection It is:Include infrared transmitter and infrared remote receiver in the infrared depth of field module, infrared emission constantly emits infrared signal, infrared to connect Device is received by calculating the infrared signal sent out back to the time difference of infrared remote receiver to obtain target depth of field coordinate, because of user When using finger trigger action in view field, the infrared signal at directive operating position.
202, at a distance from according to target depth of field coordinate between the depth of field coordinate of N number of default calibration point in view field, from N number of M default calibration points are selected in default calibration point, M default calibration points correspond to the incomplete phase of coordinate value of same reference axis Together, N>M, M >=2.
In the embodiment of the present invention, in order to ensure user's corresponding throwing in the view field in the operation that view field triggers The accuracy of shadow coordinate definitive result is preset in view field and is provided with multiple calibration points, referred to as N number of default calibration point, and And depth of field coordinate and the projection coordinate of each default calibration point are also predefined out.Wherein, the depth of field coordinate of the default calibration point It is discussed in detail in subsequent embodiment with the determination process of projection coordinate, wouldn't be unfolded to describe in the present embodiment.
Based on the basic principle of the determination projection coordinate of foregoing description, it is to be understood that this N number of default calibration point is being thrown Corresponding coordinate value is not exactly the same in the same reference axis of shadow coordinate system, for example corresponding each coordinate value is endless in X-axis Exactly the same, corresponding each coordinate value is not exactly the same in Y-axis, and similarly, this N number of default calibration point is in the same of depth of field coordinate system Corresponding coordinate value is also not exactly the same in reference axis.This is because if corresponding each coordinate value is complete in same reference axis It is identical, then can not preset that coordinate value of the calibration point in the reference axis calculate Dai Qiu projection coordinates based on these with the coordinate The corresponding reference axis of axis.
In an alternative embodiment, N number of default calibration point can be set at random in the view field, due to determine one A projection coordinate at least needs to use to two default calibration points, and therefore, N is at least 2.It is understood that as N=2, M =2.
But it when N values are 2, to determine the projection coordinate corresponding to any operation position in view field, all need to make Calibration point is preset with the two, and if the testing result of the depth of field coordinate of the two default calibration points has error, the error Can be brought into the calculating of the projection coordinate corresponding to all operating positions, therefore, in an alternative embodiment, N at least more than Or it is equal to 3, in this way, the determination of the corresponding projection coordinate in different operation position, which can only use part therein, presets calibration point, that It is unlikely to influence if even if presetting depth of field coordinate error error of calibration point with the presence of part in this N number of default calibration point The determination of the corresponding projection coordinate of all operating positions is as a result, it is understood that M=2 at this time in view field.
Based on this, work as N>When M, need to calculate target depth of field coordinate respectively between the depth of field coordinate of N number of default calibration point Distance, M default calibration points are selected from N number of default calibration point according to the distance.In an alternative embodiment, Ke Yicong Closer M default calibration points of depth of field coordinate distance target depth of field coordinate are selected in N number of default calibration point.In an alternative embodiment In, M farther out default calibration points of depth of field coordinate distance target depth of field coordinate can also be selected from N number of default calibration point.No Pipe is that chosen distance target depth of field coordinate is closer or M farther out default calibration points, it is emphasized that, the present invention is implemented Using the distance as the foundation of default calibration point selection in example, mainly there is provided one kind so that the corresponding throwing in different operation position It is different that calibration point is preset used in the determination of shadow coordinate.It certainly, usually, in practical applications, can chosen distance target scape Closer M default calibration points of deep coordinate, reason can be described in detail in subsequent embodiment.
Above-mentioned M default calibration points are corresponding to the not exactly the same reason of the coordinate value of same reference axis, with N number of default school It is on schedule the same corresponding to the not exactly the same reason of the coordinate value of same reference axis, it is not repeating.
In practical application, the value of M is generally 2 or 3.As M=3, these three default calibration points are under projected coordinate system The feature of coordinate value can show as:Assuming that these three default calibration points are respectively A, B and C, then there are two default calibration points For example the coordinate value of the X-coordinate axle of A and C is identical, the coordinate value phase of the Y-coordinate axle of other two default calibration point such as A and B Together.In this way, above-mentioned behaviour can be determined according to the depth of field coordinate of default calibration point A and C and projection coordinate and target depth of field coordinate Make the Y-coordinate value in corresponding projection coordinate, according to the depth of field coordinate of default calibration point A and B and projection coordinate and target scape Deep coordinate determines the X-coordinate value in the corresponding projection coordinate of aforesaid operations.
It to sum up, can be between the depth of field coordinate based on target depth of field coordinate and N number of default calibration point in an alternative embodiment Distance, N number of default calibration point is ranked up according to apart from ascending sequence, to, if the default calibration of front two Point is all different corresponding to the coordinate value of two reference axis, then can select the two default calibration points;If front two is default Calibration point correspond to some reference axis coordinate value it is different but corresponding to another reference axis coordinate value it is identical, as long as then coming the Three default calibration points correspond to the coordinate value of another reference axis and the first two presets calibration point and corresponds to another coordinate The coordinate value of axis is different, you can default calibration point of third position is selected before coming this.
In addition, when the value of N is excessive, when selection is corresponded to for carrying out some current operation from N number of default calibration point Projection coordinate when determining the M that is used default calibration points, it may be necessary to calculate the corresponding target depth of field coordinate difference of the operation The distance between depth of field coordinate of N number of default calibration point, it is possible to need n times to calculate, to be selected from N number of default calibration point Go out closer M default calibration points of depth of field coordinate distance target depth of field coordinate.Therefore, the value of N is needed in calculation amount and projection Compromise between coordinate accuracy, the half-way house is provided in subsequent embodiment of the present invention, is ensureing that projection coordinate is true While determining result accuracy, calculation amount is effectively reduced.
203, according to the projection coordinate of a default calibration points of M and depth of field coordinate and target depth of field coordinate, the behaviour is determined Make the corresponding target projection coordinate in view field.
Assuming that M=2, and assuming that the two the default calibration points selected are a and b, it is assumed that a is corresponding under projected coordinate system Projection coordinate be (Xa1, Ya1), a under depth of field coordinate system corresponding depth of field coordinate be (Xa2, Ya2), b is in projected coordinate system Under corresponding projection coordinate be (Xb1, Yb1), b corresponding depth of field coordinates under depth of field coordinate system are (Xb2, Yb2), and are assumed The operation is (Xc2, Yc2) in the corresponding target depth of field coordinate of depth of field detection zone, then the operation is corresponding in view field Target projection coordinate (Xc1, Yc1) can be determined according to following formula:
(Xa2-Xb2)/(Xa1-Xb1)=(Xa2-Xc2)/(Xa1-Xc1),
(Ya2-Yb2)/(Ya1-Yb1)=(Ya2-Yc2)/(Ya1-Yc1).
Target projection coordinate (Xc1, Yc1) is can be obtained by solving above-mentioned formula.
To sum up, by presetting multiple default calibration points in view field and predefining each in the embodiment of the present invention The depth of field coordinate of default calibration point and projection coordinate realize any operation triggered to user to preset calibration point based on these The determination of corresponding projection coordinate.Certain is determined since the number N of the pre-set default calibration point in view field is more than The number M of default calibration point needed for the corresponding projected position of operation, hence for the different location triggering in view field Operation for, selected M default calibration points may be different, that is to say, that for determining different operation position pair The default calibration point for the projection coordinate answered may be different, in this way, the accuracy of projection coordinate's definitive result is helped to improve, Because for the corresponding projection coordinate of all operating positions is required for determining using identical default calibration point, reduce Influence of the error of coordinate of default calibration point to the corresponding projection coordinate of all operating positions of determination.
It is mentioned in previous embodiment, N number of default calibration point is pre-set in view field, and measure each default calibration The projection coordinate of point and depth of field coordinate, for the projection in follow-up practical application corresponding to the operation of view field's triggering The determination of coordinate.In an alternative embodiment, above-mentioned N number of default calibration point can be randomly dispersed in view field, but Be, in order to further increase the projection coordinate in view field corresponding to the operation of any location triggered definitive result standard True property and calculation amount is reduced as possible, the embodiment of the present invention additionally provides a kind of setting of N number of default calibration point as shown in Figure 3 Mode.
As shown in figure 3, N number of default calibration point has carried out mesh generation to view field, it is at least divided into a grid, one As be multiple grids.It is understood that when being divided into a grid, N=4, this 4 default calibration points are rectangle Four vertex of view field.View field is divided into that two rows three arrange with 12 default calibration points six are illustrated that in Fig. 3 A grid.Optionally, carry out mesh generation to view field embodiment can realize based on shown in Fig. 4:
Fig. 4 is the flow chart of coordinate determination method embodiment two provided in an embodiment of the present invention, as shown in figure 4, can wrap Include following steps:
401, according to the dimension information of view field, N number of default calibration point is determined, N number of default calibration point is by view field It is divided at least one grid, N number of default calibration point corresponds to the vertex of at least one grid.
Wherein, N number of default calibration point is determined according to the dimension information of view field, is on the one hand to determine the numerical value of N, it is another Aspect is to determine installation position of the i.e. N number of default calibration point of the arrangement mode of N number of default calibration point in view field.
Wherein, it may include length, the width of view field in the dimension information, can also include display scale, that is, length and width Than.
In an alternative embodiment, N number of default calibration point can be determined according to the display scale, such as, it is assumed that display ratio Example is 4:3, then it can determine that N is 12, to which view field is divided into six grids that two rows three arrange, i.e., by four longitudinal edges Boundary line and three widthwise edge boundary lines intersect six grids constituted.
Certainly, when determining N number of default calibration point in conjunction with display scale, the area in conjunction with view field and division are also needed Whether the size of the grid gone out is suitable to determine N number of default calibration point.Since under same display scale, the face of view field Product is smaller, and the grid marked off is smaller, if the too small such as less than certain threshold value of grid, is unfavorable for calculation amount and projection coordinate Balance between definitive result accuracy, similarly, the area of view field are bigger, and the grid marked off is bigger, if grid Excessive such as less than certain threshold value, the balance being also unfavorable between calculation amount and projection coordinate's definitive result accuracy.
In an alternative embodiment, the size of each grid can also be preset, according to the dimension information of view field The grid of how many default sizes can be accommodated to determine the value of N and the arrangement mode of grid so that it is determined that N number of default school Installation position in view field on schedule.
402, in conjunction with the dimension information of view field, N number of corresponding projection coordinate of default calibration point is determined.
Here dimension information refers to the length and width of view field, assumes that the 1st default calibration point is as shown in Figure 3 The projection coordinate of the coordinate origin (0,0) of projected coordinate system, the 12nd default calibration point is the length and width of view field It is worth the coordinate value (l, w) constituted, l, w respectively represent the length and width of view field.
403, the N number of default calibration point of Projection Display, so that user clicks N number of default calibration point.
404, N number of default corresponding scape of calibration point is detected to the clicking operation of N number of default calibration point in response to user Deep coordinate.
In order to obtain the depth of field coordinate of N number of default calibration point, the view field of N number of default calibration point can will be equipped with Projection Display is carried out as an image, is exactly to show N number of default calibration point in view field in fact, allows the user to see Calibration point is preset to these, and then user is prompted to click each default calibration point successively, to detect each default calibration point pair The depth of field coordinate answered.
To sum up, theoretically, the number for presetting calibration point is more, the determination of the projection coordinate corresponding to the operation of user's triggering As a result more accurate.But due to when user clicks and presets depth of field coordinate of the calibration point to measure each default calibration point, user's Click location may have certain error i.e. user and just not click on default calibration point, so as to lead to certain portion There are certain errors for the depth of field coordinate of point default calibration point.And the error of the depth of field coordinate of default calibration point can be to projection coordinate Determination adversely affects, and is based on this, if the number of default calibration point is seldom such as 2, all behaviour of user's triggering Make corresponding projection coordinate and establish a capital needs really the two is used to preset calibration point, then depth of field of the two default calibration points are sat Target error can bring into the calculating of the corresponding projection coordinate of all operations, to influence the definitive result of all projection coordinates Accuracy.But on the contrary, if presetting the excessive of the number setting of calibration point, although even if wherein having the default calibration in part There are error, these errors are unlikely to influence the definitive result accuracy of all projection coordinates the depth of field coordinate of point, but default Calibration point number can not only increase the triviality of user's operation because user needs to click each default calibration point too much, can also make Calculation amount becomes larger, and influences calculating speed, since it is desired that being selected from all default calibration points for carrying out Current projection coordinate Determine required M default calibration points.Therefore, in practical application, need the dimension information reasonable set in conjunction with view field pre- If the number of calibration point, compromise between calculation amount and projection coordinate's definitive result accuracy.
In this way, carrying out mesh generation to view field by N number of default calibration point, and obtain N number of default calibration point After corresponding projection coordinate and depth of field coordinate, this N number of default calibration point can be based on and carry out user's practical operation behavior The determination of corresponding projection coordinate, referring to being discussed in detail in follow-up embodiment illustrated in fig. 5.In addition, embodiment illustrated in fig. 5 is also It provides while ensureing definitive result accuracy, reduces the processing scheme of calculation amount as possible.
Fig. 5 is the flow chart of coordinate determination method embodiment three provided in an embodiment of the present invention, as shown in figure 5, can wrap Include following steps:
501, detection is happened at the operation in view field corresponding target depth of field coordinate, depth of field in depth of field detection zone Detection zone covers view field.
502, at a distance from according to target depth of field coordinate between the depth of field coordinate of N number of default calibration point, from N number of default calibration point In select the adjacent three default calibration points of target depth of field coordinate, which corresponds to three of same grid Vertex.
In the present embodiment, based on to view field carry out mesh generation as a result, can be selected from N number of default calibration point Go out three default calibration points to carry out the determination of the target projection coordinate corresponding to the operation of active user's triggering, wherein this three A default calibration point between target depth of field coordinate at a distance from nearest, the i.e. depth of field of target depth of field coordinate and these three default calibration points At a distance from distance between coordinate is less than between the depth of field coordinate of other remaining default calibration points, in fact, these three default schools It is three vertex of the same grid on schedule.
In addition, based on mesh generation is carried out to view field using N number of default calibration point, if some grid corresponding four If a default calibration point has error, projection coordinate of the user corresponding to the operation of the grid internal trigger is only influenced whether really Determine precision, the determination of the projection coordinate without influencing whether other operating positions.
In an alternative embodiment, the grid that target depth of field coordinate is fallen into can be first determined, in turn, according to the target depth of field Coordinate between the depth of field coordinate of four default calibration points of the grid at a distance from, therefrom select with target depth of field coordinate distance most A close default calibration point, so select in the grid with two default calibration points that preset calibration point adjacent, thus Calibration point is preset to above three.
In an alternative embodiment, it can also obtain between target depth of field coordinate and the depth of field coordinate of N number of default calibration point Distance after, to the distance according to from small to large sequence sort, select front three preset calibration point, at this point, this three Default calibration point is three vertex corresponding to some grid.
In an alternative embodiment, in order to reduce the calculation amount needed for the process of these three default calibration points of selection, may be used also To select these three default calibration points according to such as under type:It is sat according to target depth of field coordinate and N1 abscissa mean value and N2 are vertical The magnitude relationship between mean value is marked, three default calibration points are selected from N number of default calibration point.
The meaning of N1 abscissa mean value and N2 ordinate mean value is first introduced first, then introduces three default calibration points Selection course:
After carrying out mesh generation to view field, the horizontal and vertical line of demarcation of grid respectively can be default by some Calibration point, and the lateral line of demarcation of grid is parallel to the X-axis of projected coordinate system, longitudinal line of demarcation is parallel to the Y of projected coordinate system Therefore axis for every lateral line of demarcation, can seek abscissa in the depth of field coordinate for multiple default calibration points that it is undergone The average value of value obtains the corresponding abscissa mean value in every transverse direction line of demarcation;It similarly, can be in the hope of for every longitudinal line of demarcation The average value for taking ordinate value in the depth of field coordinate of its multiple default calibration point undergone obtains every longitudinal line of demarcation and corresponds to Ordinate mean value.
That is, it is assumed that the result that view field carries out mesh generation indicates that these grids are by N1 longitudinal boundary Line and N2 lateral line of demarcation intersect composition, then will will produce N1 abscissa mean value and N2 ordinate mean value at this time. Wherein, there can be N2 default calibration points on grid line of demarcation longitudinally in each, it is horizontal in the depth of field coordinate of this N2 default calibration points The average value of coordinate value is and corresponding with the longitudinal grid line of demarcation as one in N1 abscissa mean value.Similarly, each horizontal There can be N1 default calibration points on grid line of demarcation, ordinate value is averaged in the depth of field coordinate of this N1 default calibration points It is worth as one in N2 ordinate mean value, and corresponding with the transverse grid line of demarcation.
After obtaining above-mentioned N1 abscissa mean value and N2 ordinate mean value, for every in N number of default calibration point A default calibration point can carry out following label processing:For any default calibration point, it is since this presets calibration point Therefore the intersection point in some transverse grid line of demarcation and some longitudinal grid line of demarcation can be corresponded to the longitudinal grid line of demarcation Abscissa mean value ordinate mean value corresponding with the transverse grid line of demarcation mark the default calibration point.
The above process is illustrated by taking Fig. 3 as an example, by the mesh generation result in Fig. 3 it is found that these grids correspond to There are four longitudinal grid lines of demarcation and three transverse grid lines of demarcation, it is assumed that the corresponding horizontal seat in four longitudinal grid lines of demarcation Marking mean value is:Xave1, Xave2, Xave3, Xave4;The corresponding ordinate mean value in three transverse grid lines of demarcation is:Yave1, Yave2, Yave3.Wherein, with Xave1For, it is the horizontal seat to the depth of field coordinate of these three default calibration points marked as 1,5,9 Scale value carries out being averaging what operation obtained, other abscissa mean values are similarly;With Yave1For, it is to marked as 1,2,3,4 The ordinate value of the depth of field coordinate of this four default calibration points carries out being averaging what operation obtained, other ordinate mean values are similarly. Thus, can be with (X by taking the default calibration point marked as 1 as an exampleave1, Yave1) calibration point is preset to this be marked.
As noted, it when carrying out the detection of depth of field coordinate of N number of default calibration point, is clicked for user default Click location when calibration point may have error, lead to may have part to preset calibration point in the N number of default calibration point measured There are errors for depth of field coordinate.For example, as shown in figure 3, theoretically, the abscissa of these three default calibration points marked as 1,5,9 Value should be identical, but actually due to the presence of above-mentioned error, the abscissa value of these three possible default calibration points is not complete It is exactly the same, at this point, carrying out operation of averaging by the abscissa value that these three are preset with calibration point, this is marked with abscissa mean value The abscissa of three default calibration points can play the role of reducing the error, because the mean value is more close to theoretical value (no There are the abscissa values of these three default calibration points when error).
In addition, reducing the error it is also ensured that can accurately be selected closest to target from N number of default calibration point Three default calibration points of depth of field coordinate are selecting three closest to target depth of field coordinate from N number of default calibration point Can be when default calibration point the cross being labeled based on each default calibration point, ordinate mean value and select.
In addition, in the present embodiment, above-mentioned average treatment is carried out to the depth of field coordinate of each default calibration point, it is above-mentioned with what is obtained Processing is marked to each default calibration point in abscissa mean value and ordinate mean value, and purpose also resides in reduction calculation amount, wherein should The reduction of calculation amount is primarily referred to as reducing selection during selecting three default calibration points from N number of default calibration point and handles Required calculation amount, is described as follows:
In fact, with target depth of field coordinate distance closest to three default calibration points include:With target depth of field coordinate Between nearest the first default calibration point of distance, abscissa value between the abscissa value of target depth of field coordinate at a distance from it is time close and vertical Coordinate value between the ordinate value of target depth of field coordinate at a distance from nearest the second default calibration point, abscissa value and the target depth of field Distance between the abscissa value of coordinate recently and ordinate value between the ordinate value of target depth of field coordinate at a distance from time close the Three default calibration points.It is understood that above-mentioned abscissa value, ordinate value are all the coordinate values in depth of field coordinate system.
For by taking Fig. 3 as an example, the stain in figure is operating position of the user in view field, it is assumed that its target depth of field Coordinate is:(x, y), it is assumed that target projection coordinate to be asked is (Ax, Ay).As can be seen from the figure:Between target depth of field coordinate Distance recently (i.e. abscissa value between the abscissa value of target depth of field coordinate at a distance from recently and ordinate value and the target depth of field Distance between the ordinate value of coordinate is nearest) the first default calibration point be default calibration point marked as 11;Abscissa value with Distance between the abscissa value of target depth of field coordinate time is close and ordinate value between the ordinate value of target depth of field coordinate at a distance from The second nearest default calibration point is the default calibration point marked as 10, between abscissa value and the abscissa value of target depth of field coordinate Distance recently and ordinate value between the ordinate value of target depth of field coordinate at a distance from time close third to preset calibration point be mark Number be 7 default calibration point.
By taking Fig. 3 as an example, the selection principle that above three presets calibration point is:When calculating Ax, axis of abscissas direction needs Selection meets two default calibration points of following condition:
Abscissa value between the abscissa value of target depth of field coordinate at a distance from recently and ordinate value and target depth of field coordinate Ordinate value between nearest the first default calibration point of distance;And
Abscissa value between the abscissa value of target depth of field coordinate at a distance from time close and ordinate value and target depth of field coordinate Ordinate value between nearest the second default calibration point of distance.
When calculating Ay, axis of ordinates direction needs two default calibration points for selecting to meet following condition:
Abscissa value between the abscissa value of target depth of field coordinate at a distance from recently and ordinate value and target depth of field coordinate Ordinate value between nearest the first default calibration point of distance;And
Abscissa value between the abscissa value of target depth of field coordinate at a distance from recently and ordinate value and target depth of field coordinate Ordinate value between time close third of distance preset calibration point.
Based on mentioned above principle, by taking Fig. 3 as an example, in the selection course for carrying out the default calibration point of above three:With target scape The abscissa value x of deep coordinate respectively with each abscissa mean value Xave1, Xave2, Xave3, Xave4Subtraction is carried out, obtains difference most Small and secondary two small abscissa mean values:Xave3, Xave2.Similarly, with the ordinate value y of target depth of field coordinate respectively with each vertical seat Mark mean value Yave1, Yave2, Yave3Subtraction is carried out, difference minimum and secondary two small ordinate mean values are obtained:Yave3, Yave2。 To labeled as minimum abscissa mean value Xave3With minimum ordinate mean value Yave3The default calibration point marked as 11 be it is above-mentioned First default calibration point;Labeled as secondary small abscissa mean value Xave2With minimum ordinate mean value Yave3The default school marked as 10 It is the above-mentioned second default calibration point on schedule;Labeled as minimum abscissa mean value Xave3With secondary small ordinate mean value Yave2Marked as 7 Default calibration point be above-mentioned third preset calibration point.
It can be seen that during the selection process, assume a total of N1+N2 horizontal, ordinate mean value, then only need with target Cross, the ordinate value of depth of field coordinate carry out N1+N2 subtraction and can be obtained three required default calibration points.Compared to need Calculate separately the meter needed for distance between target depth of field coordinate and the depth of field coordinate of a default calibration points of N (wherein, N=N1*N2) Calculation amount N1*N2, calculation amount substantially reduce.
Assume in the present embodiment:(xm, yi) is the depth of field coordinate of the advance first default calibration point, and (Axm, Ayi) is first The projection coordinate of default calibration point;(xn, yi) is the depth of field coordinate of the second default calibration point, and (Axn, Ayi) is the second default school Projection coordinate on schedule;(xm, yj) is the depth of field coordinate that third presets calibration point, and (Axm, Ayj) is that third presets calibration point Projection coordinate;(x, y) is target depth of field coordinate, and the above coordinate is all known, then can be calculated according to following steps 503 Target projection coordinate (Ax, Ay):
503, determine the operation in view field according to formula (xm-xn)/(Axm-Axn)=(xm-x)/(Axm-Ax) In corresponding target projection coordinate abscissa value Ax, and according to formula (yi-yj)/(Ayi-Ayj)=(yi-y)/(Ayi- Ay the ordinate value Ay of operation corresponding target projection coordinate in view field) is determined.
As shown from the above formula:
Ax=Axm- (Axm-Axn) * (xm-x)/(xm-xn);
Ay=Ayi- (Ayi-Ayj) * (yi-y)/(yi-yj).
It is worth noting that by taking the calculating of Ax as an example, selection uses (xm-x)/(Axm-Ax), that is, selects abscissa and mesh The default school that the default calibration point of the abscissa value difference minimum of depth of field coordinate is marked to be calculated, rather than selects difference time small Calculated on schedule, i.e., do not select (xn-x)/(Axn-Ax) on the right of the formula equal sign in step 503, be because:Pass through Ax= It is found that in final result of calculation, the part that can introduce error is for the formula of Axm- (Axm-Axn) * (xm-x)/(xm-xn) (Axm-Axn)/(xm-xn), that is, project abscissa value difference and the difference of depth of field abscissa value between ratio, and as with Error component be multiplied multiplication factor, necessarily the smaller amplification to error of numerical value is smaller, (xm-x) compared with (xn-x), Obviously the former numerical value is small, therefore the error value introduced is also small.One extreme example is exactly x=xm, i.e. the operation of user at this time Position is placed exactly on some default calibration point, then Ax=Axm, is just projection coordinate's value of the default calibration point.
504, determine that target projection is sat according to whether target projection coordinate (Ax, Ay) is located in the coverage area of view field Target validity.
In practical application, only user is only effectively in the operation of view field's internal trigger, therefore, is determining target throwing After shadow coordinate (Ax, Ay), it can be determined that the target projection coordinate (Ax, Ay) whether be located at view field coverage area in Determine the validity of target projection coordinate.If the target projection coordinate (Ax, Ay) is effectively located in view field, then carry out Normal follow-up process, whereas if the target projection coordinate (Ax, Ay) is in vain, then it is alternatively possible to which user is prompted this time to grasp It is invalid to make, or does not do any response, which can be provided by modes such as word, voices.
To sum up, through the embodiment of the present invention by projection coordinate determine scheme, ensureing and the operating position pair of user While the projection coordinate's definitive result answered has good accuracy, calculation amount can also be reduced, coordinate is improved and determines efficiency.
The coordinate determining device of one or more embodiments of the invention described in detail below.Those skilled in the art can To understand, the step of these coordinate determining devices can be used commercially available hardware component instructed by this programme configured come It constitutes.
Fig. 6 is a kind of structural schematic diagram of coordinate determining device provided in an embodiment of the present invention, as shown in fig. 6, the device Including:Depth of field coordinate measurement module 11, calibration point selection module 12, projection coordinate's determining module 13.
Depth of field coordinate measurement module 11, it is corresponding in depth of field detection zone for detecting the operation being happened in view field Target depth of field coordinate, the depth of field detection zone covers the view field.
Point selection module 12 is calibrated, for according to N number of default calibration in the target depth of field coordinate and the view field Distance between the depth of field coordinate of point selects M default calibration points, the M default calibrations from N number of default calibration point Point is not exactly the same corresponding to the coordinate value of same reference axis, N>M, M >=2.
Projection coordinate's determining module 13, for according to the projection coordinate of the M default calibration points and depth of field coordinate and The target depth of field coordinate determines operation corresponding target projection coordinate in the view field.
Optionally, the view field is divided at least one grid by N number of default calibration point.
Based on the mesh generation as a result, optionally, the calibration point selection module 12 can be used for:
According to the target depth of field coordinate between the depth of field coordinate of N number of default calibration point at a distance from, from described N number of pre- If selecting the adjacent three default calibration points of the target depth of field coordinate in calibration point, three default calibration points correspond to Three vertex of same grid.
Optionally, three default calibration points include:Nearest first is pre- at a distance between the target depth of field coordinate If calibration point, abscissa value between the abscissa value of the target depth of field coordinate at a distance from time close and ordinate value and the target The the second default calibration point of distance recently between the ordinate value of depth of field coordinate, the cross of abscissa value and the target depth of field coordinate Distance between coordinate value recently and ordinate value between the ordinate value of the target depth of field coordinate at a distance from time close third it is pre- If calibration point.
Optionally, projection coordinate's determining module 13 can be used for:Determine the operation described according to following formula The abscissa value Ax of corresponding target projection coordinate in view field:(xm-xn)/(Axm-Axn)=(xm-x)/(Axm-Ax); The ordinate value Ay of operation corresponding target projection coordinate in the view field is determined according to following formula:(yi- Yj)/(Ayi-Ayj)=(yi-y)/(Ayi-Ay).
Wherein, (xm, yi) is the depth of field coordinate for the described first default calibration point being obtained ahead of time, and (Axm, Ayi) is advance The projection coordinate of the described first default calibration point obtained, (xn, yi) is the scape for the described second default calibration point being obtained ahead of time Deep coordinate, (Axn, Ayi) are the projection coordinate for the described second default calibration point being obtained ahead of time;(xm, yj) is obtained ahead of time The third presets the depth of field coordinate of calibration point, and (Axm, Ayj) is the projection seat that the third being obtained ahead of time presets calibration point Mark, (x, y) are the target depth of field coordinate, and (Ax, Ay) is the target projection coordinate.
Optionally, projection coordinate's determining module 13 can be also used for:Whether it is located at according to the target projection coordinate The validity of the target projection coordinate is determined in the coverage area of the view field.
Optionally, the calibration point selection module 12 can be also used for:According to the target depth of field coordinate and N1 horizontal seats The magnitude relationship between mean value and N2 ordinate mean value is marked, M default calibration points are selected from N number of default calibration point; Wherein, longitudinally in each on grid line of demarcation in the depth of field coordinate of N2 default calibration points the average value of abscissa value as the N1 One in a abscissa mean value;Ordinate value in the depth of field coordinate of N1 default calibration points on each transverse grid line of demarcation Average value is as one in the N2 ordinate mean value;Each default calibration point is by an abscissa mean value and a vertical seat Mark mean value uniquely tagged.
Optionally, described device can also include:
Calibration point setup module determines N number of default calibration point for the dimension information according to the view field, N number of default calibration point corresponds to the vertex of at least one grid;In conjunction with the dimension information of the view field, determine N number of default corresponding projection coordinate of calibration point;N number of default calibration point described in Projection Display, so that user clicks institute State N number of default calibration point;In response to user to the clicking operation of N number of default calibration point, N number of default calibration point is detected Corresponding depth of field coordinate.
The method that Fig. 6 shown devices can execute Fig. 1-embodiment illustrated in fig. 5, the part that the present embodiment is not described in detail, It can refer to the related description to Fig. 1-embodiment illustrated in fig. 5.The implementation procedure and technique effect of the technical solution are referring to Fig. 1-Fig. 5 Description in illustrated embodiment, details are not described herein.
The foregoing describe the built-in function of coordinate determining device and structures, and in a possible design, coordinate determines dress The structure set can realize as an electronic equipment, which is such as intelligent projection device, depth of field module etc., as shown in fig. 7, The electronic equipment may include:Processor 21 and memory 22.Wherein, the memory 22 supports electronic equipment to hold for storing The program of the coordinate determination method provided in the above-mentioned Fig. 1-embodiment illustrated in fig. 5 of row, the processor 21 are configurable for holding The program stored in the capable memory 22.
Described program includes one or more computer instruction, wherein one or more computer instruction is described Processor 21 can realize following steps when executing:
Detection is happened at the operation in view field corresponding target depth of field coordinate, depth of field in depth of field detection zone Detection zone covers the view field;
According to the target depth of field coordinate between the depth of field coordinate of N number of default calibration point in the view field at a distance from, M default calibration points are selected from N number of default calibration point, the M default calibration points correspond to same reference axis Coordinate value is not exactly the same, N>M, M >=2;
According to the projection coordinate of a default calibration points of the M and depth of field coordinate and the target depth of field coordinate, institute is determined State operation corresponding target projection coordinate in the view field.
Optionally, the processor 21 is additionally operable to execute all or part of step in earlier figures 1- embodiment illustrated in fig. 5.
Wherein, it can also include communication interface 23 in the structure of the electronic equipment, be set with other for the electronic equipment Standby or communication.
In addition, an embodiment of the present invention provides a kind of computer storage media, for the calculating used in stored electrons equipment Machine software instruction, it includes for executing the program in embodiment of the method shown in above-mentioned Fig. 1-Fig. 5 involved by coordinate determination method.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can It is physically separated with being or may not be, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of required general hardware platform is added, naturally it is also possible to which reality is come in conjunction with by way of hardware and software It is existing.Based on this understanding, substantially the part that contributes to existing technology can be to calculate in other words for above-mentioned technical proposal The form of machine product embodies, the present invention can be used in one or more wherein include computer usable program code meter The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided All-purpose computer, special purpose computer, Embedded Processor or other programmable coordinates are instructed to determine the processor of equipment to produce A raw machine so that determine that the instruction that the processor of equipment executes is generated for real by computer or other programmable coordinates The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable coordinates to determine equipment with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can also be loaded into computer or other programmable coordinates determine in equipment so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of coordinate determination method, which is characterized in that including:
Detection is happened at the corresponding target depth of field coordinate in depth of field detection zone of the operation in view field, the depth of field detection View field described in region overlay;
According to the target depth of field coordinate between the depth of field coordinate of N number of default calibration point in the view field at a distance from, from institute It states and selects M default calibration points in N number of default calibration point, the M default calibration points correspond to the coordinate of same reference axis It is worth not exactly the same, N>M, M >=2;
According to the projection coordinate of a default calibration points of the M and depth of field coordinate and the target depth of field coordinate, the behaviour is determined Make the corresponding target projection coordinate in the view field.
2. according to the method described in claim 1, it is characterized in that, N number of default calibration point divides the view field For at least one grid.
3. according to the method described in claim 2, it is characterized in that, described according to the target depth of field coordinate and the projected area Distance in domain between the depth of field coordinate of N number of default calibration point selects M default calibration points from N number of default calibration point, Including:
According to the target depth of field coordinate between the depth of field coordinate of N number of default calibration point at a distance from, from N number of default school The adjacent three default calibration points of the target depth of field coordinate are selected on schedule, three default calibration points correspond to same Three vertex of grid.
4. according to the method described in claim 3, it is characterized in that, three default calibration points include:With the target scape The first nearest default calibration point of distance between deep coordinate, between abscissa value and the abscissa value of the target depth of field coordinate away from The second nearest default calibration point, horizontal seat at a distance from secondary close and ordinate value is between the ordinate value of the target depth of field coordinate Scale value between the abscissa value of the target depth of field coordinate at a distance from recently and ordinate value and the target depth of field coordinate it is vertical The secondary close third of distance between coordinate value presets calibration point.
5. according to the method described in claim 4, it is characterized in that, the projection coordinate according to the M default calibration points With depth of field coordinate and the target depth of field coordinate, determine that the operation corresponding target projection in the view field is sat Mark, including:
The abscissa value Ax of operation corresponding target projection coordinate in the view field is determined according to following formula: (xm-xn)/(Axm-Axn)=(xm-x)/(Axm-Ax);
The ordinate value Ay of operation corresponding target projection coordinate in the view field is determined according to following formula: (yi-yj)/(Ayi-Ayj)=(yi-y)/(Ayi-Ay);
Wherein, (xm, yi) is the depth of field coordinate for the described first default calibration point being obtained ahead of time, and (Axm, Ayi) is to be obtained ahead of time The described first default calibration point projection coordinate, (xn, yi) be the described second default calibration point being obtained ahead of time the depth of field sit Mark, (Axn, Ayi) is the projection coordinate for the described second default calibration point being obtained ahead of time;(xm, yj) be obtained ahead of time it is described Third presets the depth of field coordinate of calibration point, and (Axm, Ayj) is that the third being obtained ahead of time presets the projection coordinate of calibration point, (x, y) is the target depth of field coordinate, and (Ax, Ay) is the target projection coordinate.
6. the method according to any one of claims 1 to 5, it is characterized in that, the determination operation is in the throwing In the domain of shadow zone after corresponding target projection coordinate, further include:
The target projection coordinate is determined according to whether the target projection coordinate is located in the coverage area of the view field Validity.
7. the method according to any one of claim 2 to 5, which is characterized in that described according to the target depth of field coordinate At a distance between the depth of field coordinate of N number of default calibration point in the view field, M is selected from N number of default calibration point A default calibration point, including:
According to the magnitude relationship between the target depth of field coordinate and N1 abscissa mean value and N2 ordinate mean value, from the N M default calibration points are selected in a default calibration point;
Wherein, longitudinally in each on grid line of demarcation in the depth of field coordinate of N2 default calibration points the average value of abscissa value as institute State one in N1 abscissa mean value;Ordinate in the depth of field coordinate of N1 default calibration points on each transverse grid line of demarcation The average value of value is as one in the N2 ordinate mean value;Each default calibration point is by an abscissa mean value and one Ordinate mean value uniquely tagged.
8. the method according to any one of claim 2 to 5, which is characterized in that the method further includes:
According to the dimension information of the view field, determine that N number of default calibration point, N number of default calibration point correspond to The vertex of at least one grid;
In conjunction with the dimension information of the view field, N number of default corresponding projection coordinate of calibration point is determined;
N number of default calibration point described in Projection Display, so that user clicks N number of default calibration point;
In response to user to the clicking operation of N number of default calibration point, N number of default corresponding scape of calibration point is detected Deep coordinate.
9. a kind of coordinate determining device, which is characterized in that including:
Depth of field coordinate measurement module, for detecting the operation being happened in view field corresponding target in depth of field detection zone Depth of field coordinate, the depth of field detection zone cover the view field;
Point selection module is calibrated, for the scape according to N number of default calibration point in the target depth of field coordinate and the view field Distance between deep coordinate, selects M default calibration points from N number of default calibration point, and the M default calibration points correspond to Not exactly the same, the N in the coordinate value of same reference axis>M, M >=2;
Projection coordinate's determining module, for according to the projection coordinate of a default calibration points of the M and depth of field coordinate and the mesh Depth of field coordinate is marked, determines operation corresponding target projection coordinate in the view field.
10. a kind of electronic equipment, which is characterized in that including:Memory, processor;Wherein,
The memory is for storing one or more computer instruction, wherein one or more computer instruction is by institute It states when processor executes and realizes such as coordinate determination method described in any item of the claim 1 to 8.
CN201810422075.7A 2018-05-04 2018-05-04 Coordinate determination method, device and equipment Pending CN108803895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810422075.7A CN108803895A (en) 2018-05-04 2018-05-04 Coordinate determination method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810422075.7A CN108803895A (en) 2018-05-04 2018-05-04 Coordinate determination method, device and equipment

Publications (1)

Publication Number Publication Date
CN108803895A true CN108803895A (en) 2018-11-13

Family

ID=64093305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810422075.7A Pending CN108803895A (en) 2018-05-04 2018-05-04 Coordinate determination method, device and equipment

Country Status (1)

Country Link
CN (1) CN108803895A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201575A1 (en) * 2003-04-08 2004-10-14 Morrison Gerald D. Auto-aligning touch system and method
CN104820523A (en) * 2015-05-19 2015-08-05 京东方科技集团股份有限公司 Method and device for realizing touch control
CN106289320A (en) * 2016-08-01 2017-01-04 唐子渊 A kind of error calibrating method and device
CN107506162A (en) * 2017-08-29 2017-12-22 歌尔科技有限公司 Coordinate mapping method, computer-readable recording medium and projecting apparatus
CN107577351A (en) * 2017-09-26 2018-01-12 歌尔科技有限公司 Coordinate mapping method, device, projecting apparatus and the optical projection system of view field

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201575A1 (en) * 2003-04-08 2004-10-14 Morrison Gerald D. Auto-aligning touch system and method
CN104820523A (en) * 2015-05-19 2015-08-05 京东方科技集团股份有限公司 Method and device for realizing touch control
CN106289320A (en) * 2016-08-01 2017-01-04 唐子渊 A kind of error calibrating method and device
CN107506162A (en) * 2017-08-29 2017-12-22 歌尔科技有限公司 Coordinate mapping method, computer-readable recording medium and projecting apparatus
CN107577351A (en) * 2017-09-26 2018-01-12 歌尔科技有限公司 Coordinate mapping method, device, projecting apparatus and the optical projection system of view field

Similar Documents

Publication Publication Date Title
KR101736233B1 (en) Infrared touch screen
US8350831B2 (en) Method and apparatus for detecting a multitouch event in an optical touch-sensitive device
JP5308359B2 (en) Optical touch control system and method
US20100241987A1 (en) Tear-Drop Way-Finding User Interfaces
US20160210010A1 (en) Scroll focus
US9513783B1 (en) Determining available screen area
US8924926B1 (en) Techniques for disambiguating unconnected components in a visual programming interface
US20160284108A1 (en) Data quality measurement method based on a scatter plot
US20150029231A1 (en) Method and system for rendering a sliding object
CN108200416B (en) Coordinate mapping method, device and the projection device of projected image in projection device
TW201525733A (en) Graphical analysis system and graphical analysis method
CN105378432A (en) System and method for attitude correction
CN104991727A (en) Information display method and device
KR20160078032A (en) Apparatus and method for electronic design automation
JPWO2013088565A1 (en) Detection device, detection program, and detection method
US20120001945A1 (en) Fine Object Positioning
JP5539301B2 (en) Logic drawing search device
CN113986426B (en) Image detection method and device, readable medium and electronic equipment
US20170115866A1 (en) Method, device and terminal apparatus for recognizing multi-finger sliding gesture
CN109843688A (en) Self-position estimates method and self-position estimating device
WO2012001037A1 (en) Display with shared control panel for different input sources
CN106406572A (en) Cursor control method and apparatus
CN108803895A (en) Coordinate determination method, device and equipment
US9645871B2 (en) Soft-error-rate calculating device
US11093730B2 (en) Measurement system and measurement method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113

RJ01 Rejection of invention patent application after publication