Projection display processing method and device, projection equipment and storage medium
By calculating the deflection angle and vertical distance added value of the projection device and adjusting the proportion of projection display, the problem of high cost of optimizing projection display effect in the prior art is solved, and real-time response and significantly improved projection display effect are achieved.
Patent Information
- Application Number
- CN202411904298.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-05-06
AI Technical Summary
The prior art requires high cost to optimize the display effect by modifying the projection device and is difficult to achieve instant response.
By obtaining the deflection angle of the projection device, calculate the added value of the vertical distance between the projection device and the projection plane, calculate the new projection image size, and adjust the upper and lower width ratio of the projection display to complete the original display width.
There is no need to make complex modifications or upgrades to the projection device hardware, which greatly reduces costs and can respond in real time to display changes caused by lens deviations, significantly improving the projection display effect.
Smart Images

Figure CN119946237A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of projection display, and in particular to a projection display processing method, device, projection equipment and storage medium. Background Art
[0002] At present, projection equipment is widely used in home theaters, conference presentations and other scenarios, and the applications currently developed are usually run on the TV side. When existing applications are ported from the TV side to the projection equipment, they are usually run directly without optimization. Their display effects are often affected by many factors. For example, lens deviation caused by lens placement or installation position leads to a significant gap between the display effect and expectations.
[0003] In the prior art, these problems are mainly improved by hardware upgrades or modifications to the projection equipment, but these methods are not only costly, but also difficult to achieve instant response in practical applications. Summary of the invention
[0004] The embodiments of the present invention provide a projection display processing method, an apparatus, a projection device and a storage medium to solve the problem of high cost required for optimizing the display effect by modifying the projection device in the prior art.
[0005] In a first aspect, a projection display processing method is provided, comprising: Get the deflection angle of the projection device; Calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle; Calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; According to the new projection image size, the upper and lower width ratios of the projection display are adjusted to complete the original display width of the projection display.
[0006] In one embodiment, the calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle includes: Acquire an initial distance from an initial position of the projection device to a projection plane when the projection device is not set with a deflection angle; The vertical distance increase value is calculated based on the deflection angle and the initial distance.
[0007] In one embodiment, the calculating a new projection image size according to the vertical distance increase value includes: Obtaining actual size parameters of the light source of the projection device; The new projection image size is calculated according to the actual size parameter, the vertical distance increase value and the initial distance.
[0008] In one embodiment, the new projection image size is calculated by the following formula: ; ,or, ; in, is the first side length of the new projected image, is the second side length of the new projected image, is the initial distance, Add a value for the vertical distance, The actual size parameter of the light source , is the deflection angle.
[0009] In one embodiment, adjusting the upper and lower width ratios of the projected display according to the new projected image size to complete the original display width of the projected display includes: Obtaining a target projection image size output when the projection device is not set with a deflection angle; Calculating a new upper and lower width ratio according to the new projection image size and the target projection image size; According to the new upper and lower width ratio, the rendering ratio of the output image renderer is adjusted to complete the original display width of the projection display.
[0010] In one embodiment, before obtaining the deflection angle of the projection device, the method includes: Obtaining device parameters of the projection device, and determining whether the device parameters meet preset standards; If the device parameters meet the preset standard, outputting the display color value through the color manager of the projection device; If the device parameters do not meet the preset standards, the device parameters are corrected.
[0011] In one embodiment, the device parameters include color gamut, brightness, and color; The determining whether the device parameters meet the preset standards includes: Determining whether the coverage of the color gamut is complete; If the coverage of the color gamut is complete, the brightness of the projection device is obtained, and it is determined whether the brightness is greater than a preset brightness standard value; If the brightness is not greater than the preset brightness standard value, adjusting the color of the projection device; If the brightness is greater than the preset brightness standard value, the color of the projection device is obtained, and it is determined whether the color conforms to a preset color standard list; If the color does not match the preset color list, adjusting the color contrast and the number of colors of the projection device; If the color matches the preset color list, it is determined that the projection device parameters meet the preset standard.
[0012] In a second aspect, a projection display processing device is provided, comprising: A first acquisition module, used to acquire a deflection angle of a projection device; A first calculation module, used for calculating an increase in a vertical distance from the projection device to a projection plane according to the deflection angle; A second calculation module, configured to calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; The adjustment module is used to adjust the upper and lower width ratios of the projection display according to the new projection image size to complete the original display width of the projection display.
[0013] In a third aspect, a projection device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the projection display processing method described in the first aspect when executing the computer program.
[0014] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the projection display processing method described in the first aspect is implemented.
[0015] In one solution implemented by the above-mentioned projection display processing method, device, projection device and storage medium, the deflection angle of the projection device is obtained; according to the deflection angle, the vertical distance increase value from the projection device to the projection plane is calculated; according to the vertical distance increase value, the new projection image size is calculated, and the new projection image size includes the first side length and the second side length of the new projection image, the first side length represents the upper edge length of the new projection image, and the second side length represents the lower edge length of the new projection image; according to the new projection image size, the upper and lower width ratios of the projection display are adjusted to complete the original display width of the projection display. In this embodiment, by obtaining the deflection angle of the projection device and calculating the vertical distance increase value from the projection device to the projection plane, the new projection image size is obtained, and based on this, the upper and lower width ratios of the projection display are adjusted to effectively complete the original display width. In this way, there is no need to make complex modifications or upgrades to the projection device hardware, which greatly reduces the cost, and can respond to display changes caused by lens deviation in real time, significantly improving the projection display effect. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0016] Figure 1 is a flow chart of a projection display processing method in one embodiment of the present invention; Figure 2 is a schematic diagram of an application scenario of a projection display processing method in one embodiment of the present invention; Figure 3 is another flow chart of a projection display processing method according to an embodiment of the present invention; Figure 4 is another flow chart of a projection display processing method according to an embodiment of the present invention; Figure 5 is another flow chart of a projection display processing method according to an embodiment of the present invention; Figure 6 is another flow chart of a projection display processing method according to an embodiment of the present invention; Figure 7 is another flow chart of a projection display processing method according to an embodiment of the present invention; Figure 8 is a schematic diagram of a projection display processing device in one embodiment of the present invention; Fig. 9 is a schematic diagram of a projection device in one embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] A projection display processing method provided by an embodiment of the present invention can be applied to scenarios such as commercial displays, conference room projection, education and training, and home theaters. For example, commercial displays: this method can be used to improve the display effect of projection equipment. Conference room projection: this method can be used to improve the viewing effect and interactive experience of participants. Education and training: this method can be used to clearly display teaching content. Home theater: this method can be used to accurately restore the details and color effects in a movie and enhance the viewing experience. The following will use specific embodiments to introduce in detail a projection display processing method provided by the present invention.
[0019] In one embodiment, if Figure 1 As shown, a projection display processing method is provided, and the method is applied in Figure 2 The following steps are used to illustrate the projector device in FIG. 1 : S10: Obtain a deflection angle of the projection device.
[0020] In this embodiment, the deflection angle refers to the deflection angle of the projection device relative to the horizontal direction, wherein the deflection angle includes but is not limited to an upward, downward, leftward or rightward offset angle.
[0021] As an example, a built-in sensor (such as a gyroscope or accelerometer) can be used to measure the inclination of the projection device in the horizontal and vertical directions, and the measurement data can be processed through a target algorithm to obtain the deflection angle of the projection device. Alternatively, the deflection angle of the projection device can be directly measured by other means, which is not limited here.
[0022] The target algorithm includes, but is not limited to, a trigonometric function algorithm, a vector operation algorithm, or a coordinate transformation algorithm.
[0023] S20. Calculate an increase in a vertical distance from the projection device to a projection plane according to the deflection angle.
[0024] As an example, when calculating the vertical increase in distance from the projection device to the projection plane based on the deflection angle, it can be calculated based on trigonometric functions. For example, the vertical distance increase value can be calculated based on the deflection angle and the initial distance between the projection device and the projection plane (the distance measured based on actual conditions).
[0025] like Figure 3 As shown, the specific calculation process is as described in steps S21-S22: S21, acquiring an initial distance from an initial position of the projection device to a projection plane when the projection device is not set with a deflection angle; S22. Calculate the vertical distance increase value according to the deflection angle and the initial distance.
[0026] As an example, during the calculation process, the initial distance from the projection device to the projection plane when the projection device is not set with a deflection angle can be obtained first, that is, the vertical distance from the projection device to the projection plane when there is no deflection angle. Then, the corresponding vertical distance increase value can be calculated using formula (1): Formula (1) in, To increase the vertical distance, is the initial distance, is the deflection angle.
[0027] For example, assume the deflection angle is 15° and the initial distance is 1.5 meters.
[0028] According to the trigonometric function relationship, the vertical distance increase value is calculated by formula (1) as follows: rice It should be understood that the above method can also be used to calculate the vertical increase by other trigonometric functions, for example, using the sine function ( ) and the cosine function ( ) calculation, cosecant function ( ) calculation or the secant function ( ) calculation, which can be obtained by simply transforming the above formula, will not be described in detail here, and does not constitute a limitation of the present invention.
[0029] S30. Calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image.
[0030] In this embodiment, the first side length represents the length of the upper edge of the new projection image, for example, the size of the upper side of the new projection image, and the second side length represents the length of the lower edge of the new projection image, for example, the size of the lower side of the new projection image.
[0031] As an example, after calculating the vertical distance increase value, the new projection image size can be further calculated based on the vertical distance increase value. The new projection image size reflects the image deformation caused by the deflection of the projection device. By accurately calculating the first side length (upper edge length) and the second side length (lower edge length) of the new projection image size, it provides key data basis for the subsequent effective correction of the image ratio and avoidance of picture stretching or compression. It helps to maintain the original proportion and clarity of the image when the projection device is offset at an angle, so that the audience can get a better quality and realistic visual experience.
[0032] like Figure 4 As shown, the specific process of calculating the new projection image size is as described in steps S31-S33: S31, obtaining actual size parameters of the light source of the projection device; S32: Calculate the new projection image size according to the actual size parameter, the vertical distance increase value and the initial distance.
[0033] In this embodiment, the actual size parameter of the light source refers to the physical size of the light source in a specific dimension. For example, the light source of the projection device can be measured by a high-precision optical measuring instrument to obtain the actual size parameter of the light source. Specifically, the measuring instrument can accurately capture the size data of the light source in different directions, thereby obtaining the actual size parameter of the light source.
[0034] It should be understood that if the light source is circular, the actual size parameter of the light source may be the diameter; if the light source is square or rectangular, the actual size parameter of the light source may be the side length; if the light source is an irregular shape, the actual size parameter of the light source may be the area of the light-emitting region. These are all taken as examples here, and the specific size parameter may be determined comprehensively based on the actual optical structure of the projection equipment and imaging requirements, etc., and do not constitute a limitation of the present invention.
[0035] As an example, a new projected image size is calculated based on the actual size parameter, the vertical distance increase value and the initial distance, that is, the first side length and the second side length of the new projected image are calculated based on the actual size parameter, the vertical distance increase value and the initial distance. In the process of calculating the first side length and the second side length of the new projected image, it is first necessary to obtain the actual size parameter of the light source of the projection device, and then, according to the actual size parameter of the light source, the vertical distance increase value and the initial vertical distance, the first side length and the second side length are calculated by formula (2) and formula (3).
[0036] ,or, Formula (2) ,or, Formula (3) in, is the first side length of the new projected image, is the second side length of the new projected image, is the initial distance, Add a value for the vertical distance, The actual size parameter of the light source , is the deflection angle.
[0037] The above calculation process can accurately calculate the new projection image size in real time according to the change of the deflection angle of the projection device, providing a basis for the subsequent adjustment of the upper and lower width ratios of the projection display.
[0038] It should be understood that in the process of calculating the first side length and the second side length by the above formula, it can be assumed that =1, which can simplify the calculation complexity without affecting the effectiveness of the overall calculation logic, improve the calculation efficiency, and enable rapid response to the state changes of the projection device in practical applications, realize near real-time projection display adjustment, greatly improve the stability and reliability of the projection system, and bring users a smooth and high-quality projection visual experience. Setting it to other values does not constitute a limitation of the present invention.
[0039] S40: adjusting the ratio of the upper and lower widths of the projection display according to the new projection image size to complete the original display width of the projection display.
[0040] As an example, after calculating the new projection size, the upper and lower width ratios of the projected display are further modified based on the new projection size to make the projected display fully adapt to the original display width, avoiding image loss or deformation caused by changes in the angle or distance of the projection device, ensuring that the projected image is complete and proportioned, and achieving automatic trapezoidal correction.
[0041] Specifically, Figure 5 As shown, adjusting the upper and lower width ratios of the projection display according to the first side length and the second side length of the new projection image to complete the original display width of the projection display includes the following steps: S41, obtaining a target projection image size output when the projection device is not set with a deflection angle; S42, calculating a new upper and lower width ratio according to the new projection image size and the target projection image size; S43: adjusting the rendering ratio of the output image renderer according to the new upper and lower width ratio to complete the original display width of the projection display.
[0042] In this embodiment, the target projection image size refers to the image size directly output to the projection plane when the projection device is not deflected. For example, the target projection image size is 1600 pixels in width and 900 pixels in height.
[0043] As an example, after obtaining the target projection image size, the new upper and lower width ratio is calculated by comparing the new projection image size (i.e., the size determined by the first side length and the second side length calculated according to the vertical distance increase value) with the target projection image size. The output image renderer is further adjusted according to the new upper and lower width ratio so that the ratio of the upper and lower side lengths of the rendered image is not the new projection image size, but is adjusted to a ratio opposite to the ratio of the upper and lower side lengths of the projection image. In this way, after projection, the ratio of the upper and lower side lengths of the image actually displayed will be approximately restored to the target projection image size, thereby achieving the purpose of completing the width and trapezoidal correction, eliminating the trapezoidal distortion caused by the deflection angle, greatly improving the visual quality and viewing effect of the projected image, and ensuring that the projected picture can be presented to the audience in an expected, regular and accurate form, providing reliable image correction guarantees for various projection application scenarios, and enhancing the adaptability and practicality of projection equipment in different usage environments.
[0044] For example, assume that the target projection image size is 1280 pixels in width and 720 pixels in height. When the projection device deflects upward, the new projection image size is calculated according to the above steps, for example, the first side length is 800 pixels and the second side length is 400 pixels. Then, by comparing the two sets of size data, it is calculated that the new upper and lower width ratio is 2:1. Then, this ratio information is transmitted to the output image renderer, and the image renderer adjusts its own rendering ratio according to the ratio, and changes the image originally rendered at 1:1 to 1:2. After projection, the upper and lower side length ratio of the actual display image is approximately restored to 1:1, successfully completing the original display width of the projection display, achieving accurate trapezoidal correction effect, and making the projection picture appear normal. It is to be understood that the numerical values and calculation methods in the above examples are provided for illustrative purposes and do not constitute limitations.
[0045] In summary, in a solution provided by an embodiment of the present invention, by obtaining the deflection angle of the projection device and calculating the increase in the vertical distance from the projection device to the projection plane, a new projection image size is obtained, and based on this, the upper and lower width ratios of the projection display are adjusted to effectively complete the original display width. In this way, there is no need to make complex modifications or upgrades to the projection device hardware, which greatly reduces costs, and can respond to display changes caused by lens deviation in real time, significantly improving the projection display effect. In one embodiment, if Figure 6 As shown, before step S10, that is, before obtaining the deflection angle of the projection device, the following steps are included: S50, obtaining device parameters of the projection device, and determining whether the device parameters meet preset standards; S60, if the device parameters meet the preset standard, outputting the display color value through the color manager of the projection device; S70: If the device parameter does not meet the preset standard, modify the device parameter.
[0046] As an example, before obtaining the deflection angle of the projection device, that is, before step S10, first, the device parameters of the projection device need to be obtained, and further, the subsequent processing method is determined by judging whether the device parameters meet the preset standards; if the color gamut range of the projection device meets the preset standards, the color manager of the projection device can automatically output the display color value to ensure the color accuracy of the projection effect. If the device parameters do not meet the preset standards, they will be automatically corrected, for example, by adjusting the color contrast, brightness or other parameters to ensure that the final output display color value meets the expected standards to avoid color distortion or poor projection effects.
[0047] In one embodiment, if Figure 7 As shown, in step S50, the device parameters include color gamut, brightness and color; That is, judging whether the device parameters meet the preset standards includes the following steps: S51, determining whether the coverage of the color gamut is complete; S52: If the color gamut is completely covered, then obtain the brightness of the projection device and determine whether the brightness is greater than a preset brightness standard value. S53, if the brightness is not greater than the preset brightness standard value, adjusting the color of the projection device; S54, if the brightness is greater than the preset brightness standard value, obtaining the color of the projection device, and determining whether the color conforms to a preset color standard list; S55, if the color does not match the preset color list, adjusting the color contrast and the number of colors of the projection device; S56: If the color matches the preset color list, determine that the projection device parameters meet the preset standard.
[0048] In this embodiment, the device parameters include but are not limited to color gamut, brightness and / or color.
[0049] As an example, when determining whether the device parameters meet the preset standards, first enter step S51 to determine whether the color gamut coverage in the device parameters is complete. If the color gamut coverage is incomplete, reconfigure the color range list that the projection device can support, and further determine whether the color gamut coverage is complete. If the color gamut coverage is complete, execute step S52 to obtain the brightness value in the device parameters. Assume that the preset brightness standard value is 3000 lumens, and the brightness of the projection device is detected to be 2500 lumens, which is less than the preset brightness standard value. Then enter step S53, adjust the color of the projection device, for example, modify the color, reduce transparency, increase color brightness and / or increase pure color value, etc., to obtain a modified brightness, and further determine whether the modified brightness is less than a preset brightness standard value; if it is detected that the brightness of the projection device is greater than the preset brightness standard value, for example, it is detected that the brightness of the projection device is 3500 lumens, then execute step S54, obtain the color in the device parameters, and compare it with the preset color list. If the color does not conform to the preset color list, execute step S55, obtain the corrected color by adjusting the color contrast and the number of colors, and determine again whether it conforms to the preset color list. If it conforms, confirm that the device parameters conform to the preset standards. Otherwise, determine that the device parameters do not conform to the preset standards, and then correct the device parameters.
[0050] It should be understood that the above is only an example and does not constitute a limitation of the present invention.
[0051] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0052] In one embodiment, a projection display processing device is provided, and the projection display processing device corresponds one-to-one to the projection display processing method in the above embodiment. Figure 8 As shown, the projection display processing device includes a first acquisition module 101, a first calculation module 102, a second calculation module 103 and an adjustment module 104. The functional modules are described in detail as follows: A first acquisition module 101 is used to acquire a deflection angle of a projection device; A first calculation module 102, configured to calculate an increase in a vertical distance from the projection device to a projection plane according to the deflection angle; A second calculation module 103, configured to calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; The adjustment module 104 is used to adjust the upper and lower width ratios of the projection display according to the first side length and the second side length of the new projection image to complete the original display width of the projection display.
[0053] In one embodiment, the first calculation module 102 is specifically configured to: Acquire an initial distance from an initial position of the projection device to a projection plane when the projection device is not set with a deflection angle; The vertical distance increase value is calculated based on the deflection angle and the initial distance.
[0054] In one embodiment, the second calculation module 103 is specifically configured to: Obtaining actual size parameters of the light source of the projection device; The new projection image size is calculated according to the actual size parameter, the vertical distance increase value and the initial distance.
[0055] In one embodiment, the first side length and the second side length of the new projection image are calculated by the following formula: ; ,or, ; in, is the first side length of the new projected image, is the second side length of the new projected image, is the initial distance, Add a value for the vertical distance, The actual size parameter of the light source , is the deflection angle.
[0056] In one embodiment, the adjustment module 104 is specifically configured to: Obtaining a target projection image size output when the projection device is not set with a deflection angle; Calculating a new upper and lower width ratio according to the new projection image size and the target projection image size; According to the new upper and lower width ratio, the rendering ratio of the output image renderer is adjusted to complete the original display width of the projection display.
[0057] In one embodiment, the projection display processing device further includes: A second acquisition module, used to acquire device parameters of the projection device and determine whether the device parameters meet preset standards; An output module, configured to output a display color value through a color manager of the projection device if the device parameter meets the preset standard; The correction module is used to correct the device parameters if the device parameters do not meet the preset standards.
[0058] In one embodiment, the device parameters include color gamut, brightness, and color; The second acquisition module is specifically used for: Determining whether the coverage of the color gamut is complete; If the coverage of the color gamut is complete, the brightness of the projection device is obtained, and it is determined whether the brightness is greater than a preset brightness standard value; If the brightness is not greater than the preset brightness standard value, adjusting the color of the projection device; If the brightness is greater than the preset brightness standard value, the color of the projection device is obtained, and it is determined whether the color conforms to a preset color standard list; If the color does not match the preset color list, adjusting the color contrast and the number of colors of the projection device; If the color matches the preset color list, it is determined that the projection device parameters meet the preset standard.
[0059] For the specific definition of a projection display processing device, please refer to the definition of a projection display processing method above, which will not be repeated here. Each module in the above-mentioned projection display processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the projection device in the form of hardware, or can be stored in the memory of the projection device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0060] In one embodiment, a projection device is provided, whose internal structure diagram can be as follows: Fig. 9As shown. The projection device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the projection device is used to provide computing and control capabilities. The memory of the projection device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the projection device is used to store data involved in running the projection display processing method. The network interface of the projection device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a projection display processing method is implemented.
[0061] In one embodiment, a projection device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Get the deflection angle of the projection device; Calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle; Calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; According to the new projection image size, the upper and lower width ratios of the projection display are adjusted to complete the original display width of the projection display.
[0062] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Get the deflection angle of the projection device; Calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle; Calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; According to the new projection image size, the upper and lower width ratios of the projection display are adjusted to complete the original display width of the projection display.
[0063] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile projection display processing readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0064] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0065] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A projection display processing method, characterized in that: include: Get the deflection angle of the projection device; Calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle; Calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; According to the new projection image size, the upper and lower width ratios of the projection display are adjusted to complete the original display width of the projection display.
2. The projection display processing method according to claim 1, characterized in that: Calculating the increase in the vertical distance from the projection device to the projection plane according to the deflection angle includes: Acquire an initial distance from an initial position of the projection device to a projection plane when the projection device is not set with a deflection angle; The vertical distance increase value is calculated based on the deflection angle and the initial distance.
3. The projection display processing method according to claim 2, characterized in that: The calculating a new projection image size according to the vertical distance increase value comprises: Obtaining actual size parameters of the light source of the projection device; The new projection image size is calculated according to the actual size parameter, the vertical distance increase value and the initial distance.
4. The projection display processing method according to claim 3, characterized in that: The new projection image size is calculated by the following formula: ; ,or, ; in, is the first side length of the new projected image, is the second side length of the new projected image, is the initial distance, Add value for vertical distance, The actual size parameter of the light source , is the deflection angle.
5. The projection display processing method according to claim 1, characterized in that: The adjusting the upper and lower width ratios of the projection display according to the new projection image size to complete the original display width of the projection display includes: Obtaining a target projection image size output when the projection device is not set with a deflection angle; Calculating a new upper and lower width ratio according to the new projection image size and the target projection image size; According to the new upper and lower width ratio, the rendering ratio of the output image renderer is adjusted to complete the original display width of the projection display.
6. The projection display processing method according to claim 1, characterized in that: Before obtaining the deflection angle of the projection device, the method includes: Obtaining device parameters of the projection device, and determining whether the device parameters meet preset standards; If the device parameters meet the preset standard, outputting the display color value through the color manager of the projection device; If the device parameters do not meet the preset standards, the device parameters are corrected.
7. The projection display processing method according to claim 6, characterized in that: The device parameters include color gamut, brightness and color; The determining whether the device parameters meet the preset standards includes: Determining whether the coverage of the color gamut is complete; If the coverage of the color gamut is complete, the brightness of the projection device is obtained, and it is determined whether the brightness is greater than a preset brightness standard value; If the brightness is not greater than the preset brightness standard value, adjusting the color of the projection device; If the brightness is greater than the preset brightness standard value, the color of the projection device is obtained, and it is determined whether the color conforms to a preset color standard list; If the color does not match the preset color list, adjusting the color contrast and the number of colors of the projection device; If the color matches the preset color list, it is determined that the projection device parameters meet the preset standard.
8. A projection display processing device, characterized in that: include: A first acquisition module, used to acquire a deflection angle of a projection device; A first calculation module, used for calculating an increase in a vertical distance from the projection device to a projection plane according to the deflection angle; A second calculation module, configured to calculate a new projection image size according to the vertical distance increase value, wherein the new projection image size includes a first side length and a second side length of the new projection image, wherein the first side length represents an upper edge length of the new projection image, and the second side length represents a lower edge length of the new projection image; The adjustment module is used to adjust the upper and lower width ratios of the projection display according to the new projection image size to complete the original display width of the projection display.
9. A projection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the projection display processing method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the projection display processing method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Aerial target push-broom imaging deformation correction method and device based on known size
CN121707884A