WO2020135224A1 - 色彩空间映射方法、装置、计算机可读存储介质及设备 - Google Patents

色彩空间映射方法、装置、计算机可读存储介质及设备 Download PDF

Info

Publication number
WO2020135224A1
WO2020135224A1 PCT/CN2019/126634 CN2019126634W WO2020135224A1 WO 2020135224 A1 WO2020135224 A1 WO 2020135224A1 CN 2019126634 W CN2019126634 W CN 2019126634W WO 2020135224 A1 WO2020135224 A1 WO 2020135224A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
picture
original data
color space
feature
Prior art date
Application number
PCT/CN2019/126634
Other languages
English (en)
French (fr)
Inventor
陈奕鑫
谢仁礼
Original Assignee
深圳Tcl新技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Priority to EP19906283.7A priority Critical patent/EP3905672B1/en
Priority to US17/258,160 priority patent/US11380284B2/en
Publication of WO2020135224A1 publication Critical patent/WO2020135224A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/02Diagnosis, testing or measuring for television systems or their details for colour television signals
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/06Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/15Processing image signals for colour aspects of image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • G09G2320/0276Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0285Improving the quality of display appearance using tables for spatial correction of display data
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/06Colour space transformation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer

Definitions

  • the present application relates to the technical field of multimedia image quality processing, and in particular, to a color space mapping method, device, computer-readable storage medium, and equipment.
  • the key foundation is to have an accurate color space mapping relationship to ensure the accurate restoration of chroma and brightness .
  • the color gamut and brightness of the TV are affected by its backlight system, manufacturing process, materials, etc., and the dispersion is very large. The difference between different batches of products may be very large. If it cannot be targeted for correction, it will seriously affect the TV’s The performance of the picture quality, and the picture quality of the product will be uneven.
  • Step 1 The data collection device collects the chrominance and brightness data of the current state of the TV and transmits it to the color space mapping debugging system
  • Step 2 The debugging system compares the data. If it does not meet the requirements, the corresponding offset is given, which is transmitted to the TV core through communication. The TV core makes adjustments and returns to step 1. If it meets the requirements, the debugging is ended .
  • This type of debugging method has the following problems: 1. It requires multiple cycles of data collection, data transmission, data comparison judgment, and register assignment until the target chromaticity and brightness are reached, debugging takes a long time, and the debugging time is unstable; 2. It can be adjusted for a very small number of points. After adjustment, the chromaticity and brightness of the entire color space cannot meet the requirements; 3. Due to the small number of adjustment points, the remaining points can only be corresponded through a simple linear relationship, which may cause some areas Chromaticity and brightness deviate more from the real goal; 4. The solution is strongly related to product characteristics. For products with different solutions, the debugging system needs to be adjusted accordingly to realize the function.
  • the main purpose of this application is to provide a color space mapping method, device, computer readable storage medium and equipment, aiming to solve the chromaticity and brightness distortion caused by the problem of data collection in the debugging operation of the prior art spatial color mapping correction technical problem.
  • the present application provides a color space mapping method, including the following contents:
  • the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table for picture color mapping.
  • the step of acquiring the original data and characteristic data of the target TV-end screen includes:
  • the method before the step of extracting the original data in the preset order from the original data and calculating the feature data according to the extracted original data, the method further includes:
  • the preset order of extracting original data is determined by the data extraction ratio.
  • the step of extracting original data in a predetermined order from the original data, and calculating the feature data according to the extracted original data includes:
  • the characteristic data is obtained based on the estimation result.
  • the step of acquiring a preset equation group, inputting the extracted original data into the preset equation group, and obtaining a calculation result includes:
  • the step of inputting the extracted original data into the preset equation group is performed according to the estimated number of times.
  • the step of acquiring the original data and characteristic data of the target TV-end screen, and calculating the characteristic coefficients from the acquired original data and characteristic data includes:
  • the feature coefficients of the original data and the feature data are estimated according to preset feature coefficient estimation rules.
  • the step of estimating the feature coefficients of the original data and the feature data according to a preset feature coefficient estimation rule includes:
  • the data information of the original data and the characteristic data is estimated by using the preset characteristic coefficient estimation rules
  • the characteristic coefficient is calculated from the data information.
  • the step of generating a 3D pixel gray table based on the calculated feature coefficients and feature data includes:
  • the method before the step of acquiring the preset algorithm for generating the 3D pixel grayscale table and performing the calculation operation of the preset algorithm using the feature coefficients and feature data as algorithm parameters, the method further includes:
  • the preset algorithm generated by the 3D pixel gray table is newly created according to the terminal picture parameters.
  • the terminal picture parameters include color space data, white balance data, and gamma data.
  • the method before the step of acquiring the original data and feature data of the target TV-end screen and calculating the feature coefficients from the acquired original data and feature data, the method further includes:
  • the step of confirming the original data according to the received picture display parameters includes:
  • the step of grabbing a specific picture output from the target TV screen and acquiring the picture display parameters of the specific picture includes:
  • the picture display data includes picture chrominance data and picture brightness data.
  • the method before the step of grabbing the specific picture output from the target TV screen and obtaining the picture display parameters of the specific picture, the method further includes:
  • a step of capturing the specific picture output from the target TV end picture is performed.
  • the step of transmitting the 3D pixel grayscale table to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table and performs the color mapping of the screen includes: :
  • the present application also provides a color space mapping device.
  • the color space mapping device includes:
  • the calculation module is set to acquire the original data and characteristic data of the target TV terminal picture, and calculate the characteristic coefficients from the acquired original data and characteristic data;
  • the generation module is set to generate a 3D pixel gray table based on the calculated characteristic coefficients and characteristic data;
  • the mapping module is configured to transmit the 3D pixel grayscale table to the color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table to perform color mapping on the screen.
  • the present application also provides a computer-readable storage medium that stores a color space mapping program, and when executed, the color space mapping program implements the following steps of the color space mapping method:
  • the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table for picture color mapping.
  • the present application also provides a color space mapping device.
  • the color space mapping device includes a memory, a processor, and a color space mapping device program stored on the memory and executable on the processor. When the color space mapping device program is executed It includes the following steps:
  • the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table for picture color mapping.
  • a color space mapping method proposed in this application obtains original data and feature data of a target TV terminal picture, and calculates feature coefficients from the acquired original data and feature data; generates 3D pixels according to the calculated feature coefficients and feature data Gray scale table; transfer the 3D pixel gray scale table to the color processing area for storage, so that the target TV can read the stored data content of the 3D pixel gray scale table and perform color mapping on the screen.
  • Calculate the 3D pixel grayscale table by acquiring the original data and characteristic data of the screen, and index the color mapping relationship in the pixel grayscale table to obtain a quick mapping relationship of the color of the screen, thereby achieving accurate restoration of the screen and improving the color effect of the screen. effect.
  • FIG. 1 is a schematic diagram of a terminal ⁇ device structure of a hardware operating environment involved in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a color space mapping method of the present application
  • Figure 3 is a table of pigment values corresponding to the limited baldness pictures
  • Figure 4 is a numerical definition table of characteristic coefficients and characteristic data
  • FIG. 5 is a detailed data schematic diagram of the extracted test data.
  • the main solutions of the embodiments of the present application are: acquiring the original data and feature data of the target TV-end screen, calculating the feature coefficients from the acquired raw data and feature data; generating 3D pixel grays based on the calculated feature coefficients and feature data Degree table; transfer the 3D pixel grayscale table to the color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table to perform color mapping on the screen.
  • the present application provides a solution for calculating a 3D pixel grayscale table by acquiring the original data and characteristic data of the screen, and indexing the color mapping relationship in the pixel grayscale table to obtain a quick mapping relationship of the color of the screen, thereby achieving accurate screen Restore, improve the beneficial effect of the color effect of the picture.
  • FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application.
  • the terminal in the embodiment of the present application may be a PC, or may be a mobile or non-removable terminal device with a multimedia playback function, such as a smart phone, a tablet computer, an e-book reader, and a portable computer.
  • a multimedia playback function such as a smart phone, a tablet computer, an e-book reader, and a portable computer.
  • the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 may include a display (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than those illustrated, or combine certain components, or have different component arrangements.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a color space mapping application program.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect to the client (user) and perform data communication with the client;
  • the processor 1001 can be used to call the color space mapping application stored in the memory 1005 and perform the following operations:
  • the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table for picture color mapping.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the preset order of extracting original data is determined by the data extraction ratio.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the characteristic data is obtained based on the estimation result.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the step of inputting the extracted original data into the preset equation group is performed according to the estimated number of times.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the feature coefficients of the original data and the feature data are estimated according to preset feature coefficient estimation rules.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the data information of the original data and the characteristic data is estimated by using the preset characteristic coefficient estimation rules
  • the characteristic coefficient is calculated from the data information.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the preset algorithm generated by the 3D pixel gray table is newly created according to the terminal picture parameters.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the terminal picture parameters include color space data, white balance data, and gamma data.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • the picture display data includes picture chrominance data and picture brightness data.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • a step of capturing the specific picture output from the target TV end picture is performed.
  • processor 1001 can call the color space mapping application stored in the memory 1005, and also perform the following operations:
  • FIG. 2 is a schematic flowchart of a first embodiment of a color space mapping method of the present application.
  • the color space mapping method includes:
  • Step S10 Obtain the original data and feature data of the target TV terminal picture, and calculate a feature coefficient from the obtained original data and feature data.
  • the original data and characteristic data of the target TV-side picture are all collected based on the current TV-side display picture, and the original data
  • the original data is collected after outputting a specific picture to be displayed on the target TV side, that is, the original data is the picture data collected based on the output specific picture, and the specific data is based on the obtained
  • the data extracted by the preset rules in the original data of is defined as feature data, that is, the feature data is feature data based on the original data with certain data features.
  • a preset number of specific pictures are sequentially output to the target TV terminal through the serial port control signal generator, so that the target TV terminal displays the specific pictures while controlling the color temperature
  • the instrument sequentially collects the displayed chromaticity and brightness data of the specific picture and returns it.
  • the collected original data is related to the specific picture output. Therefore, considering the problem of image quality adjustment, the output of the preset number is limited.
  • the original picture achieves the effect of image quality correction.
  • the default setting is to output 40 specific pictures so that the target TV terminal displays 40 sets of picture display parameters based on the specific picture displayed, and then, according to the collected The picture display parameter of confirms the original data.
  • Picture 1-10 10 grayscale signal pictures, taking 8bit color depth as an example
  • Picture 11-40 R/G/B monochrome signal pictures respectively, taking 8bit color depth as an example, according to the limited 40 specific
  • the picture information of the picture, the corresponding (R/G/B) value of the specific picture can be shown in FIG. 3.
  • the debugging system outputs a specific picture i through the serial port control signal generator (the initial value of i is 1);
  • the output signal is given to the TV via the HDMI cable, and the TV displays the picture i;
  • the debugging system controls the color temperature instrument CA310 through the serial port to collect chromaticity and brightness data (x, y, Y), and the collected data is transmitted back to the debugging system through the serial port;
  • the debugging system saves the data returned by CA310, and at the same time judges whether i is greater than 40, and if so, skips to 1.5; otherwise, i increases by 1 and skips to 1.1.
  • the image display may be caused by influencing factors such as ambient light or the display screen.
  • the parameters cannot present the current picture information of the TV terminal well. Therefore, it is necessary to confirm the original data by screening the picture display parameters collected, that is, the step of confirming the original data according to the received picture display parameters, include:
  • the picture display parameters After receiving the displayed picture display parameters, confirm whether the picture display parameters are greater than a preset value, as described above, the picture display parameters are defined as i, and determine whether the collected picture display parameters i are greater than 40, if so , Skip to 1.5; otherwise, add 1 to i and skip to 1.1. In this way, according to this confirmation method, the corresponding original data is confirmed according to the picture display parameters.
  • the feature coefficients are estimated using preset estimation rules, that is, the original data and feature data of the acquired target TV-end screen are obtained through the acquired
  • the step of calculating feature coefficients of the original data and feature data includes:
  • the feature coefficients of the original data and the feature data are estimated according to preset feature coefficient estimation rules.
  • the calculation rule of the characteristic coefficients can be limited to a preset calculation formula. According to the currently obtained original data and characteristic data, press The preset rule performs numerical definition for the original data and the feature data, and inputs the defined data into a preset calculation formula to calculate the feature coefficient, where a single feature coefficient is related to the corresponding feature data. Therefore, the feature coefficient is related to The number of feature data is consistent.
  • the numerical definition of the relevant original data and characteristic data can be shown in Figure 4.
  • the step of acquiring the original data and characteristic data of the target TV terminal picture includes:
  • the original data in a specific order is grabbed in the original data, and the characteristic data is calculated from the captured original data, as described above, If the number of original data is 40 groups, the original data is captured in a specific order in the 40 groups of original data. Due to the specific picture type of the original data source, the first group to the tenth of the 40 groups of original data are generally captured
  • the data of group 20, group 30, group 40 and group 40 is a total of thirteen groups of data to calculate key feature data.
  • the system first selects the designated 13 sets (respectively test data corresponding to pictures 1-10, pictures 20, 30, and 40), and calculates the critical For 30 sets of feature data, the calculation process can be divided into 9 times, and the calculation operation is related to the test data.
  • the detailed data content of the test data can be shown in Figure 5, and the specific detailed process of the calculation operation is as follows:
  • test data of picture 5 and pictures 20, 30 and 40.
  • the test data are as follows:
  • Picture 5 Color coordinate (x5W, y5W) and brightness Y5W of 128-order white field signal;
  • Picture 20 Color coordinates (x10R, y10R) and brightness Y10R corresponding to the 255-order R field;
  • Picture 30 Color coordinates (x10G, y10G) and brightness Y10G corresponding to the 255-order G field;
  • Picture 40 Color coordinates (x10B, y10B) and brightness Y10B corresponding to the 255-order B field;
  • the confirmation of the feature data is related to the parameter variable. Therefore, the method of setting the parameter variable and implementing the feature data confirmation with the parameter variable may be defined as extracting the pre-data from the original data
  • the sequence of the original data and the step of calculating the feature data based on the extracted original data include:
  • the calculation operation of the preset equation group is performed, and the characteristic data is obtained according to the calculation result of the calculation operation.
  • Step S20 generating a 3D pixel grayscale table according to the calculated characteristic coefficients and characteristic data
  • the characteristic coefficients and characteristic data are respectively input to a preset algorithm, and a 3D pixel gray table is generated according to the value of the calculation result.
  • the 3D pixel grayscale table contains numerical values with equal number of sub-elements, and the sub-elements are divided into r, g, and b, and the specific numerical values included in the 3D pixel grayscale table include a 20-layer 20-row 20
  • the 3D pixel grayscale information of the column can be queried to the corresponding r/g/b through the index value R/G/B in practical applications. In this way, the numerical query of the color mapping is realized through the mapping relationship of the index values Features.
  • the calculated characteristic coefficient and The steps of generating 3D pixel gray table from feature data include:
  • the terminal screen parameters of the target TV terminal are obtained, and the terminal screen parameters mainly refer to that the terminal has
  • the terminal picture parameters mainly include color space, white balance and gamma data.
  • Input the obtained terminal screen parameters into a preset calculation formula then calculate the characteristic coefficients and characteristic data according to the calculation formula defined by the terminal screen parameters, and calculate and generate a 20D 20D row 3 column 3D LUT (the number of layers corresponds to R , The number of rows corresponds to G, and the number of columns corresponds to B).
  • step S30 the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table to perform color mapping on the screen.
  • the color mapping of the target TV side is performed with the color mapping relationship in the 3D pixel gray table.
  • the 3D pixel gray table may be transferred Give the movement of the TV set, make the movement react to make it effective, you can achieve the accurate mapping of the color space, and achieve the target white balance and gamma.
  • the 3D pixel gray table is calculated by acquiring the original data and the characteristic data of the screen, and then the color mapping relationship in the pixel gray table is indexed to obtain a fast mapping relationship of the color of the screen, thereby realizing accurate picture restoration and improving The beneficial effect of the picture color effect.
  • an embodiment of the present application also provides a computer-readable storage medium that stores a color space mapping program on the computer-readable storage medium.
  • the color space mapping program is executed by a processor, the following operations are implemented:
  • the 3D pixel grayscale table is transferred to a color processing area for storage, so that the target TV side reads the stored data content of the 3D pixel grayscale table for picture color mapping.
  • the preset order of extracting original data is determined by the data extraction ratio.
  • the characteristic data is obtained based on the estimation result.
  • the step of inputting the extracted original data into the preset equation group is performed according to the estimated number of times.
  • the feature coefficients of the original data and the feature data are estimated according to preset feature coefficient estimation rules.
  • the data information of the original data and the characteristic data is estimated by using the preset characteristic coefficient estimation rules
  • the characteristic coefficient is calculated from the data information.
  • the preset algorithm generated by the 3D pixel gray table is newly created according to the terminal picture parameters.
  • the terminal picture parameters include color space data, white balance data, and gamma data.
  • the picture display data includes picture chrominance data and picture brightness data.
  • a step of capturing the specific picture output from the target TV end picture is performed.
  • the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above , Disk, CD), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to perform the method described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请公开了一种色彩空间映射方法,包括:获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;根据计算到的特征系数及特征数据生成3D像素灰度表;将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。本申请还公开了一种色彩空间映射装置、计算机可读存储介质及设备。

Description

色彩空间映射方法、装置、计算机可读存储介质及设备
相关申请
本申请要求2018年12月28日申请的,申请号201811629160.7,名称为“色彩空间映射方法、装置、计算机可读存储介质及系统”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及多媒体画质处理技术领域,尤其涉及一种色彩空间映射方法、装置、计算机可读存储介质及设备。
背景技术
在电视机的画质处理中,为了能精确还原画面的场景、人物,达到色彩逼真、高画质质量,关键的基础是有一个精准的色空间映射关系,才能保证色度、亮度的精准还原。而电视机的色域、亮度受其背光系统、制作工艺、材料等影响,离散性很大,不同批次的产品差异性可能很大,若不能针对性的进行校正,则严重影响电视机的画质表现,同时产品的画质也会稂莠不齐。
目前,大多数的厂商,都无法对每个批次进行单独的色空间映射校正,因为传统的校正方法,都是遵循逐次逼近的原则进行设计的:
步骤一:数据采集设备采集电视当前状态的色度、亮度数据,传至色空间映射调试系统;
步骤二:调试系统进行数据对比,若不符合要求,则给出相应的偏移量,通过通讯手段传至电视机芯,电视机芯做出调整,返回步骤一;若符合要求,则结束调试。
此类调试方法,具有以下问题:1、需要多次循环进行数据采集、数据传输、数据比较判断、寄存器赋值,直到达到目标色度和亮度,调试耗时长,且调试时间不稳定;2、只能针对极少数点进行调整,调整后仍无法实现整个色空间的色度、亮度均符合要求;3、由于调整点数少,其余点只能通过简单的线性关系进行对应,可能造成某些区域的色度、亮度更加偏离真实目标;4、 该方案与产品特性强相关,针对不同方案的产品,调试系统需要做相应的调整才能实现功能。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
申请内容
本申请的主要目的在于提供一种色彩空间映射方法、装置、计算机可读存储介质及设备,旨在解决现有技术的空间色彩映射矫正的调试操作由于数据采集的问题造成的色度亮度失真的技术问题。
为实现上述目的,本申请提供一种色彩空间映射方法,包括以下内容:
获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
根据计算到的特征系数及特征数据生成3D像素灰度表;
将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
在一些实施方式中,所述获取目标电视端画面的原始数据及特征数据的步骤,包括:
在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据。
在一些实施方式中,所述在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据的步骤之前,还包括:
确认所述原始数据的数据量,根据所述数据量确定数据提取比例;
通过所述数据提取比例确定提取原始数据的预设顺序。
在一些实施方式中,所述在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据的步骤,包括:
获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到推算结果;
根据所述推算结果得出所述特征数据。
在一些实施方式中,所述获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到推算结果的步骤,包括:
统计所述原始数据的数据量,根据所述数据量计算所述原始数据的推算次数;
根据所述推算次数执行将提取到的所述原始数据输入所述预设方程组的步骤。
在一些实施方式中,所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤,包括:
获取预设的特征系数推算规则;
根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数。
在一些实施方式中,所述根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数的步骤,包括:
根据所述原始数据及特征数据的数据规则,以所述预设的特征系数推算规则推算所述原始数据及特征数据的数据信息;
通过所述数据信息计算所述特征系数。
在一些实施方式中,所述根据计算到的特征系数及特征数据生成3D像素灰度表的步骤,包括:
获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作;
根据计算结果生成3D像素灰度表。
在一些实施方式中,所述获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作的步骤之前,还包括:
获取目标电视端的终端画面参数;
根据所述终端画面参数新建所述3D像素灰度表生成的预设算法。
在一些实施方式中,所述终端画面参数包括色空间数据、白平衡数据及gamma数据。
在一些实施方式中,所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤之前,还包括:
抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数;
根据接收到的所述图片显示参数确认所述原始数据。
在一些实施方式中,所述根据接收到的所述图片显示参数确认所述原始数据的步骤,包括:
将所述图片显示参数与预设数值比对;
若所述图片显示参数大于预设数值,确认所述图片显示参数为原始数据。
在一些实施方式中,所述抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数的步骤,包括:
采集当前电视端已输出特定图片的图片显示数据;
根据采集到的所述图片显示数据生成图片显示参数。
在一些实施方式中,所述图片显示数据包括图片色度数据及图片亮度数据。
在一些实施方式中,所述抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数的步骤之前,还包括:
确认所述目标电视端显示页面的页面内容,根据所述页面内容确定输出图片;
在确认所述目标电视端输出特定图片时,执行抓取目标电视端画面输出的特定图片的步骤。
在一些实施方式中,所述将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射的步骤,包括:
确认所述目标电视端的机芯处理区域,将所述3D像素灰度表传输至所述机芯处理区域存储。
此外,为实现上述目的,本申请还提供一种色彩空间映射装置,所述色彩空间映射装置包括:
计算模块,设置为获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
生成模块,设置为根据计算到的特征系数及特征数据生成3D像素灰度表;
映射模块,设置为将所述3D像素灰度表传输至色彩处理区域存储,以使 目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有色彩空间映射程序,所述色彩空间映射程序在执行时实现如下色彩空间映射方法的步骤:
获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
根据计算到的特征系数及特征数据生成3D像素灰度表;
将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
本申请还提供一种色彩空间映射设备,所述色彩空间映射设备包括存储器、处理器及存储在存储器上并可在处理器上运行的色彩空间映射设备程序,所述色彩空间映射设备程序执行时包括如下的步骤:
获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
根据计算到的特征系数及特征数据生成3D像素灰度表;
将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
本申请提出的一种色彩空间映射方法,获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;根据计算到的特征系数及特征数据生成3D像素灰度表;将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。通过获取画面原始数据及特征数据计算3D像素灰度表,以所述像素灰度表中的色彩映射关系进行索引后得到画面色彩的快速映射关系,进而实现画面精准还原,提高画面色彩效果的有益效果。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的终端\装置结构示意图;
图2为本申请色彩空间映射方法第一实施例的流程示意图;
图3为已限定的秃顶图片对应的色素数值表;
图4为特征系数与特征数据的数值定义表;
图5为提取的测试数据的详细数据示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例的主要解决方案是:获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;根据计算到的特征系数及特征数据生成3D像素灰度表;将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
由于现有技术空间色彩映射矫正的调试操作中,由于调试数据采集的问题造成的色度亮度失真的技术问题。
本申请提供一种解决方案,通过获取画面原始数据及特征数据计算3D像素灰度表,以所述像素灰度表中的色彩映射关系进行索引后得到画面色彩的快速映射关系,进而实现画面精准还原,提高画面色彩效果的有益效果。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。
本申请实施例终端可以是PC,也可以是智能手机、平板电脑、电子书阅读器,便携计算机等具有多媒体播放功能的可移动式或不可移动式终端设备。
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器 (non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及色彩空间映射应用程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的色彩空间映射应用程序,并执行以下操作:
获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
根据计算到的特征系数及特征数据生成3D像素灰度表;
将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
确认所述原始数据的数据量,根据所述数据量确定数据提取比例;
通过所述数据提取比例确定提取原始数据的预设顺序。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到 推算结果;
根据所述推算结果得出所述特征数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
统计所述原始数据的数据量,根据所述数据量计算所述原始数据的推算次数;
根据所述推算次数执行将提取到的所述原始数据输入所述预设方程组的步骤。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
获取预设的特征系数推算规则;
根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
根据所述原始数据及特征数据的数据规则,以所述预设的特征系数推算规则推算所述原始数据及特征数据的数据信息;
通过所述数据信息计算所述特征系数。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作;
根据计算结果生成3D像素灰度表。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
获取目标电视端的终端画面参数;
根据所述终端画面参数新建所述3D像素灰度表生成的预设算法。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
所述终端画面参数包括色空间数据、白平衡数据及gamma数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数;
根据接收到的所述图片显示参数确认所述原始数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
将所述图片显示参数与预设数值比对;
若所述图片显示参数大于预设数值,确认所述图片显示参数为原始数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
采集当前电视端已输出特定图片的图片显示数据;
根据采集到的所述图片显示数据生成图片显示参数。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
所述图片显示数据包括图片色度数据及图片亮度数据。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
确认所述目标电视端显示页面的页面内容,根据所述页面内容确定输出 图片;
在确认所述目标电视端输出特定图片时,执行抓取目标电视端画面输出的特定图片的步骤。
进一步地,处理器1001可以调用存储器1005中存储的色彩空间映射应用程序,还执行以下操作:
确认所述目标电视端的机芯处理区域,将所述3D像素灰度表传输至所述机芯处理区域存储。
参照图2,图2为本申请色彩空间映射方法第一实施例的流程示意图,所述色彩空间映射方法包括:
步骤S10,获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数。
基于当前的目标电视端画面的画质处理需求,获取所述目标电视端画面的原始数据及特征数据,所述原始数据及特征数据均是基于当前的电视端的显示画面采集到的,且原始数据在获取时,通过输出特定图片在所述目标电视端显示后,采集所述原始数据,即所述原始数据为基于输出的特定图片所采集到的图片数据,而所述特定数据为基于获取到的原始数据中以预设规则所提取到的数据,定义为特征数据,即特征数据为基于所述原始数据中具备一定数据特征的特征数据。如此,在获取所述原始数据时,即所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤之前,还包括:
抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数;
根据接收到的所述图片显示参数确认所述原始数据。
在本申请方法中,在接收到画质处理指令时,通过串口控制信号发生器依次输出预设数量的特定图片给到目标电视端,使得所述目标电视端显示所述特定图片,同时控制色温仪依次采集显示的所述特定图片的色度、亮度数据后返回,在实际应用中,采集到的原始数据与输出的特定图片相关,因此考虑到画质调整的问题,限定输出预设数量的原始图片达到画质校正的效果, 一般来说,默认设定为输出40张特定图片使得目标电视端显示后,采集到40组基于显示的所述特定图片的图片显示参数,进而,根据采集到的所述图片显示参数确认所述原始数据。
在实际应用中,40张特定图片的定义如下所述:
图片1-10:10个灰阶信号图片,以8bit颜色深度为例;图片11-40:分别为R/G/B单色信号图片,以8bit颜色深度为例,根据已限定的40张特定图片的图片信息,其特定图片的对应的(R/G/B)值可如图3所示。
另外,根据显示的特定图片采集图片显示参数的详细采集过程如下:
1、调试系统通过串口控制信号发生器输出特定图片i(i的初始值为1);
2、输出信号通过HDMI线给到电视机,电视机显示图片i;
3、调试系统通过串口控制色温仪CA310采集色度、亮度数据(x,y,Y),采集到的数据通过串口传回调试系统;
4、调试系统保存CA310传回的数据,同时判断i是否大于40,若是,跳到1.5;否则,i加1,跳到1.1。
5、40组色度、亮度数据采集完毕。
如上所述,在采集原始数据时,由于所述原始数据的来源为图片显示参数,而在基于采集到的图片显示参数确认原始数据时,可能会因为环境光线或者显示画面等影响因素造成图片显示参数不能很好的呈现当前电视端画面信息,因此需通过筛选采集到的所述图片显示参数确认所述原始数据,即所述根据接收到的所述图片显示参数确认所述原始数据的步骤,包括:
将所述图片显示参数与预设数值比对;
若所述图片显示参数大于预设数值,确认所述图片显示参数为原始数据。
在接收到以采集的图片显示参数后,确认所述图片显示参数是否大于预设数值,如上所述,其图片显示参数定义为i,判断采集到的所述图片显示参数i是否大于40,若是,跳到1.5;否则,i加1,跳到1.1。如此,根据此种确认方式,根据所述图片显示参数确认对应的原始数据。
另外,根据已获取到的原始数据及特征数据,在确认特征系数时,以预设的推算规则推算所述特征系数,即所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤,包括:
获取预设的特征系数推算规则;
根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数。
在获取到原始数据及特征数据后,以所述原始数据及特征数据计算特征系数,所述特征系数的计算规则可限定为预设的计算公式,根据当前获取到的原始数据及特征数据,按预设规则为所述原始数据及特征数据进行数值定义,并将已定义的数据输入至预设计算公式计算所述特征系数,其中,单个特征系数与对应的特征数据相关,因此,特征系数与特征数据的数量一致,在实际应用中,单个特征系数的计算公式可定义为r1=Y1R_T/Y1R。而相关的原始数据及特征数据的数值定义,可如图4所示。
进一步的,在以原始数据及特征数据计算对应的特征系数时,由于所述特征数据与原始数据相关,因此,在获取到原始数据时,还需根据所述原始数据确认对应的特征数据,即所述获取目标电视端画面的原始数据及特征数据的步骤,包括:
在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据。
根据以获取到的原始数据,在已设定原始数据的数量后,在所述原始数据中抓取特定顺序的原始数据,并通过抓取到的原始数据计算所述特征数据,如上所述,若是原始数据的数量为40组时,则在40组原始数据中的特定顺序中抓取原始数据,由于原始数据来源的特定图片类型,一般抓取40组原始数据中的第一组至第十组、第二十组、第三十组及第四十组数据即总共十三组数据推算关键性的特征数据。在实际应用中,根据采集到的40组数据,系统先挑选出指定的13组(分别为图片1-10,图片20、30、40对应的测试数据),经特定算法,推算出关键性的30组特征数据时,其推算过程可分为9次进行,且推算操作与所述测试数据相关,其测试数据的详细数据内容可如图5所示,且推算操作的具体详细过程如下:
1、获取图片5和图片20、30、40的测试数据,其测试数据为以下内容:
图片5:128阶白场信号的色坐标(x5W,y5W)、亮度Y5W;
图片20:255阶R场对应的色坐标(x10R,y10R)、亮度Y10R;
图片30:255阶G场对应的色坐标(x10G,y10G)、亮度Y10G;
图片40:255阶B场对应的色坐标(x10B,y10B)、亮度Y10B;
2、设置参变量,将欲推算得的128阶R/G/B场的亮度分别定义为Y5R_T,Y5G_T,Y5B_T;
3、构建方程组,推算对应的128阶R/G/B场的亮度Y5R_T,Y5G_T,Y5B_T。假定R/G/B单色场的色坐标不变,联立求解方程组,可得到128阶R/G/B场的亮度Y5R_T,Y5G_T,Y5B_T,具体的确认公式如下所示:
Figure PCTCN2019126634-appb-000001
Figure PCTCN2019126634-appb-000002
Figure PCTCN2019126634-appb-000003
进一步的,如上所述的特征数据的确认方式,其特征数据的确认与参变量相关,因此,其设定参变量并以参变量实现特征数据确认方式可定义为在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据的步骤,包括:
获取预设方程组,将提取到的所述原始数据输入所述预设方程组;
执行所述预设方程组的推算操作,根据推算操作的推算结果得出所述特征数据。
步骤S20,根据计算到的特征系数及特征数据生成3D像素灰度表;
根据已计算到的特征系数及特征数据,将所述特征系数及特征数据分别输入至预设算法,根据计算结果的数值,生成3D像素灰度表。其3D像素灰度表中,包含有子元素数量相等的数值,其子元素分为r、g、b,而所述3D像素灰度表中,所包含的具体数值包括一个20层20行20列的3D像素灰度信息,在实际应用中,通过索引值R/G/B,可分别查询到对应的r/g/b,如此,通过所述索引值的映射关系实现色彩映射的数值查询功能。
如上所述,在计算所述3D像素灰度表时,考虑到当前目标电视端本身的终端设备问题,为提高3D像素灰度表的色彩数值精确度,因此所述根据计算到的特征系数及特征数据生成3D像素灰度表的步骤,包括:
获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作;
根据计算结果生成3D像素灰度表。
根据当前应用的目标电视端,在以特征系数及特征数据计算3D像素灰度表时,获取所述目标电视端的终端画面参数,所述终端画面参数主要指所述终端基于设备硬件的原因而具备的色彩偏差数据,在实际应用中,所述终端画面参数主要包括色空间、白平衡和gamma数据。将获取到的终端画面参数输入至预设的计算公式,以终端画面参数定义的计算公式再计算所述特征系数及特征数据,计算生成一个20层20行20列的3D LUT(层数对应R,行数对应G,列数对应B)。
步骤S30,将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
在已生成基于色彩映射的3D像素灰表后,以所述3D像素灰度表中的色彩映射关系进行所述目标电视端的画面色彩映射,在实际应用中,可将该3D像素灰度表传递给电视机的机芯,使得机芯做出反应使其生效,即可实现色彩空间的精准映射,且达到目标白平衡及gamma。
本实施例中,通过获取画面原始数据及特征数据计算3D像素灰度表,以所述像素灰度表中的色彩映射关系进行索引后得到画面色彩的快速映射关系,进而实现画面精准还原,提高画面色彩效果的有益效果。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有色彩空间映射程序,所述色彩空间映射程序被处理器执行时实现如下操作:
获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
根据计算到的特征系数及特征数据生成3D像素灰度表;
将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
确认所述原始数据的数据量,根据所述数据量确定数据提取比例;
通过所述数据提取比例确定提取原始数据的预设顺序。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到推算结果;
根据所述推算结果得出所述特征数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
统计所述原始数据的数据量,根据所述数据量计算所述原始数据的推算次数;
根据所述推算次数执行将提取到的所述原始数据输入所述预设方程组的步骤。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
获取预设的特征系数推算规则;
根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
根据所述原始数据及特征数据的数据规则,以所述预设的特征系数推算规则推算所述原始数据及特征数据的数据信息;
通过所述数据信息计算所述特征系数。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作;
根据计算结果生成3D像素灰度表。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
获取目标电视端的终端画面参数;
根据所述终端画面参数新建所述3D像素灰度表生成的预设算法。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
所述终端画面参数包括色空间数据、白平衡数据及gamma数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数;
根据接收到的所述图片显示参数确认所述原始数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
将所述图片显示参数与预设数值比对;
若所述图片显示参数大于预设数值,确认所述图片显示参数为原始数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
采集当前电视端已输出特定图片的图片显示数据;
根据采集到的所述图片显示数据生成图片显示参数。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
所述图片显示数据包括图片色度数据及图片亮度数据。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
确认所述目标电视端显示页面的页面内容,根据所述页面内容确定输出图片;
在确认所述目标电视端输出特定图片时,执行抓取目标电视端画面输出的特定图片的步骤。
进一步地,所述色彩空间映射程序被处理器执行时还实现如下操作:
确认所述目标电视端的机芯处理区域,将所述3D像素灰度表传输至所述机芯处理区域存储。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、药品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、药品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、药品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (19)

  1. 一种色彩空间映射方法,其中,所述色彩空间映射方法包括以下步骤:
    获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
    根据计算到的特征系数及特征数据生成3D像素灰度表;
    将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
  2. 如权利要求1所述的色彩空间映射方法,其中,所述获取目标电视端画面的原始数据及特征数据的步骤,包括:
    在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据。
  3. 如权利要求2所述的色彩空间映射方法,其中,所述在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据的步骤之前,还包括:
    确认所述原始数据的数据量,根据所述数据量确定数据提取比例;
    通过所述数据提取比例确定提取原始数据的预设顺序。
  4. 如权利要求2所述的色彩空间映射方法,其中,所述在所述原始数据中提取预设顺序的原始数据,并根据提取到的原始数据计算所述特征数据的步骤,包括:
    获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到推算结果;
    根据所述推算结果得出所述特征数据。
  5. 如权利要求4所述的色彩空间映射方法,其中,所述获取预设方程组,将提取到的所述原始数据输入所述预设方程组,得到推算结果的步骤,包括:
    统计所述原始数据的数据量,根据所述数据量计算所述原始数据的推算 次数;
    根据所述推算次数执行将提取到的所述原始数据输入所述预设方程组的步骤。
  6. 如权利要求1所述的色彩空间映射方法,其中,所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤,包括:
    获取预设的特征系数推算规则;
    根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数。
  7. 如权利要求6所述的色彩空间映射方法,其中,所述根据预设的特征系数推算规则推算所述原始数据及特征数据的特征系数的步骤,包括:
    根据所述原始数据及特征数据的数据规则,以所述预设的特征系数推算规则推算所述原始数据及特征数据的数据信息;
    通过所述数据信息计算所述特征系数。
  8. 如权利要求1所述的色彩空间映射方法,其中,所述根据计算到的特征系数及特征数据生成3D像素灰度表的步骤,包括:
    获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作;
    根据计算结果生成3D像素灰度表。
  9. 如权利要求8所述的色彩空间映射方法,其中,所述获取生成所述3D像素灰度表的预设算法,以所述特征系数及特征数据为算法参数执行所述预设算法的计算操作的步骤之前,还包括:
    获取目标电视端的终端画面参数;
    根据所述终端画面参数新建所述3D像素灰度表生成的预设算法。
  10. 如权利要求9所述的色彩空间映射方法,其中,所述终端画面参数 包括色空间数据、白平衡数据及gamma数据。
  11. 如权利要求1所述的色彩空间映射方法,其中,所述获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数的步骤之前,还包括:
    抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数;
    根据接收到的所述图片显示参数确认所述原始数据。
  12. 如权利要求11所述的色彩空间映射方法,其中,所述根据接收到的所述图片显示参数确认所述原始数据的步骤,包括:
    将所述图片显示参数与预设数值比对;
    若所述图片显示参数大于预设数值,确认所述图片显示参数为原始数据。
  13. 如权利要求11所述的色彩空间映射方法,其中,所述抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数的步骤,包括:
    采集当前电视端已输出特定图片的图片显示数据;
    根据采集到的所述图片显示数据生成图片显示参数。
  14. 如权利要求13所述的色彩空间映射方法,其中,所述图片显示数据包括图片色度数据及图片亮度数据。
  15. 如权利要求11所述的色彩空间映射方法,其中,所述抓取目标电视端画面输出的特定图片,并获取所述特定图片的图片显示参数的步骤之前,还包括:
    确认所述目标电视端显示页面的页面内容,根据所述页面内容确定输出图片;
    在确认所述目标电视端输出特定图片时,执行抓取目标电视端画面输出的特定图片的步骤。
  16. 如权利要求1所述的色彩空间映射方法,其中,所述将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射的步骤,包括:
    确认所述目标电视端的机芯处理区域,将所述3D像素灰度表传输至所述机芯处理区域存储。
  17. 一种色彩空间映射装置,其中,所述色彩空间映射装置包括:
    计算模块,设置为获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
    生成模块,设置为根据计算到的特征系数及特征数据生成3D像素灰度表;
    映射模块,设置为将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
  18. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有色彩空间映射程序,所述色彩空间映射程序在执行时实现如下色彩空间映射方法的步骤:
    获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
    根据计算到的特征系数及特征数据生成3D像素灰度表;
    将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取存储的所述3D像素灰度表的数据内容进行画面色彩映射。
  19. 一种色彩空间映射设备,其中,所述色彩空间映射设备包括存储器、处理器及存储在存储器上并可在处理器上运行的色彩空间映射设备程序,所述色彩空间映射设备程序执行时包括如下的步骤:
    获取目标电视端画面的原始数据及特征数据,通过获取到的所述原始数据及特征数据计算特征系数;
    根据计算到的特征系数及特征数据生成3D像素灰度表;
    将所述3D像素灰度表传输至色彩处理区域存储,以使目标电视端读取 存储的所述3D像素灰度表的数据内容进行画面色彩映射。
PCT/CN2019/126634 2018-12-28 2019-12-19 色彩空间映射方法、装置、计算机可读存储介质及设备 WO2020135224A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19906283.7A EP3905672B1 (en) 2018-12-28 2019-12-19 Color space mapping method and device, computer readable storage medium and apparatus
US17/258,160 US11380284B2 (en) 2018-12-28 2019-12-19 Color space mapping method, equipment, computer readable storage medium, and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811629160.7 2018-12-28
CN201811629160.7A CN109729333B (zh) 2018-12-28 2018-12-28 色彩空间映射方法、装置、计算机可读存储介质及系统

Publications (1)

Publication Number Publication Date
WO2020135224A1 true WO2020135224A1 (zh) 2020-07-02

Family

ID=66296715

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/126634 WO2020135224A1 (zh) 2018-12-28 2019-12-19 色彩空间映射方法、装置、计算机可读存储介质及设备

Country Status (4)

Country Link
US (1) US11380284B2 (zh)
EP (1) EP3905672B1 (zh)
CN (1) CN109729333B (zh)
WO (1) WO2020135224A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729333B (zh) * 2018-12-28 2021-02-05 深圳Tcl新技术有限公司 色彩空间映射方法、装置、计算机可读存储介质及系统
CN112584230A (zh) * 2019-09-27 2021-03-30 阿里巴巴集团控股有限公司 多媒体处理方法和视频处理方法、装置及可读存储介质
CN112672129B (zh) * 2019-10-16 2022-11-15 深圳Tcl新技术有限公司 一种色彩的调整方法和装置、计算机设备、可读存储介质
CN111541937B (zh) * 2020-04-16 2022-07-29 深圳Tcl数字技术有限公司 画质调整方法、电视机设备及计算机存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201608833U (zh) * 2010-01-13 2010-10-13 山东大学 一种激光电视色域映射系统
US20150062152A1 (en) * 2013-08-27 2015-03-05 Thomson Licensing 3-dimensional look-up table-based color masking technique
US20160253981A1 (en) * 2015-02-26 2016-09-01 Nec Display Solutions, Ltd. Color conversion data generation device, color conversion data generation method, and display device
CN106128373A (zh) * 2015-05-07 2016-11-16 钰纬科技开发股份有限公司 具有影像补偿功能的图像处理装置及其图像处理方法
CN109729333A (zh) * 2018-12-28 2019-05-07 深圳Tcl新技术有限公司 色彩空间映射方法、装置、计算机可读存储介质及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527857A (zh) * 2008-03-03 2009-09-09 奇美电子股份有限公司 显示装置及其色彩转换方法及色彩转换电路
US8704848B2 (en) * 2009-04-21 2014-04-22 Young Lighting Technology Inc. Calibration system and method thereof for calibrating display
US8704895B2 (en) * 2011-08-29 2014-04-22 Qualcomm Incorporated Fast calibration of displays using spectral-based colorimetrically calibrated multicolor camera
US9934595B2 (en) * 2015-11-12 2018-04-03 Qualcomm Incorporated White point calibration and gamut mapping for a display
CN106816143B (zh) * 2016-12-30 2019-07-12 上海天马有机发光显示技术有限公司 显示面板色域转换方法、装置、系统、显示面板及显示装置
CN107343187B (zh) * 2017-07-24 2021-08-24 深圳Tcl新技术有限公司 色域映射方法、显示终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201608833U (zh) * 2010-01-13 2010-10-13 山东大学 一种激光电视色域映射系统
US20150062152A1 (en) * 2013-08-27 2015-03-05 Thomson Licensing 3-dimensional look-up table-based color masking technique
US20160253981A1 (en) * 2015-02-26 2016-09-01 Nec Display Solutions, Ltd. Color conversion data generation device, color conversion data generation method, and display device
CN106128373A (zh) * 2015-05-07 2016-11-16 钰纬科技开发股份有限公司 具有影像补偿功能的图像处理装置及其图像处理方法
CN109729333A (zh) * 2018-12-28 2019-05-07 深圳Tcl新技术有限公司 色彩空间映射方法、装置、计算机可读存储介质及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3905672A4 *

Also Published As

Publication number Publication date
CN109729333B (zh) 2021-02-05
US11380284B2 (en) 2022-07-05
EP3905672B1 (en) 2023-11-01
EP3905672A4 (en) 2022-03-02
CN109729333A (zh) 2019-05-07
EP3905672A1 (en) 2021-11-03
US20210142762A1 (en) 2021-05-13

Similar Documents

Publication Publication Date Title
WO2020135224A1 (zh) 色彩空间映射方法、装置、计算机可读存储介质及设备
US20210092342A1 (en) Video signal processing method and apparatus
CN109863549B (zh) 电子设备、显示装置及其控制方法
KR100886099B1 (ko) 감마 보정 곡선의 자동 산출 장치 및 방법
CN107343187B (zh) 色域映射方法、显示终端及计算机可读存储介质
CN109286802A (zh) 色域匹配方法、装置、显示终端及可读存储介质
CN107222733B (zh) 一种色域转换方法及装置
US20220006982A1 (en) Color adjustment method, color adjustment device, electronic device and computer-readable storage medium
CN113676712A (zh) 一种色彩校正方法及其相关装置
WO2022120799A9 (zh) 图像处理方法、装置、电子设备及存储介质
CN113870756B (zh) 显示设备的校正方法、系统和装置
CN105654925A (zh) 高动态范围图像处理方法及系统
CN113590071A (zh) 基于抖动处理的图像处理方法、装置、计算机设备及介质
Choudhury et al. Combining quality metrics for improved hdr image quality assessment
CN108961189B (zh) 图像处理方法、装置、计算机设备和存储介质
JP2013131921A (ja) 映像信号処理装置、ベクトルスコープ、映像信号処理方法、及びプログラム
CN112672129B (zh) 一种色彩的调整方法和装置、计算机设备、可读存储介质
CN114582268B (zh) Demura补偿参数计算方法、装置及设备
CN115908596B (zh) 一种图像处理方法及电子设备
WO2016169205A1 (zh) 显示方法和显示设备
WO2022103117A1 (en) Perceptual color enhancement based on properties of responses of human vision system to color stimulus
US20230259320A1 (en) Image Quality Adjustment Method and Apparatus
US20240107180A1 (en) Systems and methods for image correction
CN117594007A (zh) 一种色域转换方法、装置及显示设备
CN116112652A (zh) 投影图像处理方法、装置、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906283

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019906283

Country of ref document: EP

Effective date: 20210728