WO2017206824A1 - Position information processing method and system for use in smart display of visual images - Google Patents
Position information processing method and system for use in smart display of visual images Download PDFInfo
- Publication number
- WO2017206824A1 WO2017206824A1 PCT/CN2017/086257 CN2017086257W WO2017206824A1 WO 2017206824 A1 WO2017206824 A1 WO 2017206824A1 CN 2017086257 W CN2017086257 W CN 2017086257W WO 2017206824 A1 WO2017206824 A1 WO 2017206824A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target object
- extension line
- coordinate
- projection
- new
- Prior art date
Links
Images
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
Definitions
- the invention relates to a method and a system for processing position information of a smart display visual image.
- one of the objects of the present invention is to provide a position information processing method for intelligently displaying a visual image, which can convert the relative coordinates of the target object in real time and perform projection display on the target object.
- Another object of the present invention is to provide a position information processing system for intelligently displaying a visual image, which can achieve one of the objects of the present invention.
- a method for processing location information of a smart display visual image includes the following steps:
- Step S1 acquiring a pixel and an imaging depth of the observation device, and acquiring relative coordinates of the target object with respect to the observation device; the observation device forms one or a group of imaging images in the observation direction thereof, and the center of each imaging image and the observation device The distance between them is the imaging depth;
- Step S2 Obtain a horizontal offset angle and a vertical offset angle of the observation device, define a shift of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new relative coordinate of the target object in the new coordinate system. Then, according to the new relative coordinate of the target object, the coordinate point of the target object on the plane of the imaging image of the observation device is obtained;
- Step S3 determining whether the coordinate point is located in the imaging picture, and if so, displaying a projection or a set of related information projections at the coordinate point; otherwise, performing step S4;
- Step S4 Divide the outside of the imaging picture into a plurality of areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- step S4 specifically includes the following steps:
- Step S41 defining the imaged image by the first long side, the first wide side, the second long side, and the second wide side, and the first long side and the second long side are both left and right.
- the direction is infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained;
- the first wide side and the second side are The wide sides are infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower extension line of the second wide side are obtained;
- Step S42 defining a formation area between the first left extension line and the first upper extension line as a first area, a first left extension line, a second area forming a region between the first wide side line and the second left extension line,
- the formation area between the second left extension line and the first lower extension line is a third area, and the first lower extension line, the second long side and the second lower extension line are formed as a fourth area, and the second lower extension
- the formation area between the line and the second right extension line is a fifth area
- the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, the first right extension line and the first
- the formation area between the two upper extension lines is a seventh area
- the formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;
- Step S43 when the coordinate point is located in the first area, display a projection or a set of related information projection in the upper left corner of the imaging picture; when the coordinate point is located in the second area, display a projection or on the first wide side of the imaging picture a set of related information projection; when the coordinate point is located in the third area, a projection or a set of related information projection is displayed in the lower left corner of the imaging picture; when the coordinate point is located in the fourth area, it is displayed on the second long side of the imaging picture a projection or a set of related information projections; when the coordinate point is in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaged image; When located in the sixth area, a projection or a set of related information projections are displayed on the second wide side of the imaging picture; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaging picture; When the coordinate point is in the eighth region, a projection or
- step S1 the relative coordinates of the target object are p(P x , P y , P z );
- step S2 specifically includes the following sub-steps:
- Step S21 Obtain the horizontal offset angle of the observation device as arg 1 , and obtain the vertical offset angle of the observation device as arg 2 , and define the offset of the observation device to form a new coordinate system with the observation device as the origin;
- Step S22 passing the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
- q 1 is the X-axis coordinate of the target object in the new coordinate system
- q 2 is the Y-axis
- Step S26 Calculate the new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to the new relative of the target object.
- the coordinates determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
- a position information processing system for intelligently displaying visual images comprising:
- Obtaining module acquiring pixels and imaging depths of the observation device, and acquiring relative coordinates of the target object relative to the observation device; the observation device forms one or a group of imaging images in the observation direction, and the center of each imaging image is The distance between the observation devices is the imaging depth;
- the calculation module is configured to acquire a horizontal offset angle and a vertical offset angle of the observation device, define a deviation of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new target object in the new coordinate system. Relative coordinate; then calculating the coordinate point of the target object on the plane of the imaging image of the observation device according to the new relative coordinate of the target object;
- a judging module configured to determine whether the coordinate point is located in an imaging screen, and if so, display a projection or a set of related information projections at the coordinate point; otherwise, execute a display module;
- Display module used to divide the outside of the imaging picture into several areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- the display module specifically includes the following submodules:
- the setting sub-module is configured to define the imaging picture to be surrounded by the first long side, the first wide side, the second long side and the second wide side, and the first long side and the second long side are all left And the right two directions are infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side is And the second wide side is infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower side of the second wide side are obtained.
- Defining a sub-module defining a formation area between the first left extension line and the first upper extension line as a first area, a formation area between the first left extension line, the first wide side line, and the second left extension line
- the second region, the formation region between the second left extension line and the first lower extension line is a third region, and the formation between the first lower extension line and the second long extension line and the second lower extension line is a fourth region
- the formation area between the second lower extension line and the second right extension line is a fifth area
- the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area
- the first right extension a formation area between the line and the second upper extension line is a seventh area
- a formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area
- Display sub-module for displaying a projection or a set of related information projections in the upper left corner of the imaging picture when the coordinate point is located in the first area; displaying on the first wide side of the imaging picture when the coordinate point is located in the second area a projection or a set of related information projections; when the coordinate point is in the third region, a projection or a set of related information projections are displayed in the lower left corner of the imaged image; and when the coordinate point is located in the fourth region, the second longest in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaging image; when the coordinate points are located in the sixth region, in the imaging image A projection or a set of related information projections is displayed on the second wide side; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate
- the relative coordinates of the target object are p(P x , P y , P z ); the calculation module specifically includes the following sub-modules:
- the horizontal offset angle used to obtain the observing device is recorded as arg 1
- the vertical offset angle of the observing device is recorded as arg 2 .
- the observing device is used as the origin to form a new coordinate system. ;
- First calculation sub-module used to pass the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
- the fifth calculation sub-module is configured to obtain a new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to The new relative coordinates of the target object determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
- the invention uses the observation device as the reference object as the origin of the coordinate system, and after the observation device generates the offset, the new relative coordinates of the target object are obtained by calculation, and the coordinate points of the target object on the imaging image are projected and displayed, which makes it clear at a glance , producing a visually enhanced effect.
- FIG. 1 is a flow chart of a method for processing position information of a smart display visual image according to the present invention.
- 2 is an example 1 of displaying a projection in an imaging screen when the coordinate point is outside the imaging screen;
- 3 is a second example of displaying a projection in an imaging screen when the coordinate point is outside the imaging screen;
- Figure 5 is a schematic view showing the offset angle of the observation apparatus of the present invention.
- Figure 6 is a schematic diagram of relative coordinates of a target object
- FIG. 7 is a schematic diagram of new relative coordinates of the target object with respect to the observed device after the offset of the observation device.
- the present invention provides a method for processing location information of an intelligent display visual image, including:
- Step S1 acquiring a pixel and an imaging depth of the observation device, and acquiring relative coordinates of the target object with respect to the observation device; the observation device forms one or a group of imaging images in the observation direction thereof, and the center of each imaging image and the observation device The distance between them is the imaging depth;
- the observation device of this embodiment may be a camera, and if it is used as another application, it may be changed to other devices according to other situations.
- the pixel of the observing device is the physical property of the observing device, and is immutable.
- the length and width of the imaging image of the observing device can be obtained according to the pixel of the observing device, and the imaging depth of the observing device is related to the actual scene, and can be preset, belonging to the advance Knowable factors.
- the original coordinate system is established with the observation device as the origin, and the relative coordinates of the target object in the original coordinate system are also known in advance. According to the principle of the observation device, it forms an imaging picture in front.
- Step S2 Obtain a horizontal offset angle and a vertical offset angle of the observation device, define a shift of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new relative coordinate of the target object in the new coordinate system. Then, according to the new relative coordinate of the target object, the coordinate point of the target object on the plane of the imaging image of the observation device is obtained;
- the imaging picture is a plane, and the plane is infinitely expanded into a virtual plane, that is, a plane on which the imaging picture is located.
- the new relative coordinate of the target object is equivalent to a vector with the observation device as the origin. The continuous extension of the vector will eventually create an intersection with the virtual plane, which is the desired coordinate point.
- step S2 includes the following steps:
- Step S21 Please refer to FIG. 5, the horizontal offset angle of the acquiring observation device is recorded as arg 1 , and the vertical offset angle of the acquiring observation device is recorded as arg 2 , and the observation device is defined as an offset and the observation device is used as the origin. a new coordinate system; a six-axis sensor is provided on the observation device, and the horizontal offset angle and the vertical offset angle of the device can be observed through the six-axis sensor;
- Step S22 Please refer to FIG. 6 and pass the formula. Find the direct length of the target object and the observation device, where l is the direct length of the target object and the observation device; the formula applied in the step is the Pythagorean law, where P x is the X-axis coordinate of the target object, and P y is the target object The Y-axis coordinate, P z is the Z-axis coordinate of the target object.
- the relative coordinates of the target object are p(P x , P y , P z );
- Step S26 Calculate the new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to the new relative of the target object.
- the coordinates determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
- Steps S21 to S26 are specific step procedures for combining the required formulas in order to obtain coordinate points of the target object on the plane of the imaging screen.
- the above calculation method for obtaining the coordinate points of the target object on the plane of the imaged image is only one of the embodiments, and is not intended to limit the scope of the present invention.
- the new relative coordinates of the target object can be calculated more conveniently by the projection in the xy plane.
- the target object can be realized by the projection of any plane in the xyz coordinate system.
- the calculation of the relative coordinates of any coordinate point in space relative to any other two points (or multiple points) is also a conventional technical means in the art, and the real-time conversion through the coordinate points falls in order to achieve the object of the present invention.
- Step S3 determining whether the coordinate point is located in the imaging picture, and if so, displaying a projection or a set of related information projections at the coordinate point; otherwise, performing step S4;
- Step S4 Divide the outside of the imaging picture into a plurality of areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- Step S4 specifically includes the following steps:
- Step S41 defining the imaged image by the first long side, the first wide side, the second long side, and the second wide side, and the first long side and the second long side are both left and right.
- the direction is infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained;
- the first wide side and the second side are The wide sides are infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower extension line of the second wide side are obtained;
- Step S42 defining a formation area between the first left extension line and the first upper extension line as a first area, a first left extension line, a second area forming a region between the first wide side line and the second left extension line,
- the formation area between the second left extension line and the first lower extension line is The third region, the first lower extension line, the second long side and the second lower extension line are formed as a fourth area, and the formation area between the second lower extension line and the second right extension line is a fifth area.
- a formation area between the second right extension line, the second wide side and the first right extension line is a sixth area
- a formation area between the first right extension line and the second upper extension line is a seventh area
- the second area The formation area between the extension line, the first long side and the first upper extension line is an eighth area; referring to FIG. 2, the division in the embodiment is to divide the plane of the imaging picture, and S is an imaging picture of the observation device.
- the first area is a
- the second area is b
- the third area is c
- the fourth area is d
- the fifth area is e
- the sixth area is f
- the seventh area is g.
- the eighth area is h;
- Step S43 when the coordinate point is located in the first area, display a projection or a set of related information projection in the upper left corner of the imaging picture; when the coordinate point is located in the second area, display a projection or on the first wide side of the imaging picture a set of related information projection; when the coordinate point is located in the third area, a projection or a set of related information projection is displayed in the lower left corner of the imaging picture; when the coordinate point is located in the fourth area, it is displayed on the second long side of the imaging picture a projection or a set of related information projections; when the coordinate point is in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaged image; when the coordinate point is located in the sixth region, the second width in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the seventh region, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the
- step S41 to step S43 it can be clearly understood how to divide the plane outside the imaging picture into regions for accurate projection display of the coordinate points.
- FIG. 3 is roughly the same as the area division of FIG. 2, except that there are many lines connecting the coordinate points outside the imaging picture to the imaging picture, and the shortest of the many lines is taken.
- a point on a corresponding imaging picture is projected as a projection or a set of related information, for example, a projection within the imaging picture is the coordinate point to the imaging picture.
- the projection of the coordinate points in the regions a, c, e, g on the imaging picture is the same as in the above-mentioned FIG. 2, for example, the projection of the coordinate point k a in the region a on the imaging image is in the upper left corner of the imaging image.
- s 1 displays a projection or a set of related information projections; and the projections of the coordinate points of the regions b, d, f, h on the imaging picture are: corresponding to the imaging points of the coordinate points in the regions b, d, f, h
- the sides are perpendicular lines, and there is an intersection point between the perpendicular line and the corresponding side of the imaging picture, and one coordinate point is displayed on the imaging screen
- a projection or a set of related information projections is located at the intersection.
- the coordinate point k b in the region b is perpendicular to the first broad side, and the intersection between the vertical line and the first wide side is denoted as s 2 .
- the coordinate point k b displays a projection or a set of related information projections at point s 2 .
- the coordinate point outside the imaging picture is connected with the center O of the imaging picture, and there must be an intersection with an edge of the imaging picture.
- the coordinate point displays a projection or a set of related information projections at the intersection; for example, the intersection of the coordinate point k m and the center O of the imaged image is s m , and the coordinate point k m displays a projection or a point at the s m point of the imaged image projection group related information; Similarly, a display coordinate point k n projector or a group of related information projected screen image s n points.
- the above projection rules are all set by the inventors, and any manner of regularly displaying the coordinate points outside the imaging screen on the imaging screen to display one or a group of related information is in the protection scope of the present invention.
- the following rule may also be adopted: a projection or a set of related information projections of corresponding coordinate points may be displayed at any point on the connecting line from the intersection point to the center O, for example, the coordinate point k m is in the imaged image. Any point on the line connecting the s m point to the center O of the imaged picture can display a projection or a set of related information projections.
- the imaging depth is depth
- the length of the imaging picture is leng
- the width of the imaging picture is width.
- the coordinate point of the upper left corner of the imaging picture is The coordinate point in the upper right corner of the screen is
- the lower left coordinate point of the screen is The lower right coordinate point of the screen is
- the new relative coordinate of the target object is q
- the position of the coordinate point and the size of k it can be used as the basis for judging which area outside the imaging screen of the coordinate point:
- PJT represents the coordinate point of the projection
- PJT 1 represents the coordinate of the projected coordinate point on the X axis
- PJT 3 represents the coordinate of the projected coordinate point on the Z axis.
- the solution of the present invention can also be applied in the field of positioning technology, for example, the observation device is replaced by a mobile phone terminal (that is, equivalent to the current location), the target object is the target location of the user, and the user passes the mobile phone.
- the navigation software inside the terminal performs search and navigation on the target location.
- the user can be reminded that the target location is located at the upper left corner, the upper right corner, or other orientation of the current location, which is more convenient for the user to quickly find the target location.
- the projection corresponding to the position displayed on the coordinate point or matching the region where the coordinate point is located may be executed through the background center, and after the background center completes the calculation of the coordinate point of the target object, the corresponding device is controlled to generate a projection at the position of the coordinate point. It is known from the prior art.
- the present invention also provides a location information processing system for intelligently displaying a visual image, comprising:
- An acquisition module for acquiring pixels and imaging depths of the observation device, and acquiring relative coordinates of the target object relative to the observation device; the observation device forms one or a group of imaging images in its observation direction, the center of each imaging image The distance from the observation device is the imaging depth;
- the calculation module is configured to acquire a horizontal offset angle and a vertical offset angle of the observation device, define a deviation of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new target object in the new coordinate system. Relative coordinate; then calculating the coordinate point of the target object on the plane of the imaging image of the observation device according to the new relative coordinate of the target object;
- a judging module configured to determine whether the coordinate point is located in an imaging screen, and if so, display a projection or a set of related information projections at the coordinate point; otherwise, execute a display module;
- Display module used to divide the outside of the imaging picture into several areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- the display module specifically includes the following submodules:
- the setting sub-module is configured to define the imaging picture to be surrounded by the first long side, the first wide side, the second long side and the second wide side, and the first long side and the second long side are all left And the right two directions are infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side is And the second wide side is infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower side of the second wide side are obtained.
- Defining a sub-module defining a formation area between the first left extension line and the first upper extension line as a first area, a formation area between the first left extension line, the first wide side line, and the second left extension line
- the second region, the formation region between the second left extension line and the first lower extension line is a third region, and the formation between the first lower extension line and the second long extension line and the second lower extension line is a fourth region
- the formation area between the second lower extension line and the second right extension line is a fifth area
- the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area
- the first right extension a formation area between the line and the second upper extension line is a seventh area
- a formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area
- Display sub-module for displaying a projection or a set of related information projections in the upper left corner of the imaging picture when the coordinate point is located in the first area; displaying on the first wide side of the imaging picture when the coordinate point is located in the second area a projection or a set of related information projections; when the coordinate point is in the third region, a projection or a set of related information projections are displayed in the lower left corner of the imaged image; and when the coordinate point is located in the fourth region, the second longest in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaging image; when the coordinate points are located in the sixth region, in the imaging image A projection or a set of related information projections is displayed on the second wide side; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate
- the relative coordinates of the target object are p(P x , P y , P z ); the calculation module specifically includes the following sub-modules:
- the horizontal offset angle used to obtain the observing device is recorded as arg 1
- the vertical offset angle of the observing device is recorded as arg 2 .
- the observing device is used as the origin to form a new coordinate system. ;
- First calculation sub-module used to pass the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
- the fifth calculation sub-module is configured to obtain a new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to The new relative coordinates of the target object determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
- Processing Or Creating Images (AREA)
Abstract
A position information processing method and system for use in smart display of visual images, the method comprising: acquiring a pixel and an imaging depth of an observing device, and acquiring a relative coordinate of a target object with respect to the observing device (S1); acquiring a horizontal offset angle and a vertical offset angle of the observing device, forming a new coordinate system with the observing device as the origin after defining the offset of the observing device, and calculating to obtain a new relative coordinate of the target object in the new coordinate system by calculation; and then calculating, according to the new relative coordinate of the target object, to obtain a coordinate point of the target object on a plane where an imaging picture of the observing device is located (S2); determining whether the coordinate point is within the imaging picture (S3); if yes, displaying a projection or a set of associated information projections at the coordinate point; if no, dividing an outside area of the imaging picture into a plurality of areas, and displaying a projection or a set of associated information projections at a position that matches the area where the coordinate point is located within the imaging picture (S4). Displaying a target object by projecting at a coordinate point in an imaging picture, renders the target object very clear, thus resulting in an enhanced visual effect.
Description
本发明涉及一种智能显示视觉图像的位置信息处理方法及系统。The invention relates to a method and a system for processing position information of a smart display visual image.
计算机视觉技术,早在上个世纪70年代的探月活动中就开始得到应用。不管是如今新生的虚拟现实、增强现实,还是定位技术领域中,视觉图像的处理都显得尤为重要。目前的视觉图像处理往往基于观测设备,而基于物体的位置信息进行视觉图像显示这方面的技术还处于空白状态。Computer vision technology began to be applied as early as the lunar exploration activities of the 1970s. Whether it is today's new virtual reality, augmented reality, or positioning technology, the processing of visual images is particularly important. Current visual image processing is often based on observation equipment, and the technology of visual image display based on the position information of the object is still in a blank state.
发明内容Summary of the invention
为了克服现有技术的不足,本发明的目的之一在于提供一种智能显示视觉图像的位置信息处理方法,其能实时转换目标物体的相对坐标,并对目标物体进行投影显示。In order to overcome the deficiencies of the prior art, one of the objects of the present invention is to provide a position information processing method for intelligently displaying a visual image, which can convert the relative coordinates of the target object in real time and perform projection display on the target object.
本发明的目的之二在于提供一种智能显示视觉图像的位置信息处理系统,其能实现本发明的目的之一。Another object of the present invention is to provide a position information processing system for intelligently displaying a visual image, which can achieve one of the objects of the present invention.
本发明的目的之一采用以下技术方案实现:One of the objects of the present invention is achieved by the following technical solutions:
一种智能显示视觉图像的位置信息处理方法,包括如下步骤:A method for processing location information of a smart display visual image includes the following steps:
步骤S1:获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;Step S1: acquiring a pixel and an imaging depth of the observation device, and acquiring relative coordinates of the target object with respect to the observation device; the observation device forms one or a group of imaging images in the observation direction thereof, and the center of each imaging image and the observation device The distance between them is the imaging depth;
步骤S2:获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;Step S2: Obtain a horizontal offset angle and a vertical offset angle of the observation device, define a shift of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new relative coordinate of the target object in the new coordinate system. Then, according to the new relative coordinate of the target object, the coordinate point of the target object on the plane of the imaging image of the observation device is obtained;
步骤S3:判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行步骤S4;Step S3: determining whether the coordinate point is located in the imaging picture, and if so, displaying a projection or a set of related information projections at the coordinate point; otherwise, performing step S4;
步骤S4:将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Step S4: Divide the outside of the imaging picture into a plurality of areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
优选的,步骤S4具体包括如下步骤:Preferably, step S4 specifically includes the following steps:
步骤S41:将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;Step S41: defining the imaged image by the first long side, the first wide side, the second long side, and the second wide side, and the first long side and the second long side are both left and right. The direction is infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side and the second side are The wide sides are infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower extension line of the second wide side are obtained;
步骤S42:定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;Step S42: defining a formation area between the first left extension line and the first upper extension line as a first area, a first left extension line, a second area forming a region between the first wide side line and the second left extension line, The formation area between the second left extension line and the first lower extension line is a third area, and the first lower extension line, the second long side and the second lower extension line are formed as a fourth area, and the second lower extension The formation area between the line and the second right extension line is a fifth area, and the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, the first right extension line and the first The formation area between the two upper extension lines is a seventh area, and the formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;
步骤S43:当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点
位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Step S43: when the coordinate point is located in the first area, display a projection or a set of related information projection in the upper left corner of the imaging picture; when the coordinate point is located in the second area, display a projection or on the first wide side of the imaging picture a set of related information projection; when the coordinate point is located in the third area, a projection or a set of related information projection is displayed in the lower left corner of the imaging picture; when the coordinate point is located in the fourth area, it is displayed on the second long side of the imaging picture a projection or a set of related information projections; when the coordinate point is in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaged image;
When located in the sixth area, a projection or a set of related information projections are displayed on the second wide side of the imaging picture; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaging picture; When the coordinate point is in the eighth region, a projection or a set of related information projections are displayed on the first long side of the imaged picture.
优选的,步骤S1中,目标物体的相对坐标为p(Px,Py,Pz);步骤S2具体包括如下子步骤:Preferably, in step S1, the relative coordinates of the target object are p(P x , P y , P z ); step S2 specifically includes the following sub-steps:
步骤S21:获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;Step S21: Obtain the horizontal offset angle of the observation device as arg 1 , and obtain the vertical offset angle of the observation device as arg 2 , and define the offset of the observation device to form a new coordinate system with the observation device as the origin;
步骤S22:通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;Step S22: passing the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
步骤S23:通过公式求出目标物体与X轴的水平夹角,并通过公式A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Step S23: Passing the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;
步骤S24:通过公式求出目标物体在xy平面上的射影,根据公式求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角;Step S24: Passing the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;
步骤S25:根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;Step S25: Calculate the Z-axis coordinate of the target object in the new coordinate system according to the formula q 3 =l*sin(A' vert ), and obtain the target object in the new according to the formula l' xy = l*cos(A' vert ) The projective length on the xy plane of the coordinate system, and the X-axis coordinate of the target object in the new coordinate system is obtained according to the formula q 1 =l' xy *cos(A' hori ) according to the formula q 2 =l' xy *sin(A ' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the projection of the target object on the xy plane of the new coordinate system. Length, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;
步骤S26:根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。Step S26: Calculate the new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to the new relative of the target object. The coordinates determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
本发明的目的之二采用以下技术方案实现:The second object of the present invention is achieved by the following technical solutions:
一种智能显示视觉图像的位置信息处理系统,包括:
A position information processing system for intelligently displaying visual images, comprising:
获取模块:用于获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;Obtaining module: acquiring pixels and imaging depths of the observation device, and acquiring relative coordinates of the target object relative to the observation device; the observation device forms one or a group of imaging images in the observation direction, and the center of each imaging image is The distance between the observation devices is the imaging depth;
计算模块:用于获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;The calculation module is configured to acquire a horizontal offset angle and a vertical offset angle of the observation device, define a deviation of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new target object in the new coordinate system. Relative coordinate; then calculating the coordinate point of the target object on the plane of the imaging image of the observation device according to the new relative coordinate of the target object;
判断模块:用于判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行显示模块;a judging module: configured to determine whether the coordinate point is located in an imaging screen, and if so, display a projection or a set of related information projections at the coordinate point; otherwise, execute a display module;
显示模块:用于将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Display module: used to divide the outside of the imaging picture into several areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
优选的,显示模块具体包括如下子模块:Preferably, the display module specifically includes the following submodules:
设置子模块:用于将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;The setting sub-module is configured to define the imaging picture to be surrounded by the first long side, the first wide side, the second long side and the second wide side, and the first long side and the second long side are all left And the right two directions are infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side is And the second wide side is infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower side of the second wide side are obtained. Extension line
定义子模块:用于定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;Defining a sub-module: defining a formation area between the first left extension line and the first upper extension line as a first area, a formation area between the first left extension line, the first wide side line, and the second left extension line The second region, the formation region between the second left extension line and the first lower extension line is a third region, and the formation between the first lower extension line and the second long extension line and the second lower extension line is a fourth region, The formation area between the second lower extension line and the second right extension line is a fifth area, and the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, and the first right extension a formation area between the line and the second upper extension line is a seventh area, and a formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;
显示子模块:用于当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Display sub-module: for displaying a projection or a set of related information projections in the upper left corner of the imaging picture when the coordinate point is located in the first area; displaying on the first wide side of the imaging picture when the coordinate point is located in the second area a projection or a set of related information projections; when the coordinate point is in the third region, a projection or a set of related information projections are displayed in the lower left corner of the imaged image; and when the coordinate point is located in the fourth region, the second longest in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaging image; when the coordinate points are located in the sixth region, in the imaging image A projection or a set of related information projections is displayed on the second wide side; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the eighth region, A projection or a set of related information projections is displayed on the first long side of the imaged image.
优选的,在获取模块中,目标物体的相对坐标为p(Px,Py,Pz);计算模块具体包括如下子模块:Preferably, in the acquisition module, the relative coordinates of the target object are p(P x , P y , P z ); the calculation module specifically includes the following sub-modules:
获取子模块:用于获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;Obtain sub-module: the horizontal offset angle used to obtain the observing device is recorded as arg 1 , and the vertical offset angle of the observing device is recorded as arg 2 . After defining the observing device offset, the observing device is used as the origin to form a new coordinate system. ;
第一计算子模块:用于通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;First calculation sub-module: used to pass the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
第二计算子模块:用于通过公式求出目标物体与X轴的水平夹角,
并通过公式A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Second calculation sub-module: used to pass the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;
第三计算子模块:用于通过公式求出目标物体在xy平面上的射影,根据公式求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角;Third calculation sub-module: used to pass the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;
第四计算子模块:用于根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;The fourth calculation sub-module is used to obtain the Z-axis coordinate of the target object in the new coordinate system according to the formula q 3 =l*sin(A' vert ), and obtain the formula according to the formula l' xy =l*cos(A' vert ) Obtain the projective length of the target object on the xy plane of the new coordinate system, and obtain the X-axis coordinate of the target object in the new coordinate system according to the formula q 1 =l' xy *cos(A' hori ), according to the formula q 2 =l' Xy *sin(A' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the target object in the new coordinate system. Projective length on the xy plane, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;
第五计算子模块:用于根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。The fifth calculation sub-module is configured to obtain a new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to The new relative coordinates of the target object determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
相比现有技术,本发明的有益效果在于:Compared with the prior art, the beneficial effects of the present invention are:
本发明以观测设备为基准物体,作为坐标系的原点,观测设备产生偏移后,通过计算得到目标物体的新相对坐标,并对目标物体在成像画面上的坐标点进行投影显示,让人一目了然,产生视觉增强的效果。The invention uses the observation device as the reference object as the origin of the coordinate system, and after the observation device generates the offset, the new relative coordinates of the target object are obtained by calculation, and the coordinate points of the target object on the imaging image are projected and displayed, which makes it clear at a glance , producing a visually enhanced effect.
图1为本发明的一种智能显示视觉图像的位置信息处理方法的流程图。1 is a flow chart of a method for processing position information of a smart display visual image according to the present invention.
图2为本发明坐标点位于成像画面外时在成像画面内显示投影的实例一;2 is an example 1 of displaying a projection in an imaging screen when the coordinate point is outside the imaging screen;
图3为本发明坐标点位于成像画面外时在成像画面内显示投影的实例二;3 is a second example of displaying a projection in an imaging screen when the coordinate point is outside the imaging screen;
图4为本发明坐标点位于成像画面外时在成像画面内显示投影的实例三;4 is a third example of displaying a projection in an imaging screen when the coordinate point is outside the imaging screen;
图5为本发明观测设备的偏移角示意图;
Figure 5 is a schematic view showing the offset angle of the observation apparatus of the present invention;
图6为目标物体的相对坐标示意图;Figure 6 is a schematic diagram of relative coordinates of a target object;
图7为观测设备偏移后,目标物体相对于偏移后的观测设备的新相对坐标示意图。FIG. 7 is a schematic diagram of new relative coordinates of the target object with respect to the observed device after the offset of the observation device.
下面,结合附图以及具体实施方式,对本发明做进一步描述:The present invention will be further described below in conjunction with the drawings and specific embodiments.
参见图1,本发明提供一种智能显示视觉图像的位置信息处理方法,包括:Referring to FIG. 1 , the present invention provides a method for processing location information of an intelligent display visual image, including:
步骤S1:获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;Step S1: acquiring a pixel and an imaging depth of the observation device, and acquiring relative coordinates of the target object with respect to the observation device; the observation device forms one or a group of imaging images in the observation direction thereof, and the center of each imaging image and the observation device The distance between them is the imaging depth;
本实施例的观测设备可以为摄像机,如果是作为其他应用,也可以根据其他情况改为其他设备。观测设备的像素为该观测设备的物理属性,是不可变的,根据观测设备的像素可以得到观测设备成像画面的长度和宽度,观测设备的成像深度跟实际场景有关,可以预先设定,属于预先可知的因素。以观测设备为原点建立一原始坐标系,目标物体在原始坐标系的相对坐标也是事先得知的。根据观测设备的原理,其在前方会形成成像画面。The observation device of this embodiment may be a camera, and if it is used as another application, it may be changed to other devices according to other situations. The pixel of the observing device is the physical property of the observing device, and is immutable. The length and width of the imaging image of the observing device can be obtained according to the pixel of the observing device, and the imaging depth of the observing device is related to the actual scene, and can be preset, belonging to the advance Knowable factors. The original coordinate system is established with the observation device as the origin, and the relative coordinates of the target object in the original coordinate system are also known in advance. According to the principle of the observation device, it forms an imaging picture in front.
步骤S2:获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;Step S2: Obtain a horizontal offset angle and a vertical offset angle of the observation device, define a shift of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new relative coordinate of the target object in the new coordinate system. Then, according to the new relative coordinate of the target object, the coordinate point of the target object on the plane of the imaging image of the observation device is obtained;
当观测设备产生偏移的时候,此时依旧建立以观测设备为原点的新坐标系,如此目标物体的相对坐标也会产生改变。此时需要重新计算目标物体的新相对坐标,从而进一步得到目标物体在成像画面所在平面上的坐标点。成像画面为一平面,该平面无限扩展为一虚拟平面,也就是成像画面所在平面。目标物体的新相对坐标相当于以观测设备为原点的一个向量,该向量不断延伸最终会与该虚拟平面产生一个交点,该交点即为所需坐标点。When the observing device produces an offset, a new coordinate system with the observing device as the origin is still established at this time, and the relative coordinates of the target object are also changed. At this time, it is necessary to recalculate the new relative coordinates of the target object, thereby further obtaining the coordinate points of the target object on the plane of the imaging picture. The imaging picture is a plane, and the plane is infinitely expanded into a virtual plane, that is, a plane on which the imaging picture is located. The new relative coordinate of the target object is equivalent to a vector with the observation device as the origin. The continuous extension of the vector will eventually create an intersection with the virtual plane, which is the desired coordinate point.
具体的,步骤S2包括如下步骤:Specifically, step S2 includes the following steps:
步骤S21:请参照图5所示,获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;在观测设备上设有六轴传感器,通过该六轴传感器能够观测设备的水平偏移角度和垂直偏移角度;Step S21: Please refer to FIG. 5, the horizontal offset angle of the acquiring observation device is recorded as arg 1 , and the vertical offset angle of the acquiring observation device is recorded as arg 2 , and the observation device is defined as an offset and the observation device is used as the origin. a new coordinate system; a six-axis sensor is provided on the observation device, and the horizontal offset angle and the vertical offset angle of the device can be observed through the six-axis sensor;
步骤S22:请参照图6所示,通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;步骤应用的公式为勾股定律,其中,Px为目标物体的X轴坐标,Py为目标物体的Y轴坐标,Pz为目标物体的Z轴坐标,实际上,在步骤S1中,目标物体的相对坐标为p(Px,Py,Pz);Step S22: Please refer to FIG. 6 and pass the formula. Find the direct length of the target object and the observation device, where l is the direct length of the target object and the observation device; the formula applied in the step is the Pythagorean law, where P x is the X-axis coordinate of the target object, and P y is the target object The Y-axis coordinate, P z is the Z-axis coordinate of the target object. In fact, in step S1, the relative coordinates of the target object are p(P x , P y , P z );
步骤S23:通过公式求出目标物体与X轴的水平夹角,并通过公式A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Step S23: Passing the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;
步骤S24:通过公式求出目标物体在xy平面上的射影,根据公式
求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角;Step S24: Passing the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;
步骤S25:请参照图7所示,根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;Step S25: Referring to FIG. 7, the Z-axis coordinate of the target object in the new coordinate system is obtained according to the formula q 3 =l*sin(A' vert ), according to the formula l' xy =l*cos(A' vert The projection length of the target object on the xy plane of the new coordinate system is obtained, and the X-axis coordinate of the target object in the new coordinate system is obtained according to the formula q 1 =l' xy *cos(A' hori ), according to the formula q 2 = L' xy *sin(A' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the target object at the new coordinate The projective length on the xy plane of the system, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;
步骤S26:根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。Step S26: Calculate the new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to the new relative of the target object. The coordinates determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
步骤S21至步骤S26是为得到目标物体在成像画面所在平面上的坐标点,而结合所需公式的具体步骤流程。Steps S21 to S26 are specific step procedures for combining the required formulas in order to obtain coordinate points of the target object on the plane of the imaging screen.
需要说明的是:上述得到目标物体在成像画面所在平面上的坐标点的计算方法只是其中一种实施方式,并非为限定本发明的保护范围。在该计算过程中,通过在xy平面中的射影做辅助,可以较为方便地计算出目标物体的新相对坐标,事实上,目标物体在xyz坐标系中的任意平面的射影进行辅助均可实现本方案,而且,空间中任意坐标点相对于其他任意两点(或多点)的相对坐标的计算也是本领域的常规技术手段,为达到本发明的发明目的而通过坐标点的实时转换均落入本发明的保护范围内。It should be noted that the above calculation method for obtaining the coordinate points of the target object on the plane of the imaged image is only one of the embodiments, and is not intended to limit the scope of the present invention. In the calculation process, the new relative coordinates of the target object can be calculated more conveniently by the projection in the xy plane. In fact, the target object can be realized by the projection of any plane in the xyz coordinate system. Moreover, the calculation of the relative coordinates of any coordinate point in space relative to any other two points (or multiple points) is also a conventional technical means in the art, and the real-time conversion through the coordinate points falls in order to achieve the object of the present invention. Within the scope of protection of the present invention.
步骤S3:判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行步骤S4;Step S3: determining whether the coordinate point is located in the imaging picture, and if so, displaying a projection or a set of related information projections at the coordinate point; otherwise, performing step S4;
步骤S4:将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Step S4: Divide the outside of the imaging picture into a plurality of areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
步骤S4具体包括如下步骤:Step S4 specifically includes the following steps:
步骤S41:将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;Step S41: defining the imaged image by the first long side, the first wide side, the second long side, and the second wide side, and the first long side and the second long side are both left and right. The direction is infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side and the second side are The wide sides are infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower extension line of the second wide side are obtained;
步骤S42:定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为
第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;参见图2,实际上本实施例的划分是对成像画面所在平面进行划分,S为观测设备的成像画面,第一区域为a处,第二区域为b处,第三区域为c处,第四区域为d处,第五区域为e处,第六区域为f处,第七区域为g处,第八区域为h处;Step S42: defining a formation area between the first left extension line and the first upper extension line as a first area, a first left extension line, a second area forming a region between the first wide side line and the second left extension line, The formation area between the second left extension line and the first lower extension line is
The third region, the first lower extension line, the second long side and the second lower extension line are formed as a fourth area, and the formation area between the second lower extension line and the second right extension line is a fifth area. a formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, and a formation area between the first right extension line and the second upper extension line is a seventh area, and the second area The formation area between the extension line, the first long side and the first upper extension line is an eighth area; referring to FIG. 2, the division in the embodiment is to divide the plane of the imaging picture, and S is an imaging picture of the observation device. The first area is a, the second area is b, the third area is c, the fourth area is d, the fifth area is e, the sixth area is f, and the seventh area is g. The eighth area is h;
步骤S43:当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Step S43: when the coordinate point is located in the first area, display a projection or a set of related information projection in the upper left corner of the imaging picture; when the coordinate point is located in the second area, display a projection or on the first wide side of the imaging picture a set of related information projection; when the coordinate point is located in the third area, a projection or a set of related information projection is displayed in the lower left corner of the imaging picture; when the coordinate point is located in the fourth area, it is displayed on the second long side of the imaging picture a projection or a set of related information projections; when the coordinate point is in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaged image; when the coordinate point is located in the sixth region, the second width in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the seventh region, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the eighth region, in the imaged image A projection or a set of related information projections is displayed on the first long side.
通过步骤S41至步骤S43,可以清楚如何对成像画面外部的平面进行区域划分,以便对坐标点准确投影显示。From step S41 to step S43, it can be clearly understood how to divide the plane outside the imaging picture into regions for accurate projection display of the coordinate points.
上述为坐标点位于成像画面外时在成像画面内显示一个投影或一组关联信息投影的一种实施方式,是本发明为其设定的一种投影规则,事实上还可以有其他更多种投影规则。The above is an embodiment in which a projection or a set of related information projections are displayed in an imaging screen when the coordinate point is outside the imaging screen, which is a projection rule set by the present invention. In fact, there are other kinds of projections. Projection rules.
例如,请参照图3所示,其大致与图2的区域划分相同,不同的是每个成像画面外的坐标点到成像画面的连线有很多条,而取该很多条连线中最短的一条对应的成像画面上的点作为一个投影或一组关联信息投影,例如,在成像画面内的投影为该坐标点到成像画面。由此可见,区域a、c、e、g内的坐标点在成像画面的投影与上述图2中相同,例如,区域a中的坐标点ka在成像画面的投影是在成像画面的左上角s1显示一个投影或一组关联信息投影;而对于区域b、d、f、h的坐标点在成像画面的投影为:对区域b、d、f、h内的坐标点向成像画面对应的边(分别对应第一宽边、第二长边、第二宽边、第一长边)作垂线,该垂线与成像画面对应边之间存在一个交点,坐标点在成像画面显示的一个投影或一组关联信息投影则位于该交点上,例如,区域b中的坐标点kb向第一宽边做垂线,该垂线与第一宽边之间的交点记为s2,则坐标点kb在s2点显示一个投影或一组关联信息投影。For example, please refer to FIG. 3, which is roughly the same as the area division of FIG. 2, except that there are many lines connecting the coordinate points outside the imaging picture to the imaging picture, and the shortest of the many lines is taken. A point on a corresponding imaging picture is projected as a projection or a set of related information, for example, a projection within the imaging picture is the coordinate point to the imaging picture. It can be seen that the projection of the coordinate points in the regions a, c, e, g on the imaging picture is the same as in the above-mentioned FIG. 2, for example, the projection of the coordinate point k a in the region a on the imaging image is in the upper left corner of the imaging image. s 1 displays a projection or a set of related information projections; and the projections of the coordinate points of the regions b, d, f, h on the imaging picture are: corresponding to the imaging points of the coordinate points in the regions b, d, f, h The sides (corresponding to the first wide side, the second long side, the second wide side, and the first long side respectively) are perpendicular lines, and there is an intersection point between the perpendicular line and the corresponding side of the imaging picture, and one coordinate point is displayed on the imaging screen A projection or a set of related information projections is located at the intersection. For example, the coordinate point k b in the region b is perpendicular to the first broad side, and the intersection between the vertical line and the first wide side is denoted as s 2 . The coordinate point k b displays a projection or a set of related information projections at point s 2 .
再例如,请参照图4所示,其并不对成像画面外做具体的区域划分,成像画面外的坐标点与成像画面的中心O进行连线,必然与成像画面某个边存在交点,则该坐标点在该交点显示一个投影或一组关联信息投影;例如,坐标点km与成像画面的中心O的交点为sm,则坐标点km在成像画面的sm点显示一个投影或一组关联信息投影;同理,坐标点kn在成像画面的sn点显示一个投影或一组关联信息投影。For example, please refer to FIG. 4, which does not divide the specific area outside the imaging picture. The coordinate point outside the imaging picture is connected with the center O of the imaging picture, and there must be an intersection with an edge of the imaging picture. The coordinate point displays a projection or a set of related information projections at the intersection; for example, the intersection of the coordinate point k m and the center O of the imaged image is s m , and the coordinate point k m displays a projection or a point at the s m point of the imaged image projection group related information; Similarly, a display coordinate point k n projector or a group of related information projected screen image s n points.
综上所述,上述投影规则均为发明人自行设定的实施方式,任何有规律的将成像画面外的坐标点在成像画面显示一个或一组关联信息投影的方式均在本发明的保护范围内,再例如,图4中,还可以采用以下规则:交点到中心O的连线上任一点均可显示对应坐标点的一个投影或一组关联信息投影,例如,坐标点km在成像画面的sm点到成像画面的中心O之间的连线上的任一点均可显示一个投影或一组关联信息投影。In summary, the above projection rules are all set by the inventors, and any manner of regularly displaying the coordinate points outside the imaging screen on the imaging screen to display one or a group of related information is in the protection scope of the present invention. For example, in FIG. 4, the following rule may also be adopted: a projection or a set of related information projections of corresponding coordinate points may be displayed at any point on the connecting line from the intersection point to the center O, for example, the coordinate point k m is in the imaged image. Any point on the line connecting the s m point to the center O of the imaged picture can display a projection or a set of related information projections.
假设成像深度为depth,成像画面的长度为leng,成像画面的宽度为width,假设成像画面中心点的坐标为cen=(0,depth,0),成像画面左上角坐标点为
画面右上角坐标点为画面左下坐标点为画面右下坐标点为目标物体的新相对坐标为q,该新相对坐标q的y轴坐标为q2,假设向量q放大k倍后与虚拟平面相交,则k=depth/q2,目标物体在观测设备成像画面所在平面的坐标点(也就是交点)的坐标为PJTori,PJTori=k*q。Assume that the imaging depth is depth, the length of the imaging picture is leng, and the width of the imaging picture is width. Assume that the coordinates of the center point of the imaging picture are cen=(0, depth, 0), and the coordinate point of the upper left corner of the imaging picture is The coordinate point in the upper right corner of the screen is The lower left coordinate point of the screen is The lower right coordinate point of the screen is The new relative coordinate of the target object is q, and the y-axis coordinate of the new relative coordinate q is q 2 . If the vector q is enlarged by k times and intersects with the virtual plane, then k=depth/q 2 , and the target object is in the imaging image of the observation device. The coordinates of the coordinate point of the plane (that is, the intersection point) are PJT ori , PJT ori = k*q.
根据坐标点的位置和k的大小不同的情况可作为判断该坐标点成像画面外的哪个区域的依据:According to the position of the coordinate point and the size of k, it can be used as the basis for judging which area outside the imaging screen of the coordinate point:
其中,PJT表示投影的坐标点,PJT1表示投影的坐标点在X轴上的坐标,PJT3表示投影的坐标点在Z轴上的坐标。具体判断投影的坐标点数值,需要结合上面两组公式,每一组公式的任意一条与另一组公式的任意一条结合,也就是说,例如第一组公式的第二组公式的表明投影显示至右上角,再如第一组公式的第二组公式的则表明投影显示至左上角。本发明的方案除了能带来视觉上的效果增强,还可以应用在定位技术领域中,例如观测设备替换为手机终端(也就是相当于当前位置),目标物体为用户的目标地点,用户通过手机终端内部的导航软件进行对目标地点的搜索、导航,结合本发明的方案,可以提醒用户目标地点位于当前位置的左上角、右上角或是其他方位,更加方便用户快速找到目标地点。Among them, PJT represents the coordinate point of the projection, PJT 1 represents the coordinate of the projected coordinate point on the X axis, and PJT 3 represents the coordinate of the projected coordinate point on the Z axis. To specifically determine the coordinate point value of the projection, it is necessary to combine the above two sets of formulas, and any one of each set of formulas is combined with any one of the other set of formulas, that is, for example, the first set of formulas The second set of formulas Indicates that the projection is displayed to the upper right corner, as in the first set of formulas. The second set of formulas This indicates that the projection is displayed to the upper left corner. In addition to the visual enhancement, the solution of the present invention can also be applied in the field of positioning technology, for example, the observation device is replaced by a mobile phone terminal (that is, equivalent to the current location), the target object is the target location of the user, and the user passes the mobile phone. The navigation software inside the terminal performs search and navigation on the target location. In combination with the solution of the present invention, the user can be reminded that the target location is located at the upper left corner, the upper right corner, or other orientation of the current location, which is more convenient for the user to quickly find the target location.
对应显示在坐标点上或者与坐标点所在区域匹配位置上的投影可通过后台中心执行,后台中心完成对目标物体的坐标点计算后,控制相应的设备在该坐标点的位置产生投影,该技术可由现有技术获知。The projection corresponding to the position displayed on the coordinate point or matching the region where the coordinate point is located may be executed through the background center, and after the background center completes the calculation of the coordinate point of the target object, the corresponding device is controlled to generate a projection at the position of the coordinate point. It is known from the prior art.
另一方面,本发明还提供一种智能显示视觉图像的位置信息处理系统,包括:In another aspect, the present invention also provides a location information processing system for intelligently displaying a visual image, comprising:
获取模块:用于获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;An acquisition module: for acquiring pixels and imaging depths of the observation device, and acquiring relative coordinates of the target object relative to the observation device; the observation device forms one or a group of imaging images in its observation direction, the center of each imaging image The distance from the observation device is the imaging depth;
计算模块:用于获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;The calculation module is configured to acquire a horizontal offset angle and a vertical offset angle of the observation device, define a deviation of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new target object in the new coordinate system. Relative coordinate; then calculating the coordinate point of the target object on the plane of the imaging image of the observation device according to the new relative coordinate of the target object;
判断模块:用于判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行显示模块;a judging module: configured to determine whether the coordinate point is located in an imaging screen, and if so, display a projection or a set of related information projections at the coordinate point; otherwise, execute a display module;
显示模块:用于将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Display module: used to divide the outside of the imaging picture into several areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
具体的,显示模块具体包括如下子模块:
Specifically, the display module specifically includes the following submodules:
设置子模块:用于将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;The setting sub-module is configured to define the imaging picture to be surrounded by the first long side, the first wide side, the second long side and the second wide side, and the first long side and the second long side are all left And the right two directions are infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side is And the second wide side is infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower side of the second wide side are obtained. Extension line
定义子模块:用于定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;Defining a sub-module: defining a formation area between the first left extension line and the first upper extension line as a first area, a formation area between the first left extension line, the first wide side line, and the second left extension line The second region, the formation region between the second left extension line and the first lower extension line is a third region, and the formation between the first lower extension line and the second long extension line and the second lower extension line is a fourth region, The formation area between the second lower extension line and the second right extension line is a fifth area, and the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, and the first right extension a formation area between the line and the second upper extension line is a seventh area, and a formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;
显示子模块:用于当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Display sub-module: for displaying a projection or a set of related information projections in the upper left corner of the imaging picture when the coordinate point is located in the first area; displaying on the first wide side of the imaging picture when the coordinate point is located in the second area a projection or a set of related information projections; when the coordinate point is in the third region, a projection or a set of related information projections are displayed in the lower left corner of the imaged image; and when the coordinate point is located in the fourth region, the second longest in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaging image; when the coordinate points are located in the sixth region, in the imaging image A projection or a set of related information projections is displayed on the second wide side; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the eighth region, A projection or a set of related information projections is displayed on the first long side of the imaged image.
优选的,在获取模块中,目标物体的相对坐标为p(Px,Py,Pz);计算模块具体包括如下子模块:Preferably, in the acquisition module, the relative coordinates of the target object are p(P x , P y , P z ); the calculation module specifically includes the following sub-modules:
获取子模块:用于获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;Obtain sub-module: the horizontal offset angle used to obtain the observing device is recorded as arg 1 , and the vertical offset angle of the observing device is recorded as arg 2 . After defining the observing device offset, the observing device is used as the origin to form a new coordinate system. ;
第一计算子模块:用于通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;First calculation sub-module: used to pass the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;
第二计算子模块:用于通过公式求出目标物体与X轴的水平夹角,并通过公式A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Second calculation sub-module: used to pass the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;
第三计算子模块:用于通过公式求出目标物体在xy平面上的射影,根据公式求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角;
Third calculation sub-module: used to pass the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;
第四计算子模块:用于根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;The fourth calculation sub-module is used to obtain the Z-axis coordinate of the target object in the new coordinate system according to the formula q 3 =l*sin(A' vert ), and obtain the formula according to the formula l' xy =l*cos(A' vert ) Obtain the projective length of the target object on the xy plane of the new coordinate system, and obtain the X-axis coordinate of the target object in the new coordinate system according to the formula q 1 =l' xy *cos(A' hori ), according to the formula q 2 =l' Xy *sin(A' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the target object in the new coordinate system. Projective length on the xy plane, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;
第五计算子模块:用于根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。The fifth calculation sub-module is configured to obtain a new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to The new relative coordinates of the target object determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
对本领域的技术人员来说,可根据以上描述的技术方案以及构思,做出其它各种相应的改变以及形变,而所有的这些改变以及形变都应该属于本发明权利要求的保护范围之内。
Various other changes and modifications may be made by those skilled in the art in light of the above-described technical solutions and concepts, and all such changes and modifications are intended to fall within the scope of the appended claims.
Claims (6)
- 一种智能显示视觉图像的位置信息处理方法,其特征在于包括如下步骤:A method for processing position information of an intelligent display visual image, comprising the steps of:步骤S1:获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;Step S1: acquiring a pixel and an imaging depth of the observation device, and acquiring relative coordinates of the target object with respect to the observation device; the observation device forms one or a group of imaging images in the observation direction thereof, and the center of each imaging image and the observation device The distance between them is the imaging depth;步骤S2:获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;Step S2: Obtain a horizontal offset angle and a vertical offset angle of the observation device, define a shift of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new relative coordinate of the target object in the new coordinate system. Then, according to the new relative coordinate of the target object, the coordinate point of the target object on the plane of the imaging image of the observation device is obtained;步骤S3:判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行步骤S4;Step S3: determining whether the coordinate point is located in the imaging picture, and if so, displaying a projection or a set of related information projections at the coordinate point; otherwise, performing step S4;步骤S4:将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Step S4: Divide the outside of the imaging picture into a plurality of areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- 如权利要求1所述的智能显示视觉图像的位置信息处理方法,其特征在于:步骤S4具体包括如下步骤:The method for processing position information of a smart display visual image according to claim 1, wherein the step S4 comprises the following steps:步骤S41:将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;Step S41: defining the imaged image by the first long side, the first wide side, the second long side, and the second wide side, and the first long side and the second long side are both left and right. The direction is infinitely extended, and the left extension line of the first long side, the right extension line of the first long side, the left extension line of the second long side, and the right extension line of the second long side are obtained; the first wide side and the second side are The wide sides are infinitely extended in the upper and lower directions, and the upper extension line of the first wide side, the lower extension line of the first wide side, the upper extension line of the second wide side, and the lower extension line of the second wide side are obtained;步骤S42:定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;Step S42: defining a formation area between the first left extension line and the first upper extension line as a first area, a first left extension line, a second area forming a region between the first wide side line and the second left extension line, The formation area between the second left extension line and the first lower extension line is a third area, and the first lower extension line, the second long side and the second lower extension line are formed as a fourth area, and the second lower extension The formation area between the line and the second right extension line is a fifth area, and the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, the first right extension line and the first The formation area between the two upper extension lines is a seventh area, and the formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;步骤S43:当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Step S43: when the coordinate point is located in the first area, display a projection or a set of related information projection in the upper left corner of the imaging picture; when the coordinate point is located in the second area, display a projection or on the first wide side of the imaging picture a set of related information projection; when the coordinate point is located in the third area, a projection or a set of related information projection is displayed in the lower left corner of the imaging picture; when the coordinate point is located in the fourth area, it is displayed on the second long side of the imaging picture a projection or a set of related information projections; when the coordinate point is in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaged image; when the coordinate point is located in the sixth region, the second width in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the seventh region, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the eighth region, in the imaged image A projection or a set of related information projections is displayed on the first long side.
- 如权利要求1所述的智能显示视觉图像的位置信息处理方法,其特征在于:步骤S1中,目标物体的相对坐标为p(Px,Py,Pz);步骤S2具体包括如下子步骤:The position information processing method for intelligently displaying a visual image according to claim 1, wherein in step S1, the relative coordinates of the target object are p(P x , P y , P z ); and step S2 specifically includes the following substeps. :步骤S21:获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;Step S21: Obtain the horizontal offset angle of the observation device as arg 1 , and obtain the vertical offset angle of the observation device as arg 2 , and define the offset of the observation device to form a new coordinate system with the observation device as the origin;步骤S22:通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;Step S22: passing the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;步骤S23:通过公式求出目标物体与X轴的水平夹角,并通过公式 A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Step S23: Passing the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;步骤S24:通过公式求出目标物体在xy平面上的射影,根据公式求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角;Step S24: Passing the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;步骤S25:根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;Step S25: Calculate the Z-axis coordinate of the target object in the new coordinate system according to the formula q 3 =l*sin(A' vert ), and obtain the target object in the new according to the formula l' xy = l*cos(A' vert ) The projective length on the xy plane of the coordinate system, and the X-axis coordinate of the target object in the new coordinate system is obtained according to the formula q 1 =l' xy *cos(A' hori ) according to the formula q 2 =l' xy *sin(A ' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the projection of the target object on the xy plane of the new coordinate system. Length, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;步骤S26:根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。Step S26: Calculate the new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to the new relative of the target object. The coordinates determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
- 一种智能显示视觉图像的位置信息处理系统,其特征在于包括:A position information processing system for intelligently displaying a visual image, comprising:获取模块:用于获取观测设备的像素和成像深度,以及获取目标物体相对于观测设备的相对坐标;所述观测设备在其观测方向上形成一个或一组成像画面,每个成像画面的中心与观测设备之间的距离为成像深度;Obtaining module: acquiring pixels and imaging depths of the observation device, and acquiring relative coordinates of the target object relative to the observation device; the observation device forms one or a group of imaging images in the observation direction, and the center of each imaging image is The distance between the observation devices is the imaging depth;计算模块:用于获取观测设备的水平偏移角度和垂直偏移角度,定义该观测设备偏移后以该观测设备为原点形成一新坐标系,计算得到目标物体在该新坐标系中的新相对坐标;之后根据目标物体的新相对坐标计算得到该目标物体在观测设备的成像画面所在平面上的坐标点;The calculation module is configured to acquire a horizontal offset angle and a vertical offset angle of the observation device, define a deviation of the observation device, form a new coordinate system with the observation device as an origin, and calculate a new target object in the new coordinate system. Relative coordinate; then calculating the coordinate point of the target object on the plane of the imaging image of the observation device according to the new relative coordinate of the target object;判断模块:用于判断所述坐标点是否位于成像画面内,若是,在所述坐标点处显示一个投影或一组关联信息投影;否则,执行显示模块;a judging module: configured to determine whether the coordinate point is located in an imaging screen, and if so, display a projection or a set of related information projections at the coordinate point; otherwise, execute a display module;显示模块:用于将成像画面的外部划分为若干个区域,在成像画面内与坐标点所在区域匹配的位置上显示一个投影或一组关联信息投影。Display module: used to divide the outside of the imaging picture into several areas, and display a projection or a set of related information projections at positions matching the area where the coordinate points are located in the imaging picture.
- 如权利要求4所述的智能显示视觉图像的位置信息处理系统,其特征在于:显示模块具体包括如下子模块:The position information processing system for intelligently displaying a visual image according to claim 4, wherein the display module comprises the following sub-modules:设置子模块:用于将成像画面定义为由第一长边、第一宽边、第二长边和第二宽边依次 围接而成,将第一长边和第二长边均往左、右两个方向无限延长,得到第一长边的左延线、第一长边的右延线、第二长边的左延线、第二长边的右延线;将第一宽边和第二宽边均往上、下两个方向无限延长,得到第一宽边的上延线、第一宽边的下延线、第二宽边的上延线和第二宽边的下延线;Setting sub-module: for defining an imaged picture by a first long side, a first wide side, a second long side, and a second wide side The first long side and the second long side are infinitely extended in the left and right directions, and the left long line of the first long side, the right extended line of the first long side, and the second long side are obtained. The left extension line and the right extension line of the second long side; the first wide side and the second wide side are extended infinitely in the upper and lower directions, and the upper extension line of the first wide side and the lower side of the first wide side are obtained. An extension line, an upper extension line of the second wide side, and a lower extension line of the second wide side;定义子模块:用于定义第一左延线与第一上延线之间的形成区域为第一区域,第一左延线、第一宽边与第二左延线之间的形成区域第二区域,第二左延线与第一下延线之间的形成区域为第三区域,第一下延线、第二长边与第二下延线之间的形成为第四区域,第二下延线与第二右延线之间的形成区域为第五区域,第二右延线、第二宽边与第一右延线之间的形成区域为第六区域,第一右延线与第二上延线之间的形成区域为第七区域,第二上延线、第一长边与第一上延线之间的形成区域为第八区域;Defining a sub-module: defining a formation area between the first left extension line and the first upper extension line as a first area, a formation area between the first left extension line, the first wide side line, and the second left extension line The second region, the formation region between the second left extension line and the first lower extension line is a third region, and the formation between the first lower extension line and the second long extension line and the second lower extension line is a fourth region, The formation area between the second lower extension line and the second right extension line is a fifth area, and the formation area between the second right extension line, the second wide side and the first right extension line is a sixth area, and the first right extension a formation area between the line and the second upper extension line is a seventh area, and a formation area between the second upper extension line, the first long side and the first upper extension line is an eighth area;显示子模块:用于当坐标点位于第一区域时,在成像画面的左上角显示一个投影或一组关联信息投影;当坐标点位于第二区域时,在成像画面的第一宽边上显示一个投影或一组关联信息投影;当坐标点位于第三区域时,在成像画面的左下角显示一个投影或一组关联信息投影;当坐标点位于第四区域时,在成像画面的第二长边上显示一个投影或一组关联信息投影;当坐标点位于第五区域时,在成像画面的右下角显示一个投影或一组关联信息投影;当坐标点位于第六区域时,在成像画面的第二宽边上显示一个投影或一组关联信息投影;当坐标点位于第七区域时,在成像画面的右上角显示一个投影或一组关联信息投影;当坐标点位于第八区域时,在成像画面的第一长边上显示一个投影或一组关联信息投影。Display sub-module: for displaying a projection or a set of related information projections in the upper left corner of the imaging picture when the coordinate point is located in the first area; displaying on the first wide side of the imaging picture when the coordinate point is located in the second area A projection or a set of related information projections; when the coordinate point is in the third region, a projection or a set of related information projections are displayed in the lower left corner of the imaged image; and when the coordinate point is located in the fourth region, the second longest in the imaged image A projection or a set of related information projections are displayed on the side; when the coordinate point is located in the fifth region, a projection or a set of related information projections are displayed in the lower right corner of the imaging image; when the coordinate points are located in the sixth region, in the imaging image A projection or a set of related information projections is displayed on the second wide side; when the coordinate point is located in the seventh area, a projection or a set of related information projections are displayed in the upper right corner of the imaged image; when the coordinate points are located in the eighth region, A projection or a set of related information projections is displayed on the first long side of the imaged image.
- 如权利要求4所述的智能显示视觉图像的位置信息处理系统,其特征在于:在获取模块中,目标物体的相对坐标为p(Px,Py,Pz);计算模块具体包括如下子模块:The position information processing system for intelligently displaying a visual image according to claim 4, wherein in the acquisition module, the relative coordinates of the target object are p(P x , P y , P z ); the calculation module specifically includes the following Module:获取子模块:用于获取观测设备的水平偏移角度记为arg1,获取观测设备的垂直偏移角度记为arg2,定义该观测设备偏移后以该观测设备为原点形成一新坐标系;Obtain sub-module: the horizontal offset angle used to obtain the observing device is recorded as arg 1 , and the vertical offset angle of the observing device is recorded as arg 2 . After defining the observing device offset, the observing device is used as the origin to form a new coordinate system. ;第一计算子模块:用于通过公式求得目标物体与观测设备直接的长度,其中,l为目标物体与观测设备直接的长度;First calculation sub-module: used to pass the formula Find the direct length of the target object and the observation device, where l is the length directly between the target object and the observation device;第二计算子模块:用于通过公式求出目标物体与X轴的水平夹角,并通过公式A'hori=Ahori+arg1得到目标物体在新坐标系中与X轴的水平夹角,其中,Ahori为目标物体与X轴的水平夹角,A'hori为目标物体在新坐标系中与X轴的水平夹角;Second calculation sub-module: used to pass the formula Find the horizontal angle between the target object and the X-axis, and obtain the horizontal angle of the target object with the X-axis in the new coordinate system by the formula A' hori =A hori +arg 1 , where A hori is the target object and the X-axis. The horizontal angle of the angle, A' hori is the horizontal angle of the target object with the X axis in the new coordinate system;第三计算子模块:用于通过公式求出目标物体在xy平面上的射影,根据公式求出目标物体与xy平面的垂直夹角,并通过公式A′vert=Avert+arg2求出目标物体在新坐标系中与Y轴的垂直夹角,其中,lxy为目标物体在xy平面上的射影,Avert为目标物体与xy平面的垂直夹角,A′vert为目标物体在新坐标系中与Y轴的垂直夹角; Third calculation sub-module: used to pass the formula Find the projection of the target object on the xy plane, according to the formula Find the vertical angle between the target object and the xy plane, and find the vertical angle of the target object with the Y axis in the new coordinate system by the formula A' vert = A vert + arg 2 , where l xy is the target object at xy Projective on the plane, A vert is the vertical angle between the target object and the xy plane, and A' vert is the vertical angle of the target object with the Y axis in the new coordinate system;第四计算子模块:用于根据公式q3=l*sin(A′vert)求得目标物体在新坐标系中的Z轴坐标,根据公式l'xy=l*cos(A′vert)求得目标物体在新坐标系的xy平面上的射影长度,根据公式q1=l'xy*cos(A'hori)求得目标物体在新坐标系中X轴坐标,根据公式q2=l'xy*sin(A'hori)求得目标物体在新坐标系中的Y轴坐标,其中,q3为目标物体在新坐标系中的Z轴坐标,l'xy为目标物体在新坐标系的xy平面上的射影长度,q1为目标物体在新坐标系中X轴坐标,q2为目标物体在新坐标系中的Y轴坐标;The fourth calculation sub-module is used to obtain the Z-axis coordinate of the target object in the new coordinate system according to the formula q 3 =l*sin(A' vert ), and obtain the formula according to the formula l' xy =l*cos(A' vert ) Obtain the projective length of the target object on the xy plane of the new coordinate system, and obtain the X-axis coordinate of the target object in the new coordinate system according to the formula q 1 =l' xy *cos(A' hori ), according to the formula q 2 =l' Xy *sin(A' hori ) finds the Y-axis coordinate of the target object in the new coordinate system, where q 3 is the Z-axis coordinate of the target object in the new coordinate system, and l' xy is the target object in the new coordinate system. Projective length on the xy plane, q 1 is the X-axis coordinate of the target object in the new coordinate system, and q 2 is the Y-axis coordinate of the target object in the new coordinate system;第五计算子模块:用于根据目标物体在新坐标系中的X轴坐标、Y轴坐标和Z坐标求得目标物体的新相对坐标为q(q1,q2,q3),并根据目标物体的新相对坐标求得该目标物体在观测设备的成像画面所在平面上的坐标点。 The fifth calculation sub-module is configured to obtain a new relative coordinate of the target object as q(q 1 , q 2 , q 3 ) according to the X-axis coordinate, the Y-axis coordinate and the Z coordinate of the target object in the new coordinate system, and according to The new relative coordinates of the target object determine the coordinate point of the target object on the plane of the imaging picture of the observation device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610375415.6 | 2016-05-30 | ||
CN201610375415.6A CN106097309B (en) | 2016-05-30 | 2016-05-30 | A kind of position information processing method and system of intelligent display visual pattern |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017206824A1 true WO2017206824A1 (en) | 2017-12-07 |
Family
ID=57230885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/086257 WO2017206824A1 (en) | 2016-05-30 | 2017-05-27 | Position information processing method and system for use in smart display of visual images |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106097309B (en) |
WO (1) | WO2017206824A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111199546A (en) * | 2018-11-20 | 2020-05-26 | 唯思科技(北京)有限公司 | Security image interception method based on angular point detection and gray level projection |
CN114286066A (en) * | 2021-12-23 | 2022-04-05 | 深圳市火乐科技发展有限公司 | Projection correction method, projection correction device, storage medium and projection equipment |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106097309B (en) * | 2016-05-30 | 2017-12-19 | 广州巧瞳科技有限公司 | A kind of position information processing method and system of intelligent display visual pattern |
CN106650705B (en) * | 2017-01-17 | 2020-04-24 | 深圳地平线机器人科技有限公司 | Region labeling method and device and electronic equipment |
CN114266762A (en) * | 2021-12-27 | 2022-04-01 | 咪咕文化科技有限公司 | Method, device and equipment for acquiring seat data and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101666656A (en) * | 2008-09-05 | 2010-03-10 | 宏达国际电子股份有限公司 | Method and device for operating the visual field of electronic map and computer program product used thereby |
CN102629431A (en) * | 2012-03-13 | 2012-08-08 | 深圳市融创天下科技股份有限公司 | Position orientation method based on map, device thereof and system thereof |
US20130257907A1 (en) * | 2012-03-30 | 2013-10-03 | Sony Mobile Communications Inc. | Client device |
CN104599232A (en) * | 2015-01-21 | 2015-05-06 | 山东大学 | Augmented reality method based on topocentric coordinate system and perspective projection |
CN105227881A (en) * | 2015-09-15 | 2016-01-06 | 海信集团有限公司 | A kind of projected picture correcting method and projector equipment |
CN106097309A (en) * | 2016-05-30 | 2016-11-09 | 余同立 | The position information processing method of a kind of intelligent display visual pattern and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3690402B2 (en) * | 2003-03-28 | 2005-08-31 | セイコーエプソン株式会社 | Image processing system, projector, program, information storage medium, and image processing method |
US9754357B2 (en) * | 2012-03-23 | 2017-09-05 | Panasonic Intellectual Property Corporation Of America | Image processing device, stereoscoopic device, integrated circuit, and program for determining depth of object in real space generating histogram from image obtained by filming real space and performing smoothing of histogram |
US9652881B2 (en) * | 2012-11-19 | 2017-05-16 | Panasonic Intellectual Property Management Co., Ltd. | Image processing device and image processing method |
CN104077802B (en) * | 2014-07-16 | 2018-01-05 | 四川蜜蜂科技有限公司 | The method that enhancing virtual scene real-time simulation image is shown |
-
2016
- 2016-05-30 CN CN201610375415.6A patent/CN106097309B/en active Active
-
2017
- 2017-05-27 WO PCT/CN2017/086257 patent/WO2017206824A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101666656A (en) * | 2008-09-05 | 2010-03-10 | 宏达国际电子股份有限公司 | Method and device for operating the visual field of electronic map and computer program product used thereby |
CN102629431A (en) * | 2012-03-13 | 2012-08-08 | 深圳市融创天下科技股份有限公司 | Position orientation method based on map, device thereof and system thereof |
US20130257907A1 (en) * | 2012-03-30 | 2013-10-03 | Sony Mobile Communications Inc. | Client device |
CN104599232A (en) * | 2015-01-21 | 2015-05-06 | 山东大学 | Augmented reality method based on topocentric coordinate system and perspective projection |
CN105227881A (en) * | 2015-09-15 | 2016-01-06 | 海信集团有限公司 | A kind of projected picture correcting method and projector equipment |
CN106097309A (en) * | 2016-05-30 | 2016-11-09 | 余同立 | The position information processing method of a kind of intelligent display visual pattern and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111199546A (en) * | 2018-11-20 | 2020-05-26 | 唯思科技(北京)有限公司 | Security image interception method based on angular point detection and gray level projection |
CN111199546B (en) * | 2018-11-20 | 2023-01-17 | 唯思科技(北京)有限公司 | Security image interception method based on corner detection and gray projection |
CN114286066A (en) * | 2021-12-23 | 2022-04-05 | 深圳市火乐科技发展有限公司 | Projection correction method, projection correction device, storage medium and projection equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106097309B (en) | 2017-12-19 |
CN106097309A (en) | 2016-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017206824A1 (en) | Position information processing method and system for use in smart display of visual images | |
US20230412902A1 (en) | Image processing device, image processing method, and recording medium | |
JP2020184795A (en) | Video monitoring system, video monitoring method, and program | |
US8515130B2 (en) | Conference system, monitoring system, image processing apparatus, image processing method and a non-transitory computer-readable storage medium | |
USRE47925E1 (en) | Method and multi-camera portable device for producing stereo images | |
US10296783B2 (en) | Image processing device and image display device | |
JP6645151B2 (en) | Projection apparatus, projection method, and computer program for projection | |
JP2009042162A (en) | Calibration device and method therefor | |
WO2013125099A1 (en) | Augmented reality image processing device and method | |
WO2017156949A1 (en) | Transparent display method and transparent display apparatus | |
WO2018188277A1 (en) | Sight correction method and device, intelligent conference terminal and storage medium | |
CN108205822B (en) | Picture pasting method and device | |
CN106709865A (en) | Depth image synthetic method and device | |
CN104134235A (en) | Real space and virtual space fusion method and real space and virtual space fusion system | |
US20140168375A1 (en) | Image conversion device, camera, video system, image conversion method and recording medium recording a program | |
TWI615808B (en) | Image processing method for immediately producing panoramic images | |
TW201335884A (en) | System and method for computer graphics image processing using augmented reality technology | |
KR101634283B1 (en) | The apparatus and method of 3d modeling by 3d camera calibration | |
JP2017134467A (en) | Information processor, information processing method and information processing program | |
JP2020014075A (en) | Image projection system, image projection method, and program | |
JP6210447B2 (en) | Line-of-sight measuring device, method of displaying a gaze point, method of displaying a gaze region, and method of displaying a Gaussian distribution of a gaze point | |
EP2866446A1 (en) | Method and multi-camera portable device for producing stereo images | |
TW201620698A (en) | Method and apparatus of generating a 3-D model from a, object | |
JP2015201707A (en) | Display pattern generation apparatus, and program for the same | |
WO2017057426A1 (en) | Projection device, content determination device, projection method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17805769 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17805769 Country of ref document: EP Kind code of ref document: A1 |