A method and system for solving screen distortion based on correcting high-definition screen resolution

By obtaining the resolution difference between the design draft and the output result, vertical distortion hedging and optimization processing are performed, and combined with real-time feedback and neural network models, the image distortion problem in high-resolution screen devices is solved, and the design drawing is adaptive to the screen size, improving the Visual effects and user experience.

CN118429235BActive Publication Date: 2024-09-13GUANGZHOU GUOJIAO RUNWAN TRAFFIC INFORMATION CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410895051.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-13
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

In high-resolution large-screen devices, the input resolution does not match the actual pixels, resulting in visual distortion. The existing technology alleviates the graphics distortion through UI design, but it will lead to pixel loss and image quality degradation, and cannot effectively solve the image distortion caused by low-resolution image amplification. Issues with impaired detail and clarity.

Method used

By obtaining the screen resolution difference between the design draft and the output result, vertical distortion hedging and optimization processing are performed, the real-time feedback mechanism is used to adjust the distortion hedging algorithm, and combined with neural network model training, it adapts to different hardware and input signals, and optimizes image processing to Counteract screen distortion.

Benefits of technology

It effectively solves the deformed changes caused by the inconsistent display resolution ratio and appearance size, makes the design drawing adapt to the screen size, improves the visual effect, avoids deformed changes in graphics, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118429235B
    Figure CN118429235B
Patent Text Reader

Abstract

This technology belongs to the field of image visual adjustment technology, and in particular, it relates to a method and system for solving screen distortion based on correcting high-definition screen resolution. The steps of this technology are: obtaining the difference in screen resolution between the design draft and the output result, performing vertical distortion hedging on the image through the software end, optimizing the image on the software end after vertical distortion hedging, adjusting the distortion hedging algorithm on the software end through a real-time feedback mechanism, and conducting comprehensive testing and verification. The present invention solves the problem of deformed changes in the design drawing to be put on the display screen when the display resolution ratio is inconsistent with its appearance size ratio, so that the design drawing adapts to the size of the display screen, thereby making the visualization large-screen demonstration effect better, and there is no need to worry about the problem of deformed changes in charts such as pie charts, doughnut charts, and special-shaped graphics such as squares caused by the hardware size of the display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology belongs to the field of image visual adjustment technology, and in particular, relates to a method and system for solving screen distortion based on correcting high-resolution screens. Background Art

[0002] High-resolution large-screen devices often have the problem of mismatch between input resolution and actual pixels, resulting in visual distortion. When the input resolution is higher than the actual pixels, the device adjusts the signal by scaling or interpolation, resulting in blurred or distorted images, especially jagged edges of text or images. Conversely, low-resolution signals stretch and deform images, resulting in black edges. Solutions include optimizing hardware pixel density and intelligent scaling algorithms to maximize image clarity and authenticity and improve user viewing experience. At present, graphic distortion is mainly alleviated by UI design, which leads to pixel loss and image quality degradation: Handling graphic distortion problems through UI design usually requires scaling, interpolation and other techniques to adjust the image, which may result in image quality degradation and pixel loss. In particular, when a low-resolution image is enlarged to fit a high-resolution screen, the details and clarity of the image may be affected, resulting in a weakened visual experience. Therefore, a method and system for solving screen distortion based on correcting the resolution of a high-resolution screen is urgently needed to solve the above-mentioned problems. Summary of the invention

[0003] The purpose of the present invention is to propose a method and system for solving screen distortion based on correcting high-definition screen resolution, so as to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.

[0004] A method for solving screen distortion based on correcting high-resolution screens, the method comprising the following steps:

[0005] S100: Obtaining the difference in screen resolution between the design draft and the output result;

[0006] S200: Use software to offset vertical distortion of images;

[0007] S300: Optimize the software-side image by offsetting vertical distortion;

[0008] S400: Adjust the distortion hedging algorithm on the software side through a real-time feedback mechanism for comprehensive testing and verification.

[0009] Further, in step S100, the design draft is an image that is edited and produced before the image is played, the design draft is designed based on the software end, the output result is an image played on the screen according to the design draft, and the output result is output based on the hardware end, the resolution of the image in the design draft and the output result is obtained, the difference between the output result resolution and the design draft resolution is calculated to obtain the difference value P, the physical size and resolution of the display screen are obtained, wherein the physical size includes the length and the height, the resolution includes the horizontal resolution and the vertical resolution, and the scaling ratio of the software end and the hardware end is calculated according to the physical size and the design draft size;

[0010] By judging by the difference P, the distortion ratio caused by the design draft and the hardware output can be calculated. The distortion ratio is obtained by measuring the distance ratio between the reference point in the design draft and the corresponding point in the output result. The distortion ratio is the vertical distortion factor.

[0011] Furthermore, in step S200, the vertical distortion of the image is hedged in advance by the distortion ratio calculated from the design draft on the software side and the output result on the hardware side. During the image processing, appropriate adjustments are made to each pixel in the vertical direction according to the distortion ratio to offset the distortion that may occur during hardware display.

[0012] Furthermore, in step S300, the image optimization process includes the following steps:

[0013] S301: Obtain the coordinates of the pixel points where the difference occurs when calculating the difference value P, and record the pixel points as D. Combine the scaling ratios of the hardware end and the software end to calculate the Euclidean distance between the software end and the hardware end of the pixel point, construct an empty set {D}, add the pixel points D to the empty set {D} in the order of the Euclidean distance between the software end and the hardware end from small to large, and number the pixel points D in the empty set {D}, {D}={ }, the subscript represents the sorting number of the Euclidean distance between the software end and the hardware end of the pixel points that have differences when calculating the difference P from small to large, and n represents the total number of pixel points that have differences when calculating the difference P in the image analyzed this time;

[0014] S302: Record the time when the difference pixel points appear, and divide the location density of the difference pixel points, divide the locations with multiple high pixel density into regions, calculate the pixel density, the divided regions have the same area, and obtain the pixel density DP by the total number of difference pixel points appearing in the divided regions / the area of ​​the divided regions, calculate the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear in all the divided regions, and calculate the distortion deviation coefficient in the divided regions by the pixel density and the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear:

[0015] Pf(l(Di)) = * ;

[0016] Wherein, in the formula, Di is an independent variable, Di represents the difference pixel numbered i, l(Di) represents the Euclidean distance between the software end and the hardware end of the pixel point where the difference pixel numbered i appears, and DPe represents the pixel density DP of the divided area numbered e, the pixel point Di is in the divided area numbered e, and Pf(l(Di)) is a function for calculating the distortion deviation coefficient, It is expressed as the ratio of the degree of distortion to the density in the divided area. It is expressed as the minimum value of the Euclidean distance between the software end and the hardware end where the difference pixel appears. The independent variable l(Di) is introduced into the formula to calculate the distortion deviation coefficient of the pixel Di in the divided area e;

[0017] S303: Determine the direction of the distortion deviation, and determine the direction of the distortion from the software end to the hardware end according to the software end and the hardware end of the pixel point where the difference pixel appears, recorded as , record the software-side to hardware-side distortion direction of all difference pixels in the divided area e, and calculate the vector sum to obtain the overall distortion direction of the divided area e .

[0018] Furthermore, the number of image outputs S reflects the transmission efficiency ENi of information transmission between the software end and the hardware end, ENi=S / ti, ti is the time of the projection image output number S, i is the i-th time segment of the record, EN=[ENi], the total number of elements is m, and EN is the set of transmission efficiencies ENi of information transmission between the software end and the hardware end sorted in time order. The information frequency correction value XEN is obtained by calculation, XENi= ), t is the total time, the information frequency correction value XEN is the ratio of the transmission efficiency ENi at time i to the overall transmission efficiency, and the information frequency correction value XEN can be combined with the time period in which the distortion occurs to determine the influence between the distortion and the transmission speed;

[0019] Get the arithmetic mean avg(XENi) of the information frequency correction value, avg() is a function for getting the arithmetic mean in an array;

[0020] Define XENi>avg(XENi)as an occurrence of abnormal information. The transmission time when the abnormal information appears in the projection from the software end to the hardware end is recorded as j. The number of abnormal information recorded in the process of projection from the software end to the hardware end is recorded as k, where k is the number of abnormal information. Combine the distortion deviation coefficient and distortion deviation direction of the difference pixel point in the abnormal information to obtain the distortion deviation coefficient and distortion deviation direction of each divided area at time j.

[0021] T1= + * j( );

[0022] T2= * ;

[0023] g=( );

[0024] Among them, T1 represents the distortion deviation of the divided area at time j, T2 represents the distortion deviation of the pixel point Di at time j, and g includes the sum of the information frequency correction value XEN. T1, T2 and g are combined through the function E(),

[0025] E()=μg ,

[0026] Wherein μ is the distortion error, is a constant value, exp() is an exponential function, if the value of the function E() is ≥1, it means that the transmission efficiency affects the distortion at time j, if the value of the function E() is <1, it means that there is no distortion deviation due to the transmission rate at time j.

[0027] In step S500, the distortion hedging algorithm of the software end is adjusted and optimized through a real-time feedback mechanism, wherein the feedback mechanism includes user feedback and automated testing, and the algorithm is continuously optimized to adapt to different hardware ends and input signals, wherein the input signal is a design draft of the software end;

[0028] After completing the vertical distortion hedging algorithm on the software side, comprehensive testing and verification are carried out by simulating display devices with different resolutions and pixel densities to ensure that the final output results meet the expectations of the design draft. At the same time, the effects under different image content and scenarios also need to be considered.

[0029] Preferably, according to the optimization algorithm to adapt to different hardware ends and input signals, the hardware end and the input signal are put into the neural network model for training. After the training is completed, the design draft of the input software end is quickly judged whether the hardware end is distorted, and the distortion coefficient R is output. The distortion coefficient R is used to judge the probability of distortion after the output. Each distortion coefficient R needs to be trained through a separate neural network model to obtain the mapping relationship between the input data and the distortion coefficient R.

[0030] Among them, in the neural network model, the number of neurons in the network input layer is equal to the number of input data types, the number of neurons in the output layer is equal to the number of output data types, and the number of intermediate layers and the number of neurons in each layer are freely set. The setting of the intermediate layer will directly affect the accuracy of the approximate data of the neural network. Whether the number of intermediate layers or neurons needs to be increased or decreased is determined based on the training results. The calculation method for determining the number of intermediate layers and the number of neurons is:

[0031] The intermediate layers in the neural network model are added layer by layer, and the distortion coefficient R corresponding to the output of the intermediate layer is named to construct a nonlinear regression function, f(R) = , a is a constant value, calculate the variance D of the function's independent variable, D= , where L is the number of intermediate layers at output, is the i-th performance index R of the output, is the input software design draft corresponding to the output performance index R, when =0, A takes the minimum value, where () is to find the partial derivative of the function, A is a parameter for determining the number of intermediate layers, and the value of A is compared with the variance D. If D>A, the output distortion coefficient R is input into the neural network model again, and the number of intermediate layers is increased by 1. If D≤A, the distortion coefficient R is output;

[0032] Update the weight coefficients of neurons by gradient descent:

[0033] (l) = - ;

[0034] in, () is the partial derivative of the function, P and Q are the system output error and neuron weight increment, both are constant values. (l) is the neuron weight coefficient, (l) is the updated neuron weight coefficient, Represents the neuron learning rate, which is (l) Determine the number of neurons to be set in the intermediate layer.

[0035] A system for solving screen distortion based on correcting high-resolution screen resolution, characterized in that the system comprises: an acquisition module, a processing module, a storage module, and data acquired or calculated by the acquisition module and the processing module are stored in the storage module; the acquisition module and the storage module can run a computer program on the processing module, and the processor implements any one of the above methods when executing the computer program. A step in a method for solving screen distortion based on correcting high-resolution screen resolution.

[0036] Beneficial effects of the invention: The invention solves the problem of deformed changes in the design drawing when it is projected onto the display screen when the display resolution ratio is inconsistent with the appearance size ratio, so that the design drawing can adapt to the size of the display screen, thereby making the large-screen visualization presentation better. There is no need to worry about the problem of deformed changes in charts such as pie charts, doughnut charts, and special-shaped graphics such as squares due to the hardware size of the display, thus avoiding visual discomfort and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The above and other features of the present invention will become more obvious by describing in detail the embodiments shown in the accompanying drawings. The same reference numerals in the accompanying drawings of the present invention represent the same or similar elements. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work. In the accompanying drawings:

[0038] Figure 1 Shown is a flow chart of a method for solving screen distortion based on correcting high-definition screen resolution. DETAILED DESCRIPTION

[0039] The following will be combined with the embodiments and drawings to clearly and completely describe the concept, specific structure and technical effects of the present invention, so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0040] like Figure 1 As shown, a method for solving screen distortion based on correcting high-resolution screens comprises the following steps:

[0041] S100: Obtaining the difference in screen resolution between the design draft and the output result;

[0042] S200: Use software to offset vertical distortion of images;

[0043] S300: Optimize the software-side image by offsetting vertical distortion;

[0044] S400: Adjust the distortion hedging algorithm on the software side through a real-time feedback mechanism for comprehensive testing and verification.

[0045] Further, in step S100, the design draft is an image that is edited and produced before the image is played, the design draft is designed based on the software end, the output result is an image played on the screen according to the design draft, and the output result is output based on the hardware end, the resolution of the image in the design draft and the output result is obtained, the difference between the output result resolution and the design draft resolution is calculated to obtain the difference value P, the physical size and resolution of the display screen are obtained, wherein the physical size includes the length and the height, the resolution includes the horizontal resolution and the vertical resolution, and the scaling ratio of the software end and the hardware end is calculated according to the physical size and the design draft size;

[0046] By judging by the difference P, the distortion ratio caused by the design draft and the hardware output can be calculated. The distortion ratio is obtained by measuring the distance ratio between the reference point in the design draft and the corresponding point in the output result. The distortion ratio is the vertical distortion factor.

[0047] Furthermore, in step S200, the vertical distortion of the image is hedged in advance by the distortion ratio calculated from the design draft on the software side and the output result on the hardware side. During the image processing, appropriate adjustments are made to each pixel in the vertical direction according to the distortion ratio to offset the distortion that may occur during hardware display.

[0048] Furthermore, in step S300, the image optimization process includes the following steps:

[0049] S301: Obtain the coordinates of the pixel points where the difference occurs when calculating the difference value P, and record the pixel points as D. Combine the scaling ratios of the hardware end and the software end to calculate the Euclidean distance between the software end and the hardware end of the pixel point, construct an empty set {D}, add the pixel points D to the empty set {D} in the order of the Euclidean distance between the software end and the hardware end from small to large, and number the pixel points D in the empty set {D}, {D}={ }, the subscript represents the sorting number of the Euclidean distance between the software end and the hardware end of the pixel points that have differences when calculating the difference P from small to large, and n represents the total number of pixel points that have differences when calculating the difference P in the image analyzed this time;

[0050] S302: Record the time when the difference pixel points appear, and divide the location density of the difference pixel points, divide the locations with multiple high pixel density into regions, calculate the pixel density, the divided regions have the same area, and obtain the pixel density DP by the total number of difference pixel points appearing in the divided regions / the area of ​​the divided regions, calculate the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear in all the divided regions, and calculate the distortion deviation coefficient in the divided regions by the pixel density and the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear:

[0051] Pf(l(Di)) = * ;

[0052] Wherein, in the formula, Di is an independent variable, Di represents the difference pixel numbered i, l(Di) represents the Euclidean distance between the software end and the hardware end of the pixel point where the difference pixel numbered i appears, and DPe represents the pixel density DP of the divided area numbered e, the pixel point Di is in the divided area numbered e, and Pf(l(Di)) is a function for calculating the distortion deviation coefficient, It is expressed as the ratio of the degree of distortion to the density in the divided area. It is expressed as the minimum value of the Euclidean distance between the software end and the hardware end where the difference pixel appears. The independent variable l(Di) is introduced into the formula to calculate the distortion deviation coefficient of the pixel Di in the divided area e;

[0053] S303: Determine the direction of the distortion deviation, and determine the direction of the distortion from the software end to the hardware end according to the software end and the hardware end of the pixel point where the difference pixel appears, recorded as , record the software-side to hardware-side distortion direction of all difference pixels in the divided area e, and calculate the vector sum to obtain the overall distortion direction of the divided area e .

[0054] Furthermore, the number of image outputs S reflects the transmission efficiency ENi of information transmission between the software end and the hardware end, ENi=S / ti, ti is the time of the projection image output number S, i is the i-th time segment of the record, EN=[ENi], the total number of elements is m, and EN is the set of transmission efficiencies ENi of information transmission between the software end and the hardware end sorted in time order. The information frequency correction value XEN is obtained by calculation, XENi= ), t is the total time, the information frequency correction value XEN is the ratio of the transmission efficiency ENi at time i to the overall transmission efficiency, and the information frequency correction value XEN can be combined with the time period in which the distortion occurs to determine the influence between the distortion and the transmission speed;

[0055] Get the arithmetic mean avg(XENi) of the information frequency correction value, avg() is a function for getting the arithmetic mean in an array;

[0056] Define XENi>avg(XENi)as an occurrence of abnormal information. The transmission time when the abnormal information appears in the projection from the software end to the hardware end is recorded as j. The number of abnormal information recorded in the process of projection from the software end to the hardware end is recorded as k, where k is the number of abnormal information. Combine the distortion deviation coefficient and distortion deviation direction of the difference pixel point in the abnormal information to obtain the distortion deviation coefficient and distortion deviation direction of each divided area at time j.

[0057] T1= + * j( );

[0058] T2= * ;

[0059] g=( );

[0060] Among them, T1 represents the distortion deviation of the divided area at time j, T2 represents the distortion deviation of the pixel point Di at time j, and g includes the sum of the information frequency correction value XEN. T1, T2 and g are combined through the function E(),

[0061] E()=μg ,

[0062] Wherein μ is the distortion error, is a constant value, exp() is an exponential function, if the value of the function E() is ≥1, it means that the transmission efficiency affects the distortion at time j, if the value of the function E() is <1, it means that there is no distortion deviation due to the transmission rate at time j.

[0063] In step S500, the distortion hedging algorithm of the software end is adjusted and optimized through a real-time feedback mechanism, wherein the feedback mechanism includes user feedback and automated testing, and the algorithm is continuously optimized to adapt to different hardware ends and input signals, wherein the input signal is a design draft of the software end;

[0064] After completing the vertical distortion hedging algorithm on the software side, comprehensive testing and verification are carried out by simulating display devices with different resolutions and pixel densities to ensure that the final output results meet the expectations of the design draft. At the same time, the effects under different image content and scenarios also need to be considered.

[0065] Preferably, according to the optimization algorithm to adapt to different hardware ends and input signals, the hardware end and the input signal are put into the neural network model for training. After the training is completed, the design draft of the input software end is quickly judged whether the hardware end is distorted, and the distortion coefficient R is output. The distortion coefficient R is used to judge the probability of distortion after the output. Each distortion coefficient R needs to be trained through a separate neural network model to obtain the mapping relationship between the input data and the distortion coefficient R.

[0066] Among them, in the neural network model, the number of neurons in the network input layer is equal to the number of input data types, the number of neurons in the output layer is equal to the number of output data types, and the number of intermediate layers and the number of neurons in each layer are freely set. The setting of the intermediate layer will directly affect the accuracy of the approximate data of the neural network. Whether the number of intermediate layers or neurons needs to be increased or decreased is determined based on the training results. The calculation method for determining the number of intermediate layers and the number of neurons is:

[0067] The intermediate layers in the neural network model are added layer by layer, and the distortion coefficient R corresponding to the output of the intermediate layer is named to construct a nonlinear regression function, f(R) = , a is a constant value, calculate the variance D of the function's independent variable, D= , where L is the number of intermediate layers at output, is the i-th performance index R of the output, is the input software design draft corresponding to the output performance index R, when =0, A takes the minimum value, where () is to find the partial derivative of the function, A is a parameter for determining the number of intermediate layers, and the value of A is compared with the variance D. If D>A, the output distortion coefficient R is input into the neural network model again, and the number of intermediate layers is increased by 1. If D≤A, the distortion coefficient R is output;

[0068] Update the weight coefficients of neurons by gradient descent:

[0069] (l) = - ;

[0070] in, () is the partial derivative of the function, P and Q are the system output error and neuron weight increment, both are constant values. (l) is the neuron weight coefficient, (l) is the updated neuron weight coefficient, Represents the neuron learning rate, which is (l) Determine the number of neurons to be set in the intermediate layer.

[0071] A system for solving screen distortion based on correcting high-resolution screen resolution, characterized in that the system comprises: an acquisition module, a processing module, a storage module, and data acquired or calculated by the acquisition module and the processing module are stored in the storage module; the acquisition module and the storage module can run a computer program on the processing module, and the processor implements any one of the above methods when executing the computer program. A step in a method for solving screen distortion based on correcting high-resolution screen resolution.

[0072] The system for solving screen distortion based on correcting high-resolution screen resolution can be run in computing devices such as desktop computers, laptops, PDAs, and cloud servers. The system for solving screen distortion based on correcting high-resolution screen resolution can include, but is not limited to, processors and memories. Those skilled in the art can understand that the example is merely an example of a system for solving screen distortion based on correcting high-resolution screen resolution, and does not constitute a limitation on a system for solving screen distortion based on correcting high-resolution screen resolution. It can include more or fewer components than the example, or a combination of certain components, or different components. For example, the adaptive heat exchanger performance monitoring system can also include input and output devices, network access devices, buses, etc.

[0073] The processing module may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the operating system of the system for solving screen distortion based on correcting high-resolution screen resolution, and various interfaces and lines are used to connect the various parts of the entire operating system of the system for solving screen distortion based on correcting high-resolution screen resolution.

[0074] The storage module can be used to store the computer program and / or module, and the processor realizes various functions of the adaptive heat exchanger performance monitoring system by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can 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 can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0075] Although the description of the present invention has been quite detailed and has been described in particular with respect to several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, so as to effectively cover the intended scope of the present invention. In addition, the present invention is described above with the embodiments foreseeable by the inventors, and its purpose is to provide a useful description, and those non-substantial changes to the present invention that are not currently foreseen may still represent equivalent changes of the present invention.

Claims

1. A method for solving screen distortion based on correcting high-resolution screens, characterized in that: The method comprises the following steps: S100: Obtaining the difference in screen resolution between the design draft and the output result; S200: Use software to offset vertical distortion of images; S300: Optimize the software-side image by offsetting vertical distortion; S400: Adjust the distortion hedging algorithm on the software side through real-time feedback mechanism, and conduct comprehensive testing and verification; In step S300, the image optimization process includes the following steps: S301: Obtain the coordinates of the pixel points where the difference occurs when calculating the difference value P, and record the pixel points as D. Combine the scaling ratios of the hardware end and the software end to calculate the Euclidean distance between the software end and the hardware end of the pixel point, construct an empty set {D}, add the pixel points D to the empty set {D} in the order of the Euclidean distance between the software end and the hardware end from small to large, and number the pixel points D in the empty set {D}, {D}={ }, where the subscripts represent the sorting numbers of the Euclidean distances between the software and hardware ends of the pixels that differ when calculating the difference value P, and n represents the total number of pixels that differ when calculating the difference value P in the image analyzed this time; S302: Record the time when the difference pixel points appear, and divide the location density of the difference pixel points, divide the locations with multiple high pixel density into regions, calculate the pixel density, the divided regions have the same area, and obtain the pixel density DP by the total number of difference pixel points appearing in the divided regions / the area of ​​the divided regions, calculate the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear in all the divided regions, and calculate the distortion deviation coefficient in the divided regions by the pixel density and the average value ATY of the Euclidean distance between the software end and the hardware end of the pixel points where the difference pixel points appear: Pf(l(Di))= * ; Wherein, in the formula, Di is an independent variable, Di represents the difference pixel numbered i, l(Di) represents the Euclidean distance between the software end and the hardware end of the pixel point where the difference pixel numbered i appears, and DPe represents the pixel density DP of the divided area numbered e, the pixel point Di is in the divided area numbered e, and Pf(l(Di)) is a function for calculating the distortion deviation coefficient, It is expressed as the ratio of the degree of distortion to the density in the divided area. It is expressed as the minimum value of the Euclidean distance between the software end and the hardware end where the difference pixel appears. The independent variable l(Di) is introduced into the formula to calculate the distortion deviation coefficient of the pixel Di in the divided area e; S303: Determine the direction of the distortion deviation, and determine the direction of the distortion from the software end to the hardware end according to the software end and the hardware end of the pixel point where the difference pixel appears, recorded as , record the software-side to hardware-side distortion direction of all difference pixels in the divided area e, and calculate the vector sum to obtain the overall distortion direction of the divided area e ; The number of image outputs S reflects the transmission efficiency ENi of information transmission between the software end and the hardware end, ENi=S / ti, ti is the time of the projection image output number S, i is the i-th time segment recorded, EN=[ENi], the total number of elements is m, and the EN is the set of transmission efficiency ENi of information transmission between the software end and the hardware end sorted in time order. The information frequency correction value XEN is obtained by calculation, XENi= ), t is the total time, the information frequency correction value XEN is the ratio of the transmission efficiency ENi at time i to the overall transmission efficiency, and the information frequency correction value XEN can be combined with the time period in which the distortion occurs to determine the influence between the distortion and the transmission speed; Get the arithmetic mean avg(XENi) of the information frequency correction value, avg() is a function for getting the arithmetic mean in an array; Define XENi>avg(XENi)as an occurrence of abnormal information. The transmission time when the abnormal information appears in the projection from the software end to the hardware end is recorded as j. The number of abnormal information recorded in the process of projection from the software end to the hardware end is recorded as k, where k is the number of abnormal information. Combine the distortion deviation coefficient and distortion deviation direction of the difference pixel point in the abnormal information to obtain the distortion deviation coefficient and distortion deviation direction of each divided area at time j. T1= + * j( ); T2= * ; g=( ); Among them, T1 represents the distortion deviation of the divided area at time j, T2 represents the distortion deviation of the pixel point Di at time j, and g includes the sum of the information frequency correction value XEN. T1, T2 and g are combined through the function E(), E()=μg , Wherein μ is the distortion error, is a constant value, exp() is an exponential function, if the value of the function E() is ≥1, it means that the transmission efficiency affects the distortion at time j, if the value of the function E() is <1, it means that there is no distortion deviation due to the transmission rate at time j.

2. The method for solving screen distortion based on correcting high-resolution screen according to claim 1, characterized in that: In step S100, the design draft is an image that is edited and produced before the image is played. The design draft is designed based on the software end. The output result is an image played on the screen according to the design draft. The output result is output based on the hardware end. The resolution of the image in the design draft and the output result is obtained. The difference between the resolution of the output result and the resolution of the design draft is calculated to obtain a difference value P. The physical size and resolution of the display screen are obtained, wherein the physical size includes the length and the height, and the resolution includes the horizontal resolution and the vertical resolution. The scaling ratio of the software end and the hardware end is calculated according to the physical size and the size of the design draft. By judging by the difference P, the distortion ratio caused by the design draft and the hardware output can be calculated. The distortion ratio is obtained by measuring the distance ratio between the reference point in the design draft and the corresponding point in the output result. The distortion ratio is the vertical distortion factor.

3. The method for solving screen distortion based on correcting high-resolution screen according to claim 1, characterized in that: In step S200, the vertical distortion of the image is hedged in advance by the distortion ratio calculated from the design draft on the software side and the output result on the hardware side. During the image processing, appropriate adjustments are made to each pixel in the vertical direction according to the distortion ratio to offset the distortion that may occur during hardware display.

4. The method for solving screen distortion based on correcting high-resolution screen according to claim 1, characterized in that: In step S400, the distortion hedging algorithm of the software end is adjusted and optimized through a real-time feedback mechanism, wherein the feedback mechanism includes user feedback and automated testing, and the algorithm is continuously optimized to adapt to different hardware ends and input signals, wherein the input signal is a design draft of the software end; After completing the vertical distortion hedging algorithm on the software side, comprehensive testing and verification are carried out by simulating display devices with different resolutions and pixel densities to ensure that the final output results meet the expectations of the design draft. At the same time, the effects under different image content and scenarios also need to be considered.

5. A system for solving screen distortion based on correcting high-resolution screens, characterized in that: The system includes: an acquisition module, a processing module, a storage module, and data acquired or calculated by the acquisition module and the processing module are stored in the storage module. The acquisition module and the storage module can run a computer program on the processing module. When the processing module executes the computer program, any step in the method for solving screen distortion based on correcting high-resolution screen resolution in claims 1-4 is implemented.

Citation Information

Patent Citations

  • Method for correcting VR large field angle distortion

    CN113160067A

  • Method and equipment for automatically adapting visual large-screen design drawing to display screen, and medium

    CN116360720A

  • Real-time high-resolution binocular camera distortion correction implementation method based on FPGA

    CN117750003A

  • Method and system for correcting image distortion

    US20160189352A1