A method for controlling the image quality of a projector
By comparing the resolution data in the projector and performing appropriate image quality control, the problem of unclear image quality of the projector is solved, and the clarity of the projected image and the user's viewing effect are improved.
Patent Information
- Application Number
- CN202410617766.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2044-05-17
AI Technical Summary
During the use of the projector, the resolutions between the input device, projection device and the receiving screen are different, or the brightness of the external environment is too high, resulting in unclear image quality of the projection playback, affecting the user's viewing effect.
By obtaining the resolution data of the original film source, projection equipment and projection screen, comparing, and controlling the picture quality based on the comparison results, including picture compensation, reconstruction or reduction of resolution, to improve the clarity and picture quality of the projected picture.
It effectively improves the clarity and image quality of the projected image, improves the user's viewing effect, and solves the problems of resolution mismatch and ambient light.
Smart Images

Figure CN118381886B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of projectors, and specifically to a method for controlling the picture quality of a projector. Background Art
[0002] A projector is a device that can project images or videos onto a projection screen. With the development of optical technology, projectors are increasingly widely used in daily life and work, and are widely used in classrooms, cinemas, meeting rooms, exhibition halls, homes and other places.
[0003] During the use of a projector, if the resolution of the source video played on the input device (such as a computer, mobile phone, etc.), the projection device, and the receiving screen is different, the picture quality of the final projection will be unclear. Moreover, during the projection process, the ambient brightness around the receiving screen will also affect the picture quality of the projection. If the ambient brightness is higher than the brightness of the projection device, the projection picture will be unclear, affecting the projection picture quality and thus the viewing experience of the user. Summary of the Invention
[0004] The present invention provides a method for controlling the picture quality of a projector, which has the beneficial effect of controlling the projection picture quality in different ways by comparing the resolutions of the original source, the projection device, and the projection screen, and improving the clarity of the projection picture and the projection picture quality by compensating the picture, reconstructing the picture, or reducing the picture resolution, thereby improving the user's viewing experience, and solving the problem mentioned in the above background art that during the use of the projection device, the picture quality of the final projection is unclear due to the different resolutions of the source video played on the input device, the projection device, and the receiving screen, or the excessive brightness of the external environment light.
[0005] The present invention provides the following technical solution: A method for controlling the picture quality of a projector, comprising:
[0006] Obtaining resolution data, where the resolution data includes the original source resolution, the projection device resolution, and the projection screen resolution data;
[0007] According to the resolution data, through a resolution comparison strategy, forming comparison result data for determining the control method of the projector picture quality;
[0008] According to the comparison result data, through a projector picture quality control strategy, forming projector picture quality control data for classifying and adjusting the control of the projector picture quality;
[0009] Controlling the picture quality of the projector according to the projector picture quality control data.
[0010] As an alternative solution to the image quality control method of the projector according to the present invention, wherein: the resolution comparison strategy includes:
[0011] Obtain the original source resolution, the projection device resolution, and the projection screen resolution respectively, and denote them as R1, R2, and R3;
[0012] If the original source resolution R1 = the projection device resolution R2 and the original source resolution R1 = the projection screen resolution R3, then execute the picture compensation strategy;
[0013] If the projection device resolution R2 = the projection screen resolution R3 and the original source resolution R1 < the projection device resolution R2, then execute the super-resolution reconstruction strategy;
[0014] If the original source resolution R1 = the projection device resolution R2 and the projection screen resolution R3 < the projection device resolution R2, then execute the low-resolution reconstruction strategy;
[0015] If the original source resolution R1 = the projection screen resolution R3 and the projection device resolution R2 < the projection screen resolution R3, then execute the low-resolution reconstruction strategy.
[0016] As an alternative solution to the image quality control method of the projector according to the present invention, wherein: the execution of the picture compensation strategy includes:
[0017] Take the lower left corner of the current projection screen as the origin, and respectively make the X-axis and the Y-axis;
[0018] Obtain the color value of each pixel color block in the projection screen under the current light brightness, define it as the target pixel color block color value, and form the first set A according to the coordinates of each pixel color block, denoted as: A11, A1n, An1, Ann;
[0019] Take the lower left corner of the current original source screen as the origin, and respectively make the X-axis and the Y-axis;
[0020] Obtain the color value of each pixel color block in the current original source screen, define it as the original pixel color block color value, and form the second set B according to the coordinates of each pixel color block, denoted as: B11, B1n, Bn1, Bnn;
[0021] Calculate the difference between each corresponding original pixel color block color value and the target pixel color block color value, and form a difference set D, denoted as: D11, D1n, Dn1, Dnn, where the set D = the set B - the set A;
[0022] Sort the elements in set D in descending order according to their numerical values. Define the element with the largest numerical value in set D as the maximum color numerical difference value, and the element with the smallest numerical value in set D as the minimum color numerical difference value;
[0023] Calculate the difference between the maximum color numerical difference value and the minimum color numerical difference value, denoted as E, where E = maximum color numerical difference value - minimum color numerical difference value;
[0024] Set the screen compensation determination range value, denoted as [I, J];
[0025] If the difference E < determination value J and the difference E > determination value I, then execute the overall screen compensation strategy;
[0026] If the difference E < determination value I or the difference E > determination value J, then execute the partition screen compensation strategy.
[0027] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: the execution of the overall screen compensation strategy includes:
[0028] Obtain the numerical values of the elements in set D;
[0029] Calculate the average value between the elements in set D, denoted as X1, where X1 = sum of the numerical values of the elements in set D ÷ number of elements in set D. Then, the average value X1 is defined as the color numerical compensation value of each pixel color block for the overall screen compensation;
[0030] Calculate the color numerical value of each pixel color block after the overall screen compensation and form the third set E, denoted as: E11, E1n, En1, Enn, where set E = set A + average value X1.
[0031] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: the execution of the partition screen compensation strategy includes:
[0032] Obtain the numerical values of the elements in set B;
[0033] Then, the numerical values of the elements in set B are the color numerical values of each pixel color block after the partition screen compensation;
[0034] Calculate the color numerical compensation value of each pixel color block for the partition screen compensation and form the fourth set G, denoted as: G11, G1n, Gn1, Gnn, where set G = set B - set A.
[0035] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: the execution of the super-resolution reconstruction strategy includes:
[0036] Obtain the pixel color blocks of the original video source screen and the corresponding target color values for each pixel color block, and define them as the target pixel color blocks and target color values, denoted as Q and V respectively;
[0037] Extract any two adjacent target pixel color blocks in the original video source screen in sequence, denoted as Q1 and Q2 respectively;
[0038] Extract the target color values of the target pixel color blocks Q1 and Q2 respectively, denoted as V1 and V2;
[0039] Set the number of added pixel color blocks;
[0040] According to the number of added pixel color blocks, add pixel color blocks between the target pixel color blocks Q1 and Q2, and define the added pixel color blocks as the target added pixel color blocks;
[0041] Define the color value of the target added pixel color block as the target added color value, denoted as W;
[0042] Calculate the color value of the target added pixel color block added between two adjacent target pixel color blocks Q1 and Q2, denoted as W1, and the target added color value W1 = (target color value V1 + target color value V2) ÷ 2;
[0043] Define the original video source screen after adding the target added pixel color blocks as the target repaired screen;
[0044] Obtain the resolution of the target repaired screen and define it as the target conversion resolution;
[0045] Obtain the resolution of the projection screen and define it as the target comparison resolution;
[0046] If the target conversion resolution ≤ the target comparison resolution, the target repaired screen is the final display screen;
[0047] If the target conversion resolution > the target comparison resolution, perform the target conversion resolution modification strategy.
[0048] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: the performing of the target conversion resolution modification strategy includes:
[0049] Obtain the overall area of the target repaired screen and the overall area of the projection screen image;
[0050] Calculate the target range, and the target range = the overall area of the target repaired screen - the overall area of the projection screen image;
[0051] Obtain the pixel color blocks of the target repaired screen;
[0052] Remove the pixel color blocks of the target repair screen within the target range, and define the target repair screen after removing the pixel color blocks within the target range as the target output screen;
[0053] Then the target output screen is the final display screen.
[0054] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: the execution of the low-resolution reconstruction strategy includes:
[0055] Obtain the values of the original source resolution R1, the projection device resolution R2, and the projection screen resolution R3 respectively;
[0056] Arrange the projection device resolution R2 and the projection screen resolution R from high to low;
[0057] Define the lowest value among the projection device resolution R2 and the projection screen resolution R as the lowest resolution value;
[0058] Obtain the number of pixel color blocks corresponding to the lowest resolution value, and define it as the lowest number, denoted as N1;
[0059] Obtain the number of pixel color blocks of the original source, and define it as the original source number, denoted as N2;
[0060] Calculate the ratio between the original source number N2 and the lowest number N1, denoted as K2, and the ratio K2 = original source number N2 ÷ lowest number N1;
[0061] Taking K2 as the unit, divide the pixel color blocks of the original source into multiple regions to form a region set, denoted as the first region, the second region... the mth region respectively, and m = N1;
[0062] Obtain the sum of the color values of each region in the region set respectively, denoted as S1, S2, S3... Sm;
[0063] Calculate the average value of the color values of each region in the region set respectively, denoted as P1, P2, P3... Pm, P1 = S1 ÷ K2, P2 = S2 ÷ K2, P3 = S3 ÷ K2... Pm = Sm ÷ K2;
[0064] Calculate the number of pixel color blocks removed in each region of the region set, and define it as the removal number, denoted as N3, and the removal number N3 = K2 - 1;
[0065] Remove the pixel color blocks with the removal number N3 in each region of the region set;
[0066] Then there is one remaining pixel color block in each region of the region set. Define the remaining one pixel color block in each region of the region set as the remaining pixel color block;
[0067] Then, the average value of the color values of each region in the region set is respectively the color value of the remaining pixel color blocks in each region of the region set;
[0068] Merge the remaining pixel color blocks of each region to form a target degraded image;
[0069] Then, the target degraded image is the final display image.
[0070] As an alternative solution of the image quality control method of the projector described in the present invention, wherein: performing the low-resolution reconstruction strategy further includes:
[0071] Obtain the values of the original source resolution R1, the projection device resolution R2, and the projection screen resolution R3 respectively;
[0072] If the original source resolution R1 = the projection device resolution R2 and the projection screen resolution R3 < the projection device resolution R2, then the number of pixel color blocks corresponding to the lowest resolution value is the number of pixel color blocks of the projection screen;
[0073] If the original source resolution R1 = the projection screen resolution R3 and the projection device resolution R2 < the projection screen resolution R3, then the number of pixel color blocks corresponding to the lowest resolution value is the number of pixel color blocks of the projection device.
[0074] The present invention has the following beneficial effects:
[0075] 1. For the image quality control method of this projector, by comparing the resolutions of the original source, the projection device, and the projection screen, judging the projection image quality control method according to the comparison results, and forming different control data for the projection image quality according to different judgment results, so as to control the projection image quality in different ways in different situations, improve the clarity of the projection image, improve the projection image quality, and thus improve the user viewing effect.
[0076] 2. For the image quality control method of this projector, when the resolutions of the original source, the projection device, and the projection screen are the same, compensate the image according to the ambient brightness, eliminate the influence of the external ambient light brightness on the projection image quality, make the projection image quality consistent with the original source, and improve the user viewing effect.
[0077] 3. For the image quality control method of this projector, when the resolutions of the projection device and the projection screen are the same and the resolution of the original source is low, perform the operation of reconstructing the image, improve the resolution of the original source, make the resolution of the original source the same as that of the projection device and the projection screen, thereby improving the clarity and image quality of the projection image and improving the user viewing effect.
[0078] 4. The image quality control method of the projector performs a resolution reduction operation when the original video source and the projection device have the same resolution and the projection screen has a lower resolution, or when the original video source and the projection screen have the same resolution and the projection device has a lower resolution. The resolution of the original video source is reduced to keep the resolution of the original video source the same as that of the projection device and the projection screen, thereby improving the clarity and image quality of the projection image and enhancing the viewing experience of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 It is a block diagram of the image quality control method of the projector of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0080] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0081] Embodiment 1. Please refer to Figure 1 An image quality control method of a projector, comprising:
[0082] Obtain resolution data, where the resolution data includes the original video source resolution, the projection device resolution, and the projection screen resolution data;
[0083] According to the resolution data, through a resolution comparison strategy, form comparison result data for determining the control method of the projector image quality;
[0084] According to the comparison result data, through a projector image quality control strategy, form projector image quality control data for classifying and adjusting the control of the projector image quality;
[0085] Control the image quality of the projector according to the projector image quality control data.
[0086] Through the above image quality control method of the projector, first compare the resolutions of the original video source, the projection device, and the projection screen, determine the projection image quality control method according to the comparison result, and form different control data for the projection image quality according to different determination results, so as to control the projection image quality in different ways in different situations, improve the clarity of the projection image, improve the projection image quality, and thus enhance the user viewing experience.
[0087] Embodiment 2. This embodiment is an improvement made on the basis of Embodiment 1. Specifically, the resolution comparison strategy includes:
[0088] Obtain the original video source resolution, the projection device resolution, and the projection screen resolution respectively, denoted as R1, R2, and R3. The original video source resolution is the resolution of the video source screen played on the input device (such as a computer, mobile phone, etc.). The projection device resolution is the resolution of the intermediate conversion medium, the projector. The projection screen resolution is the resolution of the receiving device that receives and plays the projection screen;
[0089] If the original video source resolution R1 = the projection device resolution R2 and the original video source resolution R1 = the projection screen resolution R3, then execute the picture compensation strategy. The original video source resolution R1 = the projection device resolution R2 and the original video source resolution R1 = the projection screen resolution R3 indicate that the resolutions of the original video source, the projection device, and the projection screen are the same, so that the number of pixel color blocks of the three is the same. In the case of the same resolution, the final displayed and played picture on the projection screen can be compensated and corrected according to the influence of the light brightness of the external environment on the projection picture, improving the clarity and picture quality, and thus improving the user viewing effect;
[0090] If the projection device resolution R2 = the projection screen resolution R3 and the original video source resolution R1 < the projection device resolution R2, then execute the super-resolution reconstruction strategy. The projection device resolution R2 = the projection screen resolution R3 and the original video source resolution R1 < the projection device resolution R2 indicate that the resolutions of the projection device and the projection screen are the same, while the original video source resolution is lower than the resolutions of the projection device and the projection screen, that is, the number of pixel color blocks of the original video source is less than the number of pixel color blocks of the projection device and the projection screen. In the case of a lower original video source resolution, the resolution of the original video source screen can be reconstructed and restored to a high-resolution picture for display and playback, improving the clarity and picture quality, and thus further improving the user viewing effect;
[0091] If the original video source resolution R1 = the projection device resolution R2 and the projection screen resolution R3 < the projection device resolution R2, then execute the low-resolution reconstruction strategy. The original video source resolution R1 = the projection device resolution R2 and the projection screen resolution R3 < the projection device resolution R2 indicate that the resolutions of the original video source and the projection device are the same, while the projection screen resolution is lower than the resolutions of the original video source and the projection device, that is, the number of pixel color blocks of the projection screen is less than the number of pixel color blocks of the original video source and the projection device. In the case of a lower projection screen resolution, the resolution of the original video source screen can be reduced to a situation that the projection screen can be compatible with, ensuring the playback fluency, clarity, and picture quality of the projection picture, and thus further improving the user viewing effect;
[0092] If the resolution of the original video source R1 = the resolution of the projection screen R3 and the resolution of the projection device R2 < the resolution of the projection screen R3, then the low-resolution reconstruction strategy is executed. The fact that the resolution of the original video source R1 = the resolution of the projection screen R3 and the resolution of the projection device R2 < the resolution of the projection screen R3 means that the resolution of the original video source is the same as that of the projection screen, while the resolution of the projection device is lower than the resolution of the projection device and the projection screen. That is, the number of pixel color blocks of the projection device is less than the number of pixel color blocks of the original video source and the projection screen. When the resolution of the projection device is low, the resolution of the original video source image can be reduced to a situation that the projection device can be compatible with, ensuring that the projection device can smoothly convert the projection, improving the playback fluency, clarity and picture quality of the projection image, and thus further improving the user viewing effect.
[0093] Embodiment 3. This embodiment is an improvement made on the basis of Embodiment 2. Specifically, the picture compensation strategy is executed, including:
[0094] Taking the lower left corner of the current projection image as the origin, the X-axis and the Y-axis are respectively made;
[0095] Obtain the color value of each pixel color block in the projection image under the current light brightness, and define it as the target pixel color block color value. According to the coordinates of each pixel color block, form the first set A of each target pixel color block color value, denoted as: A11, A1n, An1, Ann. When the brightness of the external environment is higher than the brightness of the projection device itself, the projection image will become blurred. When the brightness of the projection device itself is higher than the brightness of the external environment, the projection image will become clear and the picture quality will be better. The brightness of the external environment will affect the brightness of the projection image finally projected onto the projection screen, thereby affecting the clarity of the projection image. Therefore, it is necessary to compensate the finally displayed image to eliminate the influence of the light brightness on the projection picture quality;
[0096] Taking the lower left corner of the current original video source image as the origin, the X-axis and the Y-axis are respectively made;
[0097] Obtain the color value of each pixel color block in the current original video source image, and define it as the original pixel color block color value. According to the coordinates of each pixel color block, form the second set B of each original pixel color block color value, denoted as: B11, B1n, Bn1, Bnn;
[0098] Calculate the difference between each corresponding original pixel color block color value and the target pixel color block color value, and form the difference set D, denoted as: D11, D1n, Dn1, Dnn. Among them, set D = set B - set A, where the coordinates of each element in sets A, B, and D are the same coordinates, and the elements of each coordinate in set D are: the elements in set B under the corresponding coordinate minus the elements in set A under the corresponding coordinate;
[0099] Sort the elements in set D from largest to smallest according to their numerical values. Define the element with the largest numerical value in set D as the maximum color numerical difference value, and the element with the smallest numerical value in set D as the minimum color numerical difference value;
[0100] Calculate the difference between the maximum color numerical difference value and the minimum color numerical difference value, denoted as E, where E = maximum color numerical difference value - minimum color numerical difference value;
[0101] Set the screen compensation determination range value, denoted as [I, J]. For example, the screen compensation determination range value is [-0.5, 0.5];
[0102] If the difference E < determination value J and the difference E > determination value I, then execute the overall screen compensation strategy, that is, it indicates that the differences between the elements in set D are within [-0.5, 0.5], and the differences between the elements in set D are relatively small. Therefore, the differences can be ignored, and the overall screen compensation strategy is executed to compensate all pixel color block color numerical values with a unified value;
[0103] If the difference E < determination value I or the difference E > determination value J, then execute the partition screen compensation strategy, that is, it indicates that the differences between the elements in set D are outside [-0.5, 0.5], and the differences between the elements are relatively large. The partition screen compensation strategy is executed to compensate the color numerical values of individual pixel color blocks separately.
[0104] This embodiment also provides that executing the overall screen compensation strategy specifically includes:
[0105] Obtain the numerical values of the elements in set D;
[0106] Calculate the average value between the elements in set D, denoted as X1, where X1 = sum of the numerical values of the elements in set D ÷ number of elements in set D. Then, the average value X1 is defined as the color numerical compensation value for each pixel color block in the overall screen compensation;
[0107] Calculate the color numerical value of each pixel color block after the overall screen compensation and form the third set E, denoted as: E11, E1n, En1, Enn, where set E = set A + average value X1. The coordinates of the elements in sets A and E are the same coordinates, and the numerical values of the elements in set E are the numerical values of the elements in set A added with the average value X1. The color numerical value of each pixel color block after the overall screen compensation is the color numerical value of each pixel color block in the final playing screen of the adjusted and controlled projection screen.
[0108] This embodiment also provides that executing the partition screen compensation strategy specifically includes:
[0109] Obtain the numerical values of the elements in set B;
[0110] The numerical values of the elements in set B are the color values of each pixel color block after the partitioned screen compensation, and the color value of each pixel color block after the partitioned screen compensation is the color value of each pixel color block in the final playing screen of the projection screen after adjustment and control;
[0111] Calculate the color value compensation value of each pixel color block for the partitioned screen compensation, and form the fourth set G, denoted as: G11, G1n, Gn1, Gnn, where set G = set B - set A, and the element coordinates in sets A, B, and G are the same coordinates. The element of each coordinate in set G is: the difference between the element in set B at the corresponding coordinate and the element in set A at the corresponding coordinate.
[0112] Example 4. This example is an improvement based on Example 2. Specifically, execute the super-resolution reconstruction strategy, including:
[0113] Obtain the pixel color blocks of the original source video frame and the corresponding target color values for each pixel color block, and define them as the target pixel color blocks and target color values, denoted as Q and V respectively;
[0114] Extract any two adjacent target pixel color blocks in the original source video frame in sequence, denoted as Q1 and Q2 respectively;
[0115] Extract the target color values of the target pixel color blocks Q1 and Q2 respectively, denoted as V1 and V2 respectively;
[0116] Set the number of added pixel color blocks, and the number of added pixel color blocks is 1;
[0117] According to the number of added pixel color blocks, add pixel color blocks between the target pixel color blocks Q1 and Q2, and define the added pixel color blocks as the target added pixel color blocks;
[0118] Define the color value of the target added pixel color block as the target added color value, denoted as W;
[0119] Calculate the color value of the target added pixel color block added between two adjacent target pixel color blocks Q1 and Q2, denoted as W1, and the target added color value W1 = (target color value V1 + target color value V2) ÷ 2;
[0120] Define the original source video frame after adding the target added pixel color blocks as the target repaired video frame;
[0121] Obtain the resolution of the target repaired video frame, and define it as the target conversion resolution;
[0122] Obtain the resolution of the projection screen, and define it as the target comparison resolution;
[0123] If the target transformation resolution ≤ the target comparison resolution, the target repaired screen is the final display screen, and the final display screen is the screen finally played on the projection screen after adjustment and control;
[0124] If the target transformation resolution > the target comparison resolution, a target transformation resolution modification strategy is performed.
[0125] This embodiment also provides that performing the target transformation resolution modification strategy specifically includes:
[0126] Obtain the overall area of the target repaired screen and the overall area of the projection screen image;
[0127] Calculate the target range, where the target range = the overall area of the target repaired screen - the overall area of the projection screen image;
[0128] Obtain the pixel color blocks of the target repaired screen;
[0129] Remove the pixel color blocks of the target repaired screen within the target range, and define the target repaired screen after removing the pixel color blocks within the target range as the target output screen;
[0130] Then the target output screen is the final display screen, and the final display screen is the screen finally played on the projection screen after adjustment and control.
[0131] In this embodiment, by adding pixel color blocks between two adjacent original pixel color blocks in the original source screen, and taking the average value of the color values of the original two adjacent pixel color blocks as the color value of the added pixel color block, the original source screen after adding pixel color blocks is defined as the target repaired screen, and then the resolution of the target repaired screen is compared with the resolution of the projection screen, and then it is determined whether to continue to modify the resolution of the target repaired screen. This method of increasing the resolution makes the display screen after increasing the resolution clearer and has better image quality, thus improving the user's viewing effect.
[0132] Embodiment Five, this embodiment is an improvement based on Embodiment Two. Specifically, performing the low-resolution reconstruction strategy includes:
[0133] Obtain the values of the original source resolution R1, the projection device resolution R2, and the projection screen resolution R3 respectively;
[0134] Arrange the projection device resolution R2 and the projection screen resolution R from high to low;
[0135] Define the lowest value among the projection device resolution R2 and the projection screen resolution R as the lowest resolution value;
[0136] Obtain the number of pixel color blocks corresponding to the lowest resolution value, and define it as the lowest number, denoted as N1;
[0137] Obtain the number of pixel color blocks of the original video source, which is defined as the number of the original video source and denoted as N2;
[0138] Calculate the ratio between the number N2 of the original video source and the minimum number N1, denoted as K2. The ratio K2 = the number N2 of the original video source ÷ the minimum number N1. For example, if the number of pixel color blocks of the original video source is 20 and the number of pixel color blocks corresponding to the lowest resolution value is 4, then K2 = 5;
[0139] Taking K2 as a unit, divide the pixel color blocks of the original video source into multiple regions to form a region set, which are respectively denoted as the first region, the second region... the mth region, and m = N1. That is, when K2 = 5, every 5 adjacent pixel color blocks in the original video source are divided into one region;
[0140] Respectively obtain the sum of the color values of each region in the region set, which are respectively denoted as S1, S2, S3... Sm. The sum of the color values is the sum of the color values of all pixel color blocks in each region;
[0141] Respectively calculate the average value of the color values of each region in the region set, which are respectively denoted as P1, P2, P3... Pm. P1 = S1÷K2, P2 = S2÷K2, P3 = S3÷K2... Pm = Sm÷K2. The average value of the color values is the single average value of the color values of all pixel color blocks in each region;
[0142] Calculate the number of pixel color blocks removed in each region in the region set, which is defined as the removal number and denoted as N3. The removal number N3 = K2 - 1;
[0143] Remove the pixel color blocks with the number N3 in each region in the region set;
[0144] Then there is one remaining pixel color block in each region in the region set. The one remaining pixel color block in each region in the region set is defined as the remaining pixel color block;
[0145] Then the average value of the color values of each region in the region set is respectively the color value of the remaining pixel color block in each region in the region set;
[0146] Piece together the remaining pixel color blocks of each region to form the target degraded picture;
[0147] Then the target degraded picture is the final display picture. The final display picture is the picture finally played on the projection screen after adjustment and control.
[0148] In this embodiment, implementing the low-resolution reconstruction strategy further includes:
[0149] Obtain the numerical values of the original video source resolution R1, the projection device resolution R2, and the projection screen resolution R3 respectively;
[0150] If the original video source resolution R1 = the projection device resolution R2 and the projection screen resolution R3 < the projection device resolution R2, then the number of pixel color blocks corresponding to the lowest resolution value is the number of pixel color blocks of the projection screen;
[0151] If the original video source resolution R1 = the projection screen resolution R3 and the projection device resolution R2 < the projection screen resolution R3, then the number of pixel color blocks corresponding to the lowest resolution value is the number of pixel color blocks of the projection device.
[0152] In this embodiment, by dividing the pixel color blocks of the original video source into multiple regions with the same number of pixel color blocks, and removing the same number of pixel color blocks within the regions, so that there is one pixel color block remaining in each region, and taking the average value of the pixel color block color values before removing the pixel color blocks within each region as the color value of the remaining one pixel color block after removing the pixel color blocks, and combining the remaining pixel color blocks in each region to form the final display screen. This way of reducing the resolution makes the color error between the display screen after reducing the resolution and the screen before reduction smaller, ensuring the projection playback picture quality.
[0153] The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as laptop computers, PADs (tablet computers), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals.
[0154] The electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage device into the random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.
[0155] Generally, the following devices may be connected to the I / O interface: input devices including, for example, touch screens, touch pads, image sensors, microphones, etc.; output devices including, for example, liquid crystal displays (LCDs), speakers, etc.; storage devices including, for example, magnetic tapes, hard disks, etc.; and communication devices. The communication device may allow the electronic device to communicate with other devices wirelessly or wiredly to exchange data.
[0156] The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium, which stores computer instructions for causing the computer to execute the projector picture quality control method in the foregoing method embodiments.
[0157] It should be noted that more specific examples of the computer-readable storage medium may include a portable computer disk, a hard disk, an erasable programmable read-only memory (E2PROM or flash memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in conjunction with an instruction execution system, apparatus, or device. The above computer-readable medium may be included in the above electronic device; or it may exist separately and not be assembled into the electronic device.
[0158] The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device can implement the solution provided by the above method embodiment.
[0159] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or may be connected to an external computer (e.g., by connecting through the Internet using an Internet service provider).
[0160] It should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article or device.
[0161] The above is only the preferred embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the technical principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A method for controlling image quality of a projector, characterized in that: include: Acquire resolution data, wherein the resolution data includes original film source resolution, projection device resolution, and projection screen resolution data; According to the resolution data, a resolution comparison strategy is used to form comparison result data for determining a control method for the image quality of the projector; According to the comparison result data, projector image quality control data is formed through a projector image quality control strategy, so as to be used for classifying, adjusting and controlling the image quality of the projector; Control the image quality of the projector according to the image quality control data of the projector; The resolution comparison strategy includes: Get the original source resolution, projection device resolution and projection screen resolution respectively, and record them as R1, R2 and R3; If the original source resolution R1 = projection device resolution R2 and the original source resolution R1 = projection screen resolution R3, then the image compensation strategy is executed; If the projection device resolution R2 = projection screen resolution R3 and the original source resolution R1 < projection device resolution R2, then execute the super-resolution reconstruction strategy; If the original source resolution R1 = projection device resolution R2 and the projection screen resolution R3 < projection device resolution R2, then a low-resolution reconstruction strategy is executed; If the original source resolution R1 = projection screen resolution R3 and the projection device resolution R2 < projection screen resolution R3, then execute the low-resolution reconstruction strategy; The execution of the picture compensation strategy includes: Take the lower left corner of the current projection screen as the origin, and draw the X-axis and Y-axis respectively; Obtain the color value of each pixel color block in the projection image under the current light brightness, and define it as the color value of the target pixel color block. According to the coordinates of each pixel color block, the color value of each target pixel color block is formed into a first set A, which is recorded as: A11, A1n, An1, Ann; Take the lower left corner of the current original source image as the origin, and plot the X-axis and Y-axis respectively; Obtain the color value of each pixel color block in the current original source image, define it as the original pixel color block color value, and form a second set B of each original pixel color block color value according to the coordinates of each pixel color block, denoted as: B11, B1n, Bn1, Bnn; Calculate the difference between the color value of each corresponding original pixel color block and the color value of the target pixel color block, and form a difference set D, recorded as: D11, D1n, Dn1, Dnn, where set D = set B - set A; Sort the elements in set D from large to small according to their values, set the element with the largest value in set D as the maximum color value difference, and set the element with the smallest value in set D as the minimum color value difference; Calculate the difference between the maximum color value difference and the minimum color value difference, recorded as E, E = maximum color value difference - minimum color value difference; Set the image compensation judgment range value, recorded as [I, J]; If the difference E < the judgment value J and the difference E > the judgment value I, then the overall picture compensation strategy is executed; If the difference E < judgment value I or the difference E > judgment value J, the partition screen compensation strategy is executed; The implementation of the overall picture compensation strategy includes: Get the value of each element in set D; Calculate the average value between the elements in set D, recorded as X1, X1 = the sum of the values of the elements in set D ÷ the number of elements in set D, then the average value X1 is determined as the color value compensation value of each pixel color block for the overall picture compensation; The color value of each pixel color block after the overall picture compensation is calculated to form a third set E, which is recorded as: E11, E1n, En1, Enn, where set E = set A + average value X1.
2. The image quality control method of a projector according to claim 1, characterized in that: The executing partition screen compensation strategy includes: Get the value of each element in set B; Then the value of each element in set B is the color value of each pixel color block after the partition screen is compensated; The color value compensation value of each pixel color block of the partitioned screen compensation is calculated to form a fourth set G, which is recorded as: G11, G1n, Gn1, Gnn, where set G = set B - set A.
3. The image quality control method of a projector according to claim 1, characterized in that: The super-resolution reconstruction strategy is implemented, including: Obtain the pixel blocks of the original source image and the target color value corresponding to each pixel block, which are defined as the target pixel blocks and the target color value, respectively, and are recorded as Q and V; Sequentially extract any two adjacent target pixel blocks in the original source image, which are recorded as Q1 and Q2 respectively; Extract the target color values of the target pixel blocks Q1 and Q2, respectively, and record them as V1 and V2; Set the number of pixel blocks to add; According to the number of pixel blocks to be added, a pixel block is added between the target pixel blocks Q1 and Q2, and the added pixel block is defined as the target added pixel block; The color value of the target added pixel block is set as the target added color value, denoted as W; Calculate the color value of the target added pixel color block added between two adjacent target pixel color blocks Q1 and Q2, recorded as W1, target added color value W1 = (target color value V1 + target color value V2) ÷ 2; The original source image after adding the target pixel blocks is defined as the target restoration image; Obtain the resolution of the target restoration image and set it as the target transformation resolution; Obtain the resolution of the projection screen and set it as the target comparison resolution; If the target transformation resolution is ≤ the target comparison resolution, the target repaired image is the final display image; If the target transition resolution is greater than the target comparison resolution, the target transition resolution modification strategy is performed.
4. The image quality control method of a projector according to claim 3, characterized in that: The target conversion resolution modification strategy includes: Obtaining the entire area of the target restoration image and the entire area of the projection screen image; Calculate the target range, target range = the overall area of the target restoration image - the overall area of the projection screen image; Get the pixel blocks of the target repaired image; Removing pixel blocks within the target range from the target restoration image, and setting the target restoration image after removing the pixel blocks within the target range as the target output image; The target output screen is the final display screen.
5. The image quality control method of a projector according to claim 1, characterized in that: The low-resolution reconstruction strategy includes: The values of the original film source resolution R1, the projection device resolution R2 and the projection screen resolution R3 are obtained respectively; Arrange the projection device resolution R2 and the projection screen resolution R from high to low; The lowest value of the projection device resolution R2 and the projection screen resolution R is set as the lowest resolution value; Get the number of pixel blocks corresponding to the lowest resolution value, set it as the minimum number, and record it as N1; Get the number of original source pixel blocks, which is defined as the number of original source pixels and recorded as N2; Calculate the ratio between the number of original film sources N2 and the minimum number N1, recorded as K2, ratio K2 = number of original film sources N2 ÷ minimum number N1; Taking K2 as a unit, the original source pixel block is divided into a plurality of regions to form a region set, which are respectively recorded as the first region, the second region, ... the mth region, and m=N1; Get the sum of the color values of each area in the area set respectively, and record them as S1, S2, S3...Sm; Calculate the average value of the color value of each area in the area set respectively, and record them as P1, P2, P3...Pm, P1=S1÷K2, P2=S2÷K2, P3=S3÷K2...Pm=Sm÷K2; Calculate the number of pixel blocks removed from each region in the region set, which is defined as the removal number, recorded as N3, and the removal number N3 = K2-1; Remove N3 pixel blocks from each region in the region set; Then there is one pixel color block remaining in each region in the region set, and the one pixel color block remaining in each region in the region set is defined as the remaining pixel color block; Then the average values of the color values of each region in the region set are the color values of the remaining pixel blocks in each region in the region set; The remaining pixel blocks in each area are combined to form the target degraded image; The target degradation picture is the final display picture.
6. The image quality control method of a projector according to claim 5, characterized in that: The executing low-resolution reconstruction strategy further includes: The values of the original film source resolution R1, the projection device resolution R2 and the projection screen resolution R3 are obtained respectively; If the original source resolution R1 = projection device resolution R2 and the projection screen resolution R3 < projection device resolution R2, then the number of pixel blocks corresponding to the lowest resolution value is the number of pixel blocks on the projection screen; If the original source resolution R1 = the projection screen resolution R3 and the projection device resolution R2 < the projection screen resolution R3, then the number of pixel blocks corresponding to the lowest resolution value is the number of pixel blocks of the projection device.
Citation Information
Patent Citations
Image supply device, display system, image supply method, and information recording medium
CN102736883A
Laser projection apparatus and display method of projected image
CN114979602A