Virtual image content measurement method, device, electronic device and storage medium

By displaying content metric tools on virtual image content pages, using metric reference images or content depiction controls, the problem of inconsistent camera detection effects is solved, and scientific and accurate detection of content in virtual reality or augmented reality scenarios is achieved.

CN114648498BActive Publication Date: 2025-08-08HUIZHOU TCL MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210207278.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2025-08-08
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

In the prior art, in virtual reality or augmented reality scenarios, it is difficult for cameras to accurately detect low-quality content, resulting in inconsistent detection effects.

Method used

By displaying content metric tools on the virtual image content page, using the metric reference image or content description control, the content size and position are compared and depicted, and the measurement results of the content to be measured are determined.

Benefits of technology

It realizes scientific and accurate detection of content in virtual reality or augmented reality scenarios, and improves the consistency of detection effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114648498B_ABST
    Figure CN114648498B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a virtual image content measurement method, device, electronic device and storage medium; the embodiment of the present invention can display a virtual image content page, which includes content to be measured. In response to a measurement request operation, a content measurement tool is displayed on the virtual image content page, and a measurement result of the content to be measured is determined based on a content measurement operation on the content measurement tool; in the embodiment of the present invention, since the content measurement tool is mapped to the virtual image content page with the content to be measured, the content to be measured in the virtual reality or augmented reality scene can be measured by operating the content measurement tool in the virtual image content page, which facilitates the detection of content display problems existing in the virtual image content page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal technology, and in particular to a virtual image content measurement method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of augmented reality and virtual reality technologies, users have increasingly higher requirements for the quality of virtual reality images. This requires not only improving the performance parameters of virtual reality or augmented reality scenes, but also more scientific and accurate quality detection methods to detect the quality of content displayed in virtual reality or augmented reality scenes.

[0003] Currently, the primary method for testing the quality of content displayed in virtual or augmented reality scenarios is to use a camera to capture low-quality content in the virtual image, such as smudges and unwanted lines. However, this approach affects the captured image because the optical path in the camera is difficult to match with the optical path in the virtual or augmented reality scene. Furthermore, the camera's image quality is difficult to reconcile with the low-quality content captured by the human eye, which affects the detection results. Summary of the Invention

[0004] Embodiments of the present invention provide a virtual image content measurement method, device, electronic device, and storage medium, which can measure display content in a virtual reality or augmented reality scene, thereby facilitating the detection of content display problems in the virtual screen.

[0005] An embodiment of the present invention provides a method for measuring virtual image content, including:

[0006] Displaying a virtual image content page, wherein the virtual image content page includes content to be measured;

[0007] In response to a metrics request operation, displaying a content metrics tool on the virtual content page;

[0008] Based on the content measurement operation of the content measurement tool, a measurement result of the content to be measured is determined.

[0009] Accordingly, an embodiment of the present invention provides a virtual image content measurement device, comprising:

[0010] A page display unit, configured to display a virtual image content page, wherein the virtual image content page includes content to be measured;

[0011] a tool display unit, configured to display a content measurement tool on the virtual content page in response to a measurement request operation;

[0012] A result determination unit is configured to determine a measurement result of the content to be measured based on a content measurement operation performed on the content measurement tool.

[0013] Optionally, the content to be measured is obtained by projecting a preset real image based on preset virtual image mapping parameters, and the tool display unit is used to display a measurement reference image on the virtual image content page in response to a measurement request operation, wherein the measurement reference image is obtained by projecting a preset reference image based on the same virtual image mapping parameters as the content to be measured, and the measurement reference image includes measurement reference content corresponding to the content to be measured;

[0014] The result determination unit is configured to compare the content to be measured with the measurement reference content in the measurement reference image based on a content measurement operation on the measurement reference image, to obtain a measurement result of the content to be measured.

[0015] Optionally, the tool display unit is configured to display a content depiction control on the virtual content page in response to a measurement request operation, wherein the content depiction control is configured to depict the content to be measured;

[0016] The result determining unit is configured to determine a measurement result of the content to be measured based on a content rendering operation on the content rendering control.

[0017] Optionally, the result determination unit is configured to move the measurement reference content corresponding to the content to be measured to a comparison position of the content to be measured based on a motion control operation on the measurement reference image;

[0018] At the comparison position, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

[0019] Optionally, the result determining unit is configured to obtain a content area corresponding to the content to be measured based on a content rendering operation on the content rendering control;

[0020] Determining the number of pixels in the content area;

[0021] A measurement result of the content to be measured is determined according to the number of pixels.

[0022] Optionally, the result determining unit is configured to determine a drawing track of the content drawing operation based on the content drawing operation on the content drawing control;

[0023] When the drawing trajectory is a closed trajectory, the area within the closed trajectory is used as the content area corresponding to the content to be measured;

[0024] Calculating the area of the content area according to the number of pixels and the area of the pixels;

[0025] A measurement result of the content to be measured is determined according to the area of the content region.

[0026] Optionally, the result determining unit is configured to determine a drawing track of the content drawing operation based on the content drawing operation on the content drawing control;

[0027] When the depicted trajectory is a non-closed trajectory, the trajectory area of the non-closed trajectory is used as the content area corresponding to the content to be measured;

[0028] Calculating the area length of the content area according to the number and size of the pixels;

[0029] A measurement result of the content to be measured is determined according to the area length of the content area.

[0030] Correspondingly, an embodiment of the present invention further provides an electronic device comprising a memory and a processor; the memory stores an application, and the processor is used to run the application in the memory to execute the steps in any one of the virtual image content measurement methods provided in the embodiments of the present invention.

[0031] Accordingly, an embodiment of the present invention further provides a computer-readable storage medium storing a plurality of instructions suitable for loading by a processor to execute the steps of any one of the virtual image content measurement methods provided in the embodiments of the present invention.

[0032] In addition, an embodiment of the present invention further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any one of the virtual image content measurement methods provided by the embodiments of the present invention.

[0033] By adopting the solution of the embodiment of the present invention, a virtual content page can be displayed, which includes the content to be measured. In response to the measurement request operation, a content measurement tool is displayed on the virtual content page, and the measurement result of the content to be measured is determined based on the content measurement operation on the content measurement tool. In the embodiment of the present invention, since the content measurement tool is mapped to the virtual content page with the content to be measured, the content measurement tool can be operated in the virtual content page to measure the content to be measured in the virtual reality or augmented reality scene, which facilitates the detection of content display problems in the virtual content page. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 Schematic diagram of a scenario of a virtual image content measurement method provided by an embodiment of the present invention;

[0036] Figure 2 is a flow chart of a method for measuring virtual image content provided by an embodiment of the present invention;

[0037] Figure 3 This is a schematic diagram of a login page provided by an embodiment of the present invention;

[0038] Figure 4 This is a schematic diagram of an authorization login page provided by an embodiment of the present invention;

[0039] Figure 5 This is another schematic diagram of the authorization login page provided by an embodiment of the present invention;

[0040] Figure 6 This is another schematic diagram of the authorization login page provided by an embodiment of the present invention;

[0041] Figure 7 2 is a schematic structural diagram of a virtual image content measurement device provided by an embodiment of the present invention;

[0042] Figure 8 is another structural schematic diagram of the virtual image content measurement device provided by an embodiment of the present invention;

[0043] Figure 9 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present invention.

[0045] Embodiments of the present invention provide a virtual image content measurement method, device, electronic device, and computer-readable storage medium. Specifically, embodiments of the present invention provide a virtual image content measurement method applicable to a virtual image content measurement device, which can be integrated into an electronic device.

[0046] The electronic device may be a terminal or other device, including but not limited to a mobile terminal, for example, a mobile terminal includes but is not limited to a smart phone, a smart watch, a tablet computer, a laptop computer, a smart car device, etc.

[0047] The virtual image content measurement method according to the embodiment of the present invention may be implemented by a terminal, or may be implemented jointly by a terminal and a server.

[0048] The following describes the method by taking the implementation of the virtual image content measurement method by a terminal as an example.

[0049] like Figure 1 As shown, the virtual content measurement system provided by an embodiment of the present invention includes a terminal 10. The terminal 10 can be used to display a virtual content page, which includes content to be measured. In response to a measurement request operation, a content measurement tool is displayed on the virtual content page. Based on the content measurement operation performed on the content measurement tool, a measurement result of the content to be measured is determined.

[0050] It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0051] The embodiment of the present invention will be described from the perspective of a virtual image content measurement device, which can be integrated into a server or a terminal.

[0052] like Figure 2 As shown, the specific process of the virtual image content measurement method of this embodiment can be as follows:

[0053] 201. Display a virtual image content page, where the virtual image content page includes content to be measured.

[0054] The virtual image content page consists of the content currently viewed by the user in the virtual reality or augmented reality scene. It is understood that in a virtual reality or augmented reality scene, the content viewed by the user is actually a virtual image projected to the human eye, and the size of the projected virtual image is not fixed but varies with changes in projection parameters.

[0055] However, traditional projection or TV industries project real images. Therefore, it is difficult to measure the variable virtual image content in virtual reality or augmented reality scenes using measurement methods for real images.

[0056] In the embodiment of the present invention, the content to be measured is virtual image content that needs to be measured, such as stains in the content page to be measured, areas that do not meet preset sizes, lines that may not meet preset lengths and / or widths, etc.

[0057] Through measurement, the content size of the content to be measured can be determined, such as the size of the stain, the length of the line, etc.

[0058] 202. In response to the measurement request operation, display a content measurement tool on the virtual content page.

[0059] The virtual image content page may include a tool display control, and the measurement request operation may be a triggering operation on the tool display control. Alternatively, the measurement request operation may be a double-click at any or a fixed location on the virtual image content page, or a user performing a gesture or posture, or other single or combined operations, etc., which are not limited in the embodiments of the present invention.

[0060] Specifically, the content measurement tool can be used to measure the content size of the content to be measured. In some optional embodiments, the content measurement tool can be a measurement reference image. The step of "displaying the content measurement tool on the virtual image content page in response to the measurement request operation" can specifically include:

[0061] In response to the measurement request operation, a measurement reference image is displayed on the virtual image content page. The measurement reference image is obtained by projecting a preset reference image based on the same virtual image mapping parameters as the content to be measured. The measurement reference image includes measurement reference content corresponding to the content to be measured.

[0062] For example, the metric reference image can be Figure 3 As shown, there are points and lines of different sizes and lengths in the measurement reference image. The points and lines in this measurement reference image can be collectively referred to as standard points and standard lines. It can be understood that the content in the measurement reference image is not limited to the form or content shown in the figure. Technicians can also make separate standard features to generate a measurement reference image, and then perform feature selection and switching comparison.

[0063] In some examples, the metric reference image may also be in the form of a window.

[0064] In some other optional embodiments, the content metric tool may be a content depiction control that can depict the content to be measured. That is, the step of "displaying the content metric tool on the virtual content page in response to the measurement request operation" may specifically include:

[0065] In response to the measurement request operation, a content depiction control is displayed on the virtual content page, where the content depiction control is used to depict the content to be measured.

[0066] The content depiction control may be in the form of a cursor or any other control form, which is not limited in the embodiment of the present invention.

[0067] It should be noted that in some examples, the content to be measured is obtained by projecting a preset real image based on preset virtual image mapping parameters, and the content measurement tools of this application, such as the measurement reference image, and the lines drawn by the content depiction control, etc., also use the optical system in the virtual reality or augmented reality scene to map to the virtual image content page of the content to be measured.

[0068] 203. Determine a measurement result of the content to be measured based on a content measurement operation of the content measurement tool.

[0069] When the content measurement tool is a measurement reference image, step 203 may specifically include:

[0070] Based on the content measurement operation on the measurement reference image, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

[0071] Specifically, the content measurement operation may be an operation such as translation or rotation of the measurement reference image. For example, the step of "comparing the content to be measured with the measurement reference content in the measurement reference image based on the content measurement operation on the measurement reference image to obtain a measurement result of the content to be measured" may specifically include:

[0072] Based on a motion control operation on the measurement reference image, moving the measurement reference content corresponding to the content to be measured to a comparison position of the content to be measured;

[0073] At the comparison position, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

[0074] In some examples, the motion control operation may be no operation, and the measurement reference content may be directly displayed at the comparison position.

[0075] Or, as Figure 4 As shown in the figure, when a defective point (content to be measured) is detected during detection, the measurement reference image is displayed and moved closer to the defective point. The size of the defective point can be determined by comparing it closely with or covering the point to be measured based on the measurement reference content in the measurement reference image.

[0076] Or, as Figure 5 As shown, when it is necessary to measure the line length or compare the line width, the measurement reference image can be rotated through motion control operations to rotate the measurement reference image to the same angle as the line angle, and then the line length measurement or line width comparison can be performed.

[0077] It is understandable that after the measurement is completed, in order to check whether there are other bad phenomena in the virtual image content page, and at the same time avoid confusion between the points in the measurement reference window or the measurement reference image and the bad points, a display / hide function can be set for the measurement reference image to facilitate switching during measurement.

[0078] Wherein, when the content measurement tool is a content depiction control, the step of "determining the measurement result of the content to be measured based on the content measurement operation of the content measurement tool" may specifically include:

[0079] Based on the content rendering operation on the content rendering control, a measurement result of the content to be measured is determined.

[0080] Specifically, the step of “determining the measurement result of the content to be measured based on the content rendering operation on the content rendering control” may include:

[0081] Obtaining a content area corresponding to the content to be measured based on a content drawing operation on the content drawing control;

[0082] Determining the number of pixels in the content area;

[0083] A measurement result of the content to be measured is determined according to the number of pixels.

[0084] For example, Figure 6 As shown, the user can circle the range where a content is located through the content description operation, and can calculate the size of the content to be measured based on the circled range.

[0085] That is, in some optional embodiments, the step of “obtaining the content area corresponding to the content to be measured based on the content rendering operation on the content rendering control” may specifically include:

[0086] determining a drawing trajectory of the content drawing operation based on the content drawing operation on the content drawing control;

[0087] When the drawing trajectory is a closed trajectory, the area within the closed trajectory is used as the content area corresponding to the content to be measured;

[0088] Accordingly, the step of “determining the measurement result of the content to be measured according to the number of pixels” includes:

[0089] Calculating the area of the content area according to the number of pixels and the area of the pixels;

[0090] A measurement result of the content to be measured is determined according to the area of the content region.

[0091] For example, for point detection, the user can use the content drawing control (such as a brush) to draw the edge of the stain. After the drawing is completed, the stain area S = N*△S (where △S is the area of a single pixel) can be calculated by detecting the number of pixels N in the content area (drawing area).

[0092] Furthermore, in the embodiment of the present invention, the total area can be converted into a standard circle of the same area, and the diameter of the circle is used to define the size of the stain, that is, the stain size

[0093] In other examples, such as Figure 7 As shown, the user can use the content drawing operation to draw the range where a content is located, and the size of the content to be measured can be calculated based on the drawn range.

[0094] That is, in some optional embodiments, the step of “obtaining the content area corresponding to the content to be measured based on the content rendering operation on the content rendering control” may specifically include:

[0095] determining a drawing trajectory of the content drawing operation based on the content drawing operation on the content drawing control;

[0096] When the depicted trajectory is a non-closed trajectory, the trajectory area of the non-closed trajectory is used as the content area corresponding to the content to be measured;

[0097] Accordingly, the step of “determining the measurement result of the content to be measured according to the number of pixels” includes:

[0098] Calculating the area length of the content area according to the number and size of the pixels;

[0099] A measurement result of the content to be measured is determined according to the area length of the content area.

[0100] For example, for lines, you can also choose to draw line tracks and calculate the length of the defective line by detecting the number of pixels N occupied by the drawn track, that is, L = N*△L (△L is the size of a single pixel). It should be noted that in order to ensure accuracy, the line width of the drawn track should be 1 pixel. If the line width is not one pixel but W pixels, the line length should be L = N*△L / W.

[0101] It is understood that in embodiments of the present invention, one may select only one type of content measurement tool, or a combination of different types of content measurement tools may be used. For example, to detect smaller points, such as stains that occupy only one or two pixels, a measurement reference image may be used, while detecting curved stain lines may employ a content depiction control, and so on.

[0102] As can be seen from the above, an embodiment of the present invention can display a virtual content page, which includes content to be measured. In response to a measurement request operation, a content measurement tool is displayed on the virtual content page, and based on the content measurement operation on the content measurement tool, the measurement result of the content to be measured is determined; in an embodiment of the present invention, since the content measurement tool is mapped to the virtual content page with the content to be measured, the content measurement tool can be operated in the virtual content page to measure the content to be measured in the virtual reality or augmented reality scene, which is convenient for detecting content display problems in the virtual content page.

[0103] In order to better implement the above method, accordingly, an embodiment of the present invention further provides a virtual image content measurement device.

[0104] refer to Figure 8 , the device comprises:

[0105] The page display unit 801 may be used to display a virtual image content page, wherein the virtual image content page may include content to be measured;

[0106] A tool display unit 802 may be configured to display a content measurement tool on the virtual content page in response to a measurement request operation;

[0107] The result determination unit 803 may be configured to determine a measurement result of the content to be measured based on a content measurement operation of the content measurement tool.

[0108] In some optional embodiments, the content to be measured is obtained by projecting a preset real image based on preset virtual image mapping parameters. The tool display unit 802 may be configured to display a measurement reference image on the virtual image content page in response to a measurement request operation. The measurement reference image is obtained by projecting a preset reference image based on the same virtual image mapping parameters as the content to be measured. The measurement reference image may include measurement reference content corresponding to the content to be measured.

[0109] The result determination unit 803 may be configured to compare the content to be measured with the measurement reference content in the measurement reference image based on a content measurement operation on the measurement reference image to obtain a measurement result of the content to be measured.

[0110] In some optional embodiments, the tool display unit 802 may be configured to display a content depiction control on the virtual content page in response to a measurement request operation, wherein the content depiction control may be configured to depict the content to be measured;

[0111] The result determining unit 803 may be configured to determine a measurement result of the content to be measured based on a content rendering operation on the content rendering control.

[0112] In some optional embodiments, the result determination unit 803 may be configured to move the measurement reference content corresponding to the content to be measured to a comparison position of the content to be measured based on a motion control operation on the measurement reference image;

[0113] At the comparison position, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

[0114] In some optional embodiments, the result determining unit 803 may be configured to obtain a content area corresponding to the content to be measured based on a content rendering operation on the content rendering control;

[0115] Determining the number of pixels in the content area;

[0116] A measurement result of the content to be measured is determined according to the number of pixels.

[0117] In some optional embodiments, the result determining unit 803 may be configured to determine a drawing track of the content drawing operation based on the content drawing operation on the content drawing control;

[0118] When the drawing trajectory is a closed trajectory, the area within the closed trajectory is used as the content area corresponding to the content to be measured;

[0119] Calculating the area of the content area according to the number of pixels and the area of the pixels;

[0120] A measurement result of the content to be measured is determined according to the area of the content region.

[0121] In some optional embodiments, the result determining unit 803 may be configured to determine a drawing track of the content drawing operation based on the content drawing operation on the content drawing control;

[0122] When the depicted trajectory is a non-closed trajectory, the trajectory area of the non-closed trajectory is used as the content area corresponding to the content to be measured;

[0123] Calculating the area length of the content area according to the number and size of the pixels;

[0124] A measurement result of the content to be measured is determined according to the area length of the content area.

[0125] As can be seen from the above, a virtual content page can be displayed through the virtual content measurement device, which includes the content to be measured. In response to the measurement request operation, a content measurement tool is displayed on the virtual content page, and based on the content measurement operation on the content measurement tool, the measurement result of the content to be measured is determined; in an embodiment of the present invention, since the content measurement tool is mapped to the virtual content page with the content to be measured, the content measurement tool can be operated in the virtual content page to measure the content to be measured in the virtual reality or augmented reality scene, which is convenient for detecting content display problems in the virtual content page.

[0126] In addition, an embodiment of the present invention further provides an electronic device, which may be a terminal or a server, etc. Figure 9 , which shows a schematic structural diagram of an electronic device involved in an embodiment of the present invention, specifically:

[0127] The electronic device may include components such as a radio frequency (RF) circuit 901, a memory 902 including one or more computer-readable storage media, an input unit 903, a display unit 904, a sensor 905, an audio circuit 906, a wireless fidelity (WiFi) module 907, a processor 908 including one or more processing cores, and a power supply 909. It will be understood by those skilled in the art that Figure 9 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0128] The RF circuit 901 can be used to receive and send signals during information transmission or calls. In particular, after receiving downlink information from the base station, it is handed over to one or more processors 908 for processing; in addition, uplink data is sent to the base station. Generally, the RF circuit 901 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 901 can also communicate with the network and other devices via wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0129] The memory 902 can be used to store software programs and modules, and the processor 908 executes various functional applications and data processing by running the software programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 902 may also include a memory controller to provide the processor 908 and the input unit 903 with access to the memory 902.

[0130] The input unit 903 can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical, or trackball signal input related to user settings and function control. Specifically, in one embodiment, the input unit 903 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or touchpad, can detect user touch operations on or near it (for example, operations performed by a user using a finger, stylus, or any other suitable object or accessory on or near the touch-sensitive surface) and drive corresponding connected devices according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. The touch detection device detects the user's touch direction and detects signals generated by the touch operation, transmitting the signals to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 908. It can also receive and execute commands from the processor 908. In addition, touch-sensitive surfaces can be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface, the input unit 903 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0131] The display unit 904 can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 904 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Furthermore, the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 908 to determine the type of touch event, and then the processor 908 provides corresponding visual output on the display panel according to the type of touch event. Although in Figure 9 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.

[0132] The electronic device may also include at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the electronic device is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that the electronic device can also be configured with, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

[0133] Audio circuit 906, speakers, and microphones provide an audio interface between the user and the electronic device. Audio circuit 906 converts received audio data into electrical signals and transmits them to the speaker, which then converts them into sound signals for output. The microphone, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 906 and converted into audio data. The audio data is then processed by output processor 908 and transmitted via RF circuit 901 to, for example, another electronic device. Alternatively, the audio data is output to memory 902 for further processing. Audio circuit 906 may also include an earphone jack to allow communication between external headphones and the electronic device.

[0134] WiFi is a short-range wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 907. It provides users with wireless broadband Internet access. Figure 9 A WiFi module 907 is shown, but it is understandable that it is not an essential component of the electronic device and can be omitted as needed without changing the essence of the invention.

[0135] The processor 908 is the control center of the electronic device. It connects all parts of the phone using various interfaces and circuits. It executes the various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 902 and accessing data stored in the memory 902. Optionally, the processor 908 may include one or more processing cores. Preferably, the processor 908 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into the processor 908.

[0136] The electronic device also includes a power supply 909 (e.g., a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 908 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 909 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0137] Although not shown, the electronic device may also include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 908 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 902 according to the following instructions, and the processor 908 will run the application programs stored in the memory 902 to implement various functions as follows:

[0138] Displaying a virtual image content page, wherein the virtual image content page includes content to be measured;

[0139] In response to a metrics request operation, displaying a content metrics tool on the virtual content page;

[0140] Based on the content measurement operation of the content measurement tool, a measurement result of the content to be measured is determined.

[0141] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0142] To this end, an embodiment of the present invention provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any of the virtual image content measurement methods provided in the embodiments of the present invention. For example, the instructions can execute the following steps:

[0143] Displaying a virtual image content page, wherein the virtual image content page includes content to be measured;

[0144] In response to a metrics request operation, displaying a content metrics tool on the virtual content page;

[0145] Based on the content measurement operation of the content measurement tool, a measurement result of the content to be measured is determined.

[0146] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0147] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0148] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the virtual image content measurement methods provided in the embodiments of the present invention, the beneficial effects that can be achieved by any of the virtual image content measurement methods provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0149] According to one aspect of the present application, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in various optional implementations of the above embodiments.

[0150] The above is a detailed introduction to a virtual image content measurement method, device, electronic device and storage medium provided by an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A virtual image content measurement method, characterized in that: include: Displaying a virtual image content page, wherein the virtual image content page includes content to be measured; wherein the content to be measured includes stains, areas that do not meet preset dimensions, and lines that do not meet preset lengths and / or widths, and the content to be measured is obtained by projecting a preset real image based on preset virtual image mapping parameters; In response to a metrics request operation, displaying a content metrics tool on the virtual content page; Determining a measurement result of the content to be measured based on a content measurement operation of the content measurement tool; The step of displaying a content metric tool on the virtual content page in response to the metric request operation includes: In response to the measurement request operation, displaying a measurement reference image on the virtual image content page, the measurement reference image being obtained by projecting a preset reference image based on the same virtual image mapping parameters as the content to be measured, and the measurement reference image including measurement reference content corresponding to the content to be measured; The determining, based on the content measurement operation on the content measurement tool, a measurement result of the content to be measured, includes: Based on the content measurement operation on the measurement reference image, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

2. The virtual image content measurement method according to claim 1, characterized in that: The operation of displaying a content metric tool on the virtual content page in response to the metric request comprises: In response to the measurement request operation, displaying a content depiction control on the virtual content page, wherein the content depiction control is used to depict the content to be measured; The determining, based on the content measurement operation on the content measurement tool, a measurement result of the content to be measured, includes: Based on the content rendering operation on the content rendering control, a measurement result of the content to be measured is determined.

3. The virtual image content measurement method according to claim 1, characterized in that: The comparing the content to be measured with the measurement reference content in the measurement reference image based on the content measurement operation on the measurement reference image to obtain the measurement result of the content to be measured includes: Based on a motion control operation on the measurement reference image, moving the measurement reference content corresponding to the content to be measured to a comparison position of the content to be measured; At the comparison position, the content to be measured is compared with the measurement reference content in the measurement reference image to obtain a measurement result of the content to be measured.

4. The virtual image content measurement method according to claim 2, characterized in that: The determining, based on the content rendering operation on the content rendering control, a measurement result of the content to be measured, includes: Obtaining a content area corresponding to the content to be measured based on a content drawing operation on the content drawing control; Determining the number of pixels in the content area; A measurement result of the content to be measured is determined according to the number of pixels.

5. The virtual image content measurement method according to claim 2, characterized in that: The obtaining, based on the content drawing operation on the content drawing control, a content area corresponding to the content to be measured, includes: determining a drawing trajectory of the content drawing operation based on the content drawing operation on the content drawing control; When the drawing trajectory is a closed trajectory, the area within the closed trajectory is used as the content area corresponding to the content to be measured; Determining the measurement result of the content to be measured according to the number of pixels includes: Calculating the area of the content area according to the number of pixels and the area of the pixels; A measurement result of the content to be measured is determined according to the area of the content region.

6. The virtual image content measurement method according to claim 2, characterized in that: The obtaining, based on the content drawing operation on the content drawing control, a content area corresponding to the content to be measured, includes: determining a drawing trajectory of the content drawing operation based on the content drawing operation on the content drawing control; When the depicted trajectory is a non-closed trajectory, the trajectory area of the non-closed trajectory is used as the content area corresponding to the content to be measured; Determining the measurement result of the content to be measured according to the number of pixels includes: Calculating the area length of the content area according to the number and size of the pixels; A measurement result of the content to be measured is determined according to the area length of the content area.

7. A virtual image content measurement device, characterized in that: include: A page display unit is configured to display a virtual image content page, wherein the virtual image content page includes content to be measured; wherein the content to be measured includes stains, areas that do not meet preset dimensions, and lines that do not meet preset lengths and / or widths, and the content to be measured is obtained by projecting a preset real image based on preset virtual image mapping parameters; a tool display unit, configured to display a content measurement tool on the virtual content page in response to a measurement request operation; A result determination unit, configured to determine a measurement result of the content to be measured based on a content measurement operation of the content measurement tool; The tool display unit is configured to: in response to a measurement request operation, display a measurement reference image on the virtual image content page, wherein the measurement reference image is obtained by projecting a preset reference image based on virtual image mapping parameters identical to those of the content to be measured, and the measurement reference image includes measurement reference content corresponding to the content to be measured; The result determination unit is configured to: compare the content to be measured with the measurement reference content in the measurement reference image based on a content measurement operation on the measurement reference image, to obtain a measurement result of the content to be measured.

8. An electronic device, characterized in that: The system comprises a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to execute the steps of the virtual image content measurement method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps of the virtual image content measurement method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Display equipment, distortion parameter determination method, device and system thereof and storage medium

    CN111565309A