Projector calibration method and device, storage medium and electronic equipment

Through the projector color calibration method, color coordinate data is collected and processed, and the color gamut mapping conversion matrix is generated, which solves the problem of projector color distortion and improves the projector's color performance and user experience.

CN120343215APending Publication Date: 2025-07-18HUIZHOU TCL MOBILE COMM CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510473202.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, the color distortion problem caused by life or aging during use of the projector cannot be effectively solved, affecting the user experience.

Method used

The projector projects pictures of different colors in sequence, collects color coordinate data, combines them into a test polynomial matrix, transforms and rearranges into a test color gamut matrix that matches the projection processor, and calculates the color gamut mapping conversion matrix to calibrate the projector color.

Benefits of technology

Effectively improve the color distortion of the projector and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343215A_ABST
    Figure CN120343215A_ABST
Patent Text Reader

Abstract

The invention discloses a projector calibration method and device, a storage medium and electronic equipment, and relates to the technical field of projection, and the method comprises the steps: sequentially projecting a plurality of pictures of different colors through a projector, and carrying out the color coordinate collection of the plurality of pictures, and obtaining the test color coordinate data of a plurality of colors; performing combination processing on the test color coordinate data of the plurality of colors according to a projection calibration matrix layout to obtain a test polynomial matrix; performing conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix matched with the specification of the projection processor; and calculating according to the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector performs projection based on the color gamut mapping conversion matrix. According to the invention, the color of the projector can be effectively calibrated, the color distortion improvement effect of the projector is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of projection technology, and in particular, to a projector calibration method, device, storage medium, and electronic device. Background Art

[0002] When a user uses a projector for a long time, the projector color distortion may occur due to reasons such as the projector life or aging, resulting in a poor picture quality of the projector's projection image and affecting the user's actual use experience.

[0003] Currently, for the related technical means to improve the color distortion of projectors, there is a method of simply calibrating the projector according to the pixel distribution of the projector's projection image. However, the current method still has limited improvement in the color distortion problem of projectors. Summary of the Invention

[0004] An embodiment of this application provides a projector calibration solution, which can improve the improvement effect of projector color distortion and enhance the user experience.

[0005] The embodiments of this application provide the following technical solutions:

[0006] According to an embodiment of this application, a projector calibration method includes: sequentially projecting multiple pictures of different colors through the projector, and respectively collecting the color coordinates of the multiple pictures to obtain the test color coordinate data of multiple colors; combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix; performing a conversion and rearrangement process on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor; calculating based on the test color gamut matrix and the standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector projects based on the color gamut mapping conversion matrix.

[0007] In some embodiments of this application, the combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix includes: obtaining a preset calibration matrix layout from the projection calibration configuration; obtaining the projection calibration matrix layout according to the preset calibration matrix layout; combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

[0008] In some embodiments of this application, the obtaining the projection calibration matrix layout according to the preset calibration matrix layout includes one of the following methods: determining the preset calibration matrix layout as the projection calibration matrix layout; obtaining projection environment information, and adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

[0009] In some embodiments of the present application, the multiple colors include white, red, green, and blue; arranging according to the projection calibration matrix and combining and processing the test color coordinate data of the multiple colors to obtain a test polynomial matrix, including: placing the test color coordinate data of white in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is a default value; sequentially placing the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix to obtain the test polynomial matrix, and the test color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

[0010] In some embodiments of the present application, performing a conversion and rearrangement process on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor, including: converting the test polynomial matrix to obtain test polynomial coefficients; rearranging the test polynomial coefficients to obtain the test color gamut matrix.

[0011] In some embodiments of the present application, converting the test polynomial matrix to obtain test polynomial coefficients, including: performing an inverse matrix operation on the test polynomial matrix to obtain a test polynomial inverse matrix; multiplying the test polynomial inverse matrix by a predetermined conversion matrix to obtain the test polynomial coefficients.

[0012] In some embodiments of the present application, calculating a color gamut mapping conversion matrix based on the test color gamut matrix and a standard color gamut matrix, including: multiplying the test color gamut matrix by the standard color gamut matrix to obtain a fusion matrix; performing an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix; obtaining the color gamut mapping conversion matrix based on the fusion inverse matrix.

[0013] In some embodiments of the present application, obtaining the color gamut mapping conversion matrix based on the fusion inverse matrix, including: performing a scaling process on the fusion inverse matrix to obtain a scaled matrix; performing a digit conversion on the scaled matrix to obtain the color gamut mapping conversion matrix.

[0014] In some embodiments of the present application, before calculating the color gamut mapping conversion matrix based on the test color gamut matrix and the standard color gamut matrix, the method further includes one of the following methods: obtaining the preset standard color gamut matrix; obtaining standard color coordinate data and performing calculation processing based on the standard color coordinate data to obtain the standard color gamut matrix.

[0015] According to an embodiment of the present application, a projector calibration device, the device includes: an acquisition module, configured to: project multiple pictures of different colors in sequence through a projector, and respectively collect color coordinates of the multiple pictures to obtain test color coordinate data of multiple colors; a combination module, configured to: perform combination processing on the test color coordinate data of the multiple colors according to a projection calibration matrix layout to obtain a test polynomial matrix; a conversion module, configured to: perform conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix matching the specifications of a projection processor; a calculation module, configured to: calculate according to the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector performs projection based on the color gamut mapping conversion matrix.

[0016] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a device, the device is enabled to execute the method described in the embodiments of the present application.

[0017] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; a processor reading the computer program stored in the memory to execute the method described in the embodiments of the present application.

[0018] According to another embodiment of the present application, a computer program product or a computer program, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of the device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the device executes the methods provided in various alternative implementation manners described in the embodiments of the present application.

[0019] In the embodiments of the present application, multiple pictures of different colors are projected in sequence through a projector, and the color coordinates of the multiple pictures are respectively collected to obtain test color coordinate data of multiple colors; the test color coordinate data of the multiple colors are subjected to combination processing according to a projection calibration matrix layout to obtain a test polynomial matrix; the test polynomial matrix is subjected to conversion and rearrangement processing to obtain a test color gamut matrix matching the specifications of a projection processor; and calculation is performed according to the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector performs projection based on the color gamut mapping conversion matrix.

[0020] In this way, multiple test color coordinate data of different colors are collected by sequentially projecting multiple pictures of different colors through a projector. Then, the test color coordinate data of multiple colors are processed by combining them according to the projection calibration matrix layout to obtain a test polynomial matrix, and the test polynomial matrix is converted and rearranged to a test color gamut matrix that matches the specifications of the projection processor. The color gamut mapping conversion matrix is calculated based on the test color gamut matrix and the standard color gamut matrix for the projector to perform projection, which can effectively calibrate the color of the projector, improve the color distortion improvement effect of the projector, and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0022] Figure 1 FIG. shows a flowchart of a projector calibration method according to an embodiment of the present application.

[0023] Figure 2 FIG. shows a schematic diagram of color coordinate data according to an example of the present application.

[0024] Figure 3 FIG. shows a schematic diagram of color coordinate data according to an embodiment of the present application.

[0025] Figure 4 FIG. shows a test polynomial matrix according to an embodiment of the present application.

[0026] Figure 5 FIG. shows a flowchart of matrix conversion according to an embodiment of the present application.

[0027] Figure 6 FIG. shows a flowchart of matrix conversion according to another embodiment of the present application.

[0028] Figure 7 FIG. shows a flowchart of matrix conversion according to another embodiment of the present application.

[0029] Figure 8 FIG. shows a flowchart of matrix conversion according to another embodiment of the present application.

[0030] Figure 9 FIG. shows a block diagram of a projector calibration device according to an embodiment of the present application.

[0031] Figure 10 FIG. shows a block diagram of an electronic device according to an embodiment of the present application. Detailed Implementation Manner

[0032] The following further elaborates on the present disclosure in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely for explaining the present disclosure and are not used to limit the present disclosure. Additionally, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than all embodiments for implementing the present disclosure. Without conflict, the technical solutions described in the embodiments of the present disclosure can be implemented in any combinatorial manner.

[0033] It should be noted that in the embodiments of the present disclosure, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a method or apparatus including a series of elements not only includes the specifically recited elements, but also includes other elements not explicitly listed, or further includes elements inherent to the implementation of the method or apparatus. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional related elements in the method or apparatus including such element (such as steps in a method or units in an apparatus, and the units can be partial circuits, partial processors, partial programs or software, etc.).

[0034] For example, the projector calibration method provided in the embodiments of the present disclosure includes a series of steps, but the projector calibration method provided in the embodiments of the present disclosure is not limited to the recited steps. Similarly, the projector calibration apparatus provided in the embodiments of the present disclosure includes a series of units, but the apparatus provided in the embodiments of the present disclosure is not limited to including the specifically recited units, and may further include units required for obtaining relevant information or processing based on the information.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0036] It can be understood that in the specific implementation manner of the present application, when it comes to relevant data, when the embodiments in the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0037] Figure 1 The flowchart of the projector calibration method according to an embodiment of the present application is schematically shown. The execution subject of the projector calibration method can be any device with processing capabilities, and the device serving as the execution subject can be the projector itself or the control device of the projector, etc.

[0038] As Figure 1As shown, the projector calibration method may include steps S110 to S140.

[0039] Step S110: The projector sequentially projects multiple pictures of different colors, and respectively collects the color coordinates of the multiple pictures to obtain the test color coordinate data of multiple colors.

[0040] Step S120: Combine and process the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

[0041] Step S130: Perform conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor.

[0042] Step S140: Calculate based on the test color gamut matrix and the standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector projects based on the color gamut mapping conversion matrix.

[0043] After the projector sequentially projects multiple pictures of different colors onto the projection plane, devices such as cameras can collect the color coordinates of the pictures on the projection plane to obtain the color coordinate data collected for each color picture (i.e., the test color coordinate data for each color). Among them, the color coordinate data is the coordinate data used to represent colors, and the color coordinate data includes the x coordinate value and the y coordinate value. These two coordinate values can accurately represent a luminous color when combined.

[0044] Then, combine and process the test color coordinate data of multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix that integrates the test color coordinate data of these multiple colors according to the projection calibration matrix layout. Among them, the projection calibration matrix layout is the layout of the color coordinate data in the matrix.

[0045] Furthermore, perform conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor. The projection processor is the processor in the projector that processes the projection content based on the color gamut mapping conversion matrix. The projection processor can be a chip or other integrated circuit modules, etc. The specifications of the projection processor can specifically refer to the matrix size.

[0046] Furthermore, the standard color gamut matrix is the color gamut matrix of the standard color or the target color. Calculate the color gamut mapping conversion matrix based on the test color gamut matrix and the standard color gamut matrix, and configure the color gamut mapping conversion matrix into the underlying logic framework of the projector. The projection processor can then process and project the projection content based on the color gamut mapping conversion matrix, thereby enabling the projector to maintain good color effects.

[0047] In this way, multiple test color coordinate data of different colors are collected by sequentially projecting multiple pictures of different colors through a projector. Then, the test color coordinate data of multiple colors are processed by combining them according to the projection calibration matrix layout to obtain a test polynomial matrix, and the test polynomial matrix is converted and rearranged to a test color gamut matrix that matches the specifications of the projection processor. The color gamut mapping conversion matrix is calculated based on the test color gamut matrix and the standard color gamut matrix for the projector to perform projection, which can effectively calibrate the color of the projector, improve the color distortion improvement effect of the projector, and enhance the user experience.

[0048] The following description Figure 1 Specific optional embodiments under each step when calibrating a projector in the embodiments below.

[0049] In one embodiment, in step S110, by sequentially projecting multiple pictures of different colors through the projector and respectively collecting the color coordinates of the multiple pictures, multiple test color coordinate data of different colors are obtained. Specifically, it may include: sequentially projecting pictures of white, red, green, and blue through the projector and respectively collecting the color coordinates to obtain test color coordinate data of white, red, green, and blue.

[0050] After sequentially projecting a white picture through the projector onto the projection plane, devices such as a camera can collect the color coordinates of the picture on the projection plane to obtain the color coordinate data of white as the test color coordinate data; after sequentially projecting a red picture through the projector onto the projection plane, devices such as a camera can collect the color coordinates of the picture on the projection plane to obtain the color coordinate data of red as the test color coordinate data; and so on, the test color coordinate data of green and blue can be obtained. For example, refer to Figure 2 In one example, the test color coordinate data of white, red, green, and blue obtained are as Figure 2 shown.

[0051] Optionally, in other embodiments, by sequentially projecting multiple pictures of different colors through the projector and respectively collecting the color coordinates of the multiple pictures, multiple test color coordinate data of different colors are obtained. Specifically, it may include: sequentially projecting pictures of red, green, and blue through the projector and respectively collecting the color coordinates to obtain test color coordinate data of red, green, and blue.

[0052] In one embodiment, in step S120, the process of combining the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix may include: obtaining a preset calibration matrix layout from a projection calibration configuration; obtaining the projection calibration matrix layout according to the preset calibration matrix layout; and combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

[0053] The projection calibration configuration corresponding to the projector can be set in advance. The projection calibration configuration may include a preset calibration matrix layout, which is also the layout of color coordinate data in the matrix. Furthermore, when projector calibration is required, the preset calibration matrix layout can be conveniently obtained from the projection calibration configuration, and the projection calibration matrix layout can be obtained according to the preset calibration matrix layout. Subsequently, according to the projection calibration matrix layout, the test color coordinate data of multiple colors are combined and processed to obtain a test polynomial matrix.

[0054] Further, in one embodiment, obtaining the projection calibration matrix layout according to the preset calibration matrix layout includes one of the following methods:

[0055] First, determining the preset calibration matrix layout as the projection calibration matrix layout;

[0056] Second, obtaining projection environment information and adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

[0057] In the first method, the preset calibration matrix layout is directly used as the projection calibration matrix layout.

[0058] In the second method, first obtain the projection environment information. The projection environment information is the relevant information of the projection environment, which may include but is not limited to information such as the type of projection plane and the light intensity of the projection venue. Adjust the preset calibration matrix layout according to the projection environment information, and use the adjusted preset calibration matrix layout as the projection calibration matrix layout, which can further improve the environmental adaptability of projector calibration.

[0059] Among them, in one example, adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout may specifically be: obtaining an adjustment coefficient matrix corresponding to the projection environment information, multiplying the adjustment coefficient matrix by the preset calibration matrix layout, and obtaining the adjusted preset calibration matrix layout.

[0060] Further, in one embodiment, the multiple colors include white, red, green, and blue; arranging the test color coordinate data of the multiple colors according to the projection calibration matrix layout and performing a combined process to obtain a test polynomial matrix, which specifically may include:

[0061] Place the test color coordinate data of white in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is a default value; place the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix in sequence to obtain the test polynomial matrix, and the test color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

[0062] In this embodiment, the multiple colors include white, red, green, and blue, and the test polynomial matrix is a nine-row and nine-column matrix. Place the test color coordinate data of white in the second and third rows of the nine-row and nine-column matrix. The first row of the nine-row and nine-column matrix is a default value. The fourth to ninth rows of the nine-row and nine-column matrix form three sub-matrices. Place the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix in sequence and form the main diagonals of the three sub-matrices.

[0063] In this implementation manner, a test polynomial matrix that integrates the test color coordinate data of white, red, green, and blue according to the projection calibration matrix layout is obtained. The test polynomial matrix used in the solution of this application can extremely effectively improve the calibration effect.

[0064] Specifically, referring to Figure 3 and Figure 4 , in a specific example, the finally generated nine-row and nine-column matrix test polynomial matrix is as shown in the following matrix. The test polynomial matrix in this example used in the solution of this application can further effectively improve the calibration effect. In the test polynomial matrix in this example, the first row of the nine-row and nine-column matrix is the default value 0, 0, 0, 1, 1, 1, 0, 0, 0; the second and third rows place the test color coordinate data of white (W), where SX w refers to the x coordinate value of white, and SY w refers to the y coordinate value of white. The fourth and fifth rows place the test color coordinate data of red (R), where SX r refers to the x coordinate value of red, and SY r refers to the y coordinate value of red. The sixth and seventh rows place the test color coordinate data of green (G), where SX g refers to the x coordinate value of green, and SY g refers to the y coordinate value of green. The eighth and ninth rows place the test color coordinate data of blue (B), where SX b refers to the x coordinate value of blue, and SYb Refers to the y - coordinate value of blue.

[0065]

[0066] Among them, the test color coordinate data of red, green, and blue form the main diagonals of three sub - matrices in the fourth to ninth rows. For example, the first sub - matrix is:

[0067]

[0068] In one embodiment, in step S130, the process of converting and rearranging the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor includes: converting the test polynomial matrix to obtain test polynomial coefficients; rearranging the test polynomial coefficients to obtain the test color gamut matrix.

[0069] By first converting the test polynomial matrix into test polynomial coefficients and then rearranging the test polynomial coefficients to obtain the test color gamut matrix, the test polynomial matrix can be accurately converted into a test color gamut matrix that matches the specifications of the projection processor according to the specifications of the projection processor.

[0070] Further, in one embodiment, the process of converting the test polynomial matrix to obtain test polynomial coefficients may specifically include: performing an inverse matrix operation on the test polynomial matrix to obtain a test polynomial inverse matrix; multiplying the test polynomial inverse matrix by a predetermined conversion matrix to obtain the test polynomial coefficients.

[0071] Refer to Figure 5 , in an example, the predetermined conversion matrix is a single - column matrix. Among them, the values in the predetermined conversion matrix are 1, 0, 0, 0, 0, 0, 0, 0, 0 in sequence. After performing an inverse matrix operation on the test polynomial matrix in the above example to obtain a test polynomial inverse matrix, multiplying the test polynomial inverse matrix by the predetermined conversion matrix, the test polynomial coefficients in the form of a single - column matrix are obtained as follows:

[0072]

[0073] With the predetermined conversion matrix in this example, the test polynomial matrix that combines the test color coordinate data of white, red, green, and blue can be converted into the test polynomial coefficients of this example, and can be further accurately converted into a test color gamut matrix that matches the specifications of the projection processor and effectively guarantees the calibration effect of the projector.

[0074] For example, refer to Figure 6 , the test polynomial coefficients can be converted into a test color gamut matrix that matches the specifications of the projection processor:

[0075]

[0076] In one embodiment, calculating the gamut mapping conversion matrix according to the test gamut matrix and the standard gamut matrix may include: multiplying the test gamut matrix by the standard gamut matrix to obtain a fusion matrix; performing an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix; and obtaining the gamut mapping conversion matrix according to the fusion inverse matrix.

[0077] Multiplying the test gamut matrix by the standard gamut matrix to obtain a fusion matrix, then performing an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix, and obtaining the gamut mapping conversion matrix according to the fusion inverse matrix can enable the projector to process the projection content (i.e., the image) according to the gamut mapping conversion matrix and then project it, effectively improving the image quality of the projection screen. For example, projecting the processed content after multiplying the projection content (i.e., the image) by the gamut mapping conversion matrix.

[0078] Further, obtaining the gamut mapping conversion matrix according to the fusion inverse matrix includes: performing a scaling process on the fusion inverse matrix to obtain a scaled matrix; and performing a bit conversion on the scaled matrix to obtain the gamut mapping conversion matrix.

[0079] Performing a scaling process on the fusion inverse matrix to obtain a scaled matrix, and then performing a bit conversion on the scaled matrix to obtain the gamut mapping conversion matrix, so as to accurately obtain the gamut mapping conversion matrix that meets the requirements of the projection processor and further ensure the projection calibration effect.

[0080] For example, referring to Figure 7 and Figure 8 , if the fusion inverse matrix is M1, multiplying the fusion inverse matrix M1 by the scaling parameter 1024 and taking the integer to obtain the scaled matrix M2, and then converting the scaled matrix M2 into a 12-bit hexadecimal number to obtain the gamut mapping conversion matrix M3.

[0081] Further, in one embodiment of the present application, before calculating the gamut mapping conversion matrix according to the test gamut matrix and the standard gamut matrix, the method further includes one of the following methods:

[0082] First, obtaining the preset standard gamut matrix;

[0083] Second, obtaining standard color coordinate data and performing calculation processing according to the standard color coordinate data to obtain the standard gamut matrix.

[0084] In the first method, the standard gamut matrix can be configured in the projection calibration configuration, and the preset standard gamut matrix can be directly obtained from the projection calibration configuration during calibration.

[0085] In the second method, the standard color coordinate data can be configured in the projection calibration configuration. When performing calibration, the standard color coordinate data is first obtained, and the standard color gamut matrix is obtained through calculation and processing based on the standard color coordinate data. In this way, dynamic adjustment can be performed during the calculation process to obtain a standard color gamut matrix that more dynamically meets the calibration effect.

[0086] In one embodiment, performing calculation and processing based on the standard color coordinate data to obtain the standard color gamut matrix may include: combining and processing the standard color coordinate data according to the projection calibration matrix layout to obtain a standard polynomial matrix; performing conversion and rearrangement processing on the standard polynomial matrix to obtain a standard color gamut matrix that matches the specifications of the projection processor.

[0087] Further, in one embodiment, the combining and processing the standard color coordinate data according to the projection calibration matrix layout to obtain the standard polynomial matrix may include: obtaining a preset calibration matrix layout from the projection calibration configuration; obtaining the projection calibration matrix layout according to the preset calibration matrix layout; combining and processing the standard color coordinate data according to the projection calibration matrix layout to obtain the standard polynomial matrix.

[0088] Further, in one embodiment, obtaining the projection calibration matrix layout according to the preset calibration matrix layout includes one of the following methods: determining the preset calibration matrix layout as the projection calibration matrix layout; obtaining projection environment information and adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

[0089] Further, in one embodiment, the multiple colors include white, red, green, and blue; the combining and processing the standard color coordinate data according to the projection calibration matrix layout to obtain the standard polynomial matrix includes: placing the standard color coordinate data of white in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is the default value; placing the standard color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix in sequence to obtain the standard polynomial matrix, and the standard color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

[0090] Further, in one embodiment, the performing conversion and rearrangement processing on the standard polynomial matrix to obtain a standard color gamut matrix that matches the specifications of the projection processor may include: converting the standard polynomial matrix to obtain standard polynomial coefficients; rearranging the standard polynomial coefficients to obtain the standard color gamut matrix.

[0091] Further, in one embodiment, the conversion of the standard polynomial matrix to obtain the standard polynomial coefficients includes: performing an inverse matrix operation on the standard polynomial matrix to obtain a standard polynomial inverse matrix; multiplying the standard polynomial inverse matrix by a predetermined conversion matrix to obtain the standard polynomial coefficients.

[0092] To facilitate better implementation of the projector calibration method provided in the embodiments of the present application, the embodiments of the present application also provide a projector calibration device based on the above projector calibration method. The meanings of the terms are the same as those in the above projector calibration method, and the specific implementation details can be referred to the description in the method embodiments. Figure 9 The block diagram of a projector calibration device according to an embodiment of the present application is shown.

[0093] As Figure 9 shown, the projector calibration device 200 may include: The acquisition module 210 may be configured to: project multiple pictures of different colors in sequence through the projector, and respectively collect the color coordinates of the multiple pictures to obtain the test color coordinate data of multiple colors; The combination module 220 may be configured to: combine and process the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix; The conversion module 230 may be configured to: perform a conversion and rearrangement process on the test polynomial matrix to obtain a test color gamut matrix matching the specifications of the projection processor; The calculation module 240 may be configured to: calculate according to the test color gamut matrix and the standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector projects based on the color gamut mapping conversion matrix.

[0094] In some embodiments of the present application, the combination module 220 may be configured to: obtain a preset calibration matrix layout from the projection calibration configuration; obtain the projection calibration matrix layout according to the preset calibration matrix layout; combine and process the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

[0095] In some embodiments of the present application, the combination module 220 may be configured to implement one of the following methods: determine the preset calibration matrix layout as the projection calibration matrix layout; obtain projection environment information, and adjust the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

[0096] In some embodiments of the present application, the multiple colors include white, red, green, and blue; the combination module 220 can be used to: place the white test color coordinate data in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is the default value; place the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix in sequence to obtain the test polynomial matrix, and the test color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

[0097] In some embodiments of the present application, the conversion module 230 can be used to: convert the test polynomial matrix to obtain test polynomial coefficients; rearrange the test polynomial coefficients to obtain the test color gamut matrix.

[0098] In some embodiments of the present application, the conversion module 230 can be used to: perform an inverse matrix operation on the test polynomial matrix to obtain a test polynomial inverse matrix; multiply the test polynomial inverse matrix by a predetermined conversion matrix to obtain the test polynomial coefficients.

[0099] In some embodiments of the present application, the calculation module 240 can be used to: multiply the test color gamut matrix by the standard color gamut matrix to obtain a fusion matrix; perform an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix; and obtain the color gamut mapping conversion matrix according to the fusion inverse matrix.

[0100] In some embodiments of the present application, the calculation module 240 can be used to: perform a scaling process on the fusion inverse matrix to obtain a scaled matrix; perform a digit conversion on the scaled matrix to obtain the color gamut mapping conversion matrix.

[0101] In some embodiments of the present application, before calculating the color gamut mapping conversion matrix according to the test color gamut matrix and the standard color gamut matrix, the device further includes an acquisition module for implementing one of the following methods: acquiring the preset standard color gamut matrix; acquiring standard color coordinate data and performing calculation processing according to the standard color coordinate data to obtain the standard color gamut matrix.

[0102] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0103] In addition, an embodiment of the present application further provides an electronic device, which may be a projector or a control device for a projector, etc. As Figure 10 shown, Figure 10 FIG. shows a block diagram of an electronic device according to an embodiment of the present application. Specifically:

[0104] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art can understand that Figure 10 the structure of the electronic device shown in FIG. does not constitute a limitation on the electronic device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0105] Among them:

[0106] The processor 301 is the control center of the electronic device, connecting various parts of the entire computer device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interfaces, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 301.

[0107] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. Among them, the program storage area may store the operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created according to the use of the computer device. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. Correspondingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0108] The electronic device further includes a power supply 303 for supplying power to each component. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0109] The electronic device may further include an input unit 304, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0110] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 301 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 302 according to instructions, and the processor 301 will run the computer programs stored in the memory 302 to implement various functions in the foregoing embodiments of the present application.

[0111] For example, the processor 301 can execute the following steps:

[0112] Project multiple pictures of different colors in sequence through a projector, and respectively collect the color coordinates of the multiple pictures to obtain the test color coordinate data of multiple colors; combine and process the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix; perform conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor; calculate based on the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector projects based on the color gamut mapping conversion matrix.

[0113] In some embodiments of the present application, the combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix includes: obtaining a preset calibration matrix layout from the projection calibration configuration; obtaining the projection calibration matrix layout according to the preset calibration matrix layout; combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

[0114] In some embodiments of the present application, obtaining the projection calibration matrix layout according to the preset calibration matrix layout includes one of the following methods: determining the preset calibration matrix layout as the projection calibration matrix layout; obtaining projection environment information, and adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

[0115] In some embodiments of the present application, the multiple colors include white, red, green, and blue; combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix includes: placing the test color coordinate data of white in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is a default value; placing the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix in sequence to obtain the test polynomial matrix, and the test color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

[0116] In some embodiments of the present application, performing a conversion and rearrangement process on the test polynomial matrix to obtain a test color gamut matrix that matches the specifications of the projection processor includes: converting the test polynomial matrix to obtain test polynomial coefficients; rearranging the test polynomial coefficients to obtain the test color gamut matrix.

[0117] In some embodiments of the present application, converting the test polynomial matrix to obtain test polynomial coefficients includes: performing an inverse matrix operation on the test polynomial matrix to obtain a test polynomial inverse matrix; multiplying the test polynomial inverse matrix by a predetermined conversion matrix to obtain the test polynomial coefficients.

[0118] In some embodiments of the present application, calculating a color gamut mapping conversion matrix according to the test color gamut matrix and a standard color gamut matrix includes: multiplying the test color gamut matrix by the standard color gamut matrix to obtain a fusion matrix; performing an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix; obtaining the color gamut mapping conversion matrix according to the fusion inverse matrix.

[0119] In some embodiments of the present application, obtaining the color gamut mapping conversion matrix according to the fusion inverse matrix includes: performing a scaling process on the fusion inverse matrix to obtain a scaled matrix; performing a digit conversion on the scaled matrix to obtain the color gamut mapping conversion matrix.

[0120] In some embodiments of the present application, before calculating the gamut mapping conversion matrix according to the test gamut matrix and the standard gamut matrix, the method further includes one of the following methods: obtaining the preset standard gamut matrix; obtaining standard color coordinate data, and performing calculation and processing according to the standard color coordinate data to obtain the standard gamut matrix.

[0121] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a computer program or by controlling related hardware through a computer program. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0122] Therefore, an embodiment of the present application further provides a storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any one of the methods provided by the embodiments of the present application.

[0123] Among them, the storage medium may be a computer-readable storage medium, and the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), a magnetic disk or an optical disc, etc.

[0124] Since the computer program stored in the storage medium can execute the steps in any one of the methods provided by the embodiments of the present application, the beneficial effects that can be achieved by the methods provided by the embodiments of the present application can be realized. For details, see the previous embodiments and will not be repeated here.

[0125] After considering the specification and practicing the disclosed embodiments herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include known common knowledge or conventional technical means in the technical field not disclosed in the present application.

[0126] It should be understood that the present application is not limited to the embodiments described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A projector calibration method, characterized in that, Including: Projecting multiple pictures of different colors in sequence by a projector, and respectively collecting color coordinates of the multiple pictures to obtain test color coordinate data of multiple colors; Combining and processing the test color coordinate data of the multiple colors according to a projection calibration matrix layout to obtain a test polynomial matrix; Performing conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix matching the specifications of a projection processor; Calculating according to the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix, so that the projector projects based on the color gamut mapping conversion matrix.

2. The method according to claim 1, wherein The combining and processing the test color coordinate data of the multiple colors according to a projection calibration matrix layout to obtain a test polynomial matrix includes: Obtaining a preset calibration matrix layout from a projection calibration configuration; Obtaining the projection calibration matrix layout according to the preset calibration matrix layout; Combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix.

3. The method according to claim 2, characterized in that, The obtaining the projection calibration matrix layout according to the preset calibration matrix layout includes one of the following methods: Determining the preset calibration matrix layout as the projection calibration matrix layout; Obtaining projection environment information, and adjusting the preset calibration matrix layout according to the projection environment information to obtain the projection calibration matrix layout.

4. The method according to claim 2, characterized in that, The multiple colors include white, red, green, and blue; the combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix includes: Placing the test color coordinate data of white in the second and third rows of a nine-row and nine-column matrix, where the first row of the nine-row and nine-column matrix is a default value; Sequentially placing the test color coordinate data of red, green, and blue in the fourth to ninth rows of the nine-row and nine-column matrix to obtain the test polynomial matrix, and the test color coordinate data of red, green, and blue form the main diagonals of three sub-matrices in the fourth to ninth rows.

5. The method according to claim 1, wherein The performing conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix matching the specifications of a projection processor includes: Converting the test polynomial matrix to obtain test polynomial coefficients; Rearranging the test polynomial coefficients to obtain the test color gamut matrix.

6. The method according to claim 5, characterized in that, The converting the test polynomial matrix to obtain test polynomial coefficients includes: Performing an inverse matrix operation on the test polynomial matrix to obtain a test polynomial inverse matrix; Multiplying the test polynomial inverse matrix by a predetermined conversion matrix to obtain the test polynomial coefficients.

7. The method according to claim 1, characterized in that The calculating according to the test color gamut matrix and a standard color gamut matrix to obtain a color gamut mapping conversion matrix includes: Multiplying the test color gamut matrix by the standard color gamut matrix to obtain a fusion matrix; Performing an inverse matrix operation on the fusion matrix to obtain a fusion inverse matrix; Obtaining the color gamut mapping conversion matrix according to the fusion inverse matrix.

8. The method according to claim 7, wherein The obtaining the color gamut mapping conversion matrix according to the fusion inverse matrix includes: Scale the fusion inverse matrix to obtain a scaled matrix; Perform bit conversion on the scaled matrix to obtain the color gamut mapping conversion matrix.

9. The method according to claim 1, wherein Before calculating the color gamut mapping conversion matrix according to the test color gamut matrix and the standard color gamut matrix, the method further includes one of the following methods: Obtain the preset standard color gamut matrix; Obtain standard color coordinate data, and perform calculation processing according to the standard color coordinate data to obtain the standard color gamut matrix.

10. A projector calibration device, characterized in that, It includes: A collection module for: sequentially projecting multiple pictures of different colors through a projector, and respectively collecting color coordinates of the multiple pictures to obtain test color coordinate data of multiple colors; A combination module for: combining and processing the test color coordinate data of the multiple colors according to the projection calibration matrix layout to obtain a test polynomial matrix; A conversion module for: performing conversion and rearrangement processing on the test polynomial matrix to obtain a test color gamut matrix matching the specifications of the projection processor; A calculation module for: calculating a color gamut mapping conversion matrix according to the test color gamut matrix and the standard color gamut matrix, so that the projector projects based on the color gamut mapping conversion matrix.

11. A storage medium, characterized in that, It stores a computer program, and when the computer program is executed by a processor of the device, the device executes the method according to any one of claims 1 to 9.

12. An electronic device, characterized in that, It includes: A memory storing a computer program; A processor that reads the computer program stored in the memory to execute the method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Display device and color conversion method

    CN121393379A