WO2023010753A1 - 一种色域映射方法、装置、终端设备及存储介质 - Google Patents
一种色域映射方法、装置、终端设备及存储介质 Download PDFInfo
- Publication number
- WO2023010753A1 WO2023010753A1 PCT/CN2021/138136 CN2021138136W WO2023010753A1 WO 2023010753 A1 WO2023010753 A1 WO 2023010753A1 CN 2021138136 W CN2021138136 W CN 2021138136W WO 2023010753 A1 WO2023010753 A1 WO 2023010753A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color gamut
- color
- video
- map
- full convolution
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440218—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/01—Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
Definitions
- the present application relates to the technical field of image processing, and in particular to a color gamut mapping method, device, terminal equipment and storage medium.
- the same original image or original video will have different effects (such as brightness, color, contrast, saturation, etc.) under different display devices, because the color areas used by different display devices (That is, the color gamut) is different, and the source color gamut of the image is often converted to the target color gamut by means of color gamut mapping, so that the effect of the same original image or original video displayed on different display devices is as consistent as possible.
- transfer functions are often used to implement gamut mapping. That is, by measuring the calibration value between the two color gamuts, and determining a conversion function based on the calibration value, and then using the conversion function to convert the color value of each color node in the source color gamut to the target color gamut. Since the color distribution of different color gamut color spaces is not evenly distributed, using the same conversion function for each color node will produce a certain degree of color shift, resulting in poor color accuracy of the converted image.
- the present application provides a color gamut mapping method, device, terminal equipment, and storage medium, which can improve the color accuracy of image conversion during the color gamut mapping process.
- the present application provides a color gamut mapping method, the method comprising: acquiring a first color gamut map, the first color gamut map including a plurality of color node values of the first color gamut;
- the first color gamut map is input into the trained full convolution model for processing, and the second color gamut map is output, and the second color gamut map includes color node values corresponding to the plurality of color node values one-to-one
- the fully convolutional model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1
- N-1 activation functions are interspersed in the N convolutional layers, and N is an integer greater than or equal to 3.
- the activation function is a non-linear activation function.
- the training method of the full convolution model includes: using a preset training set and a preset loss function to iteratively train the full convolution initial model to obtain the full convolution model;
- the training set includes a plurality of first color gamut map samples and a second color gamut map sample corresponding to each of the first color gamut map samples;
- the plurality of first color gamut map samples is at least one first color gamut sample a video frame in a video sample, the second color gamut map sample being a video frame in a second color gamut video sample corresponding to the first color gamut video sample;
- the preset loss function is used to describe the L2 loss between the predicted second color gamut map and the sample of the second color gamut map, and the predicted second color gamut map is the pair of the full convolution model obtained by processing the first color gamut map sample.
- the method further includes: determining a color lookup table between the first color gamut map and the second color gamut map according to the first color gamut map and the second color gamut map.
- the first color gamut is the SDR color gamut
- the second color gamut is the HDR color gamut
- the application method of the color lookup table includes:
- the present application provides a color gamut mapping device, including:
- An acquisition unit configured to acquire a first color gamut map, the first color gamut map including a plurality of color node values of the first color gamut;
- a processing unit configured to input the first color gamut map into the trained full convolution model for processing, and output a second color gamut map, the second color gamut map includes values corresponding to the plurality of color nodes one by one
- the full convolution model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1, and N-1 activation functions are interspersed in the N convolutional layers, and N is greater than or An integer equal to 3.
- the present application provides a terminal device, including: a memory and a processor, where the memory is used to store a computer program; and the processor is used to execute the method described in any one of the above first aspects when calling the computer program.
- the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any one of the above-mentioned first aspects is implemented.
- an embodiment of the present application provides a computer program product, which, when the computer program product runs on a processor, causes the processor to execute the method described in any one of the above-mentioned first aspects.
- a color gamut mapping method, device, terminal equipment, and storage medium provided in this application use a full convolution model to implement color gamut mapping.
- the full convolution model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1 and N-1 activation functions interspersed, so that the values of multiple color nodes in the first color gamut map have their corresponding color values. Domain mapping function. Therefore, the second color gamut map processed by the full convolution model includes color node values corresponding to the multiple color node values in the first color gamut map one-to-one, avoiding the problem caused by multiple color node values in the first color gamut map All color node values use the same conversion function to cause color shift. Therefore, using the color gamut mapping method provided by this application can realize non-uniform color gamut mapping and improve the color accuracy of image conversion during the color gamut mapping process.
- FIG. 1 is a schematic flowchart of a color gamut mapping method provided by an embodiment of the present application
- Fig. 2 is an architecture diagram of a full convolution model of a color gamut mapping method provided by an embodiment of the present application
- Figure 3 is a schematic diagram of the representation ranges of the HDR color gamut and the SDR color gamut provided by an embodiment of the present application
- FIG. 4 is a schematic diagram of a color gamut mapping device provided by an embodiment of the present application.
- Fig. 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- gamut mapping is usually implemented using calibration methods. That is, by measuring the calibration value between the two color gamuts, and determining a conversion function based on the calibration value, and then using the conversion function to convert the color value of each color node in the source color gamut to the target color gamut. Since the color distribution of different color gamut color spaces is not evenly distributed, using the same conversion function for each color node will produce a certain degree of color shift, resulting in poor color accuracy of the converted image.
- the present application provides a color gamut mapping method, which uses a full convolution model to implement color gamut mapping.
- the full convolution model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1 and N-1 activation functions interspersed, so that the values of multiple color nodes in the first color gamut map have their corresponding color values. Domain mapping function. Therefore, the second color gamut map processed by the full convolution model includes color node values corresponding to the multiple color node values in the first color gamut map one-to-one, avoiding the problem caused by multiple color node values in the first color gamut map All color node values use the same conversion function to cause color shift. Therefore, using the color gamut mapping method provided by this application can realize non-uniform color gamut mapping and improve the color accuracy of image conversion during the color gamut mapping process.
- FIG. 1 is a flowchart of an embodiment of a color gamut mapping method provided by the present application.
- the executor of the color gamut mapping method provided in the embodiment of the present application may be an image/video processing device, wherein the image/video processing device may be a mobile terminal device such as a smart phone, a tablet computer, a camera, or a desktop computer, a robot, Servers and other terminal devices capable of processing image/video data.
- the image/video processing device may be a mobile terminal device such as a smart phone, a tablet computer, a camera, or a desktop computer, a robot, Servers and other terminal devices capable of processing image/video data.
- the color gamut mapping method in the embodiment of the present application includes:
- the first color gamut may be BT.709 color gamut, BT.2020 color gamut, or DCI-P3 color gamut, etc.
- the first color gamut diagram may be composed of multiple color node values in the first color gamut image.
- the first color gamut map may be an image of a color node value in the first color gamut captured, downloaded, or read from a local storage area, or may be intercepted from a video whose color node value is in the first color gamut Video frame or image.
- the first color gamut map can also be a synthesized image, for example, obtain all the color node values in the BT.709 color gamut, and use an image synthesis tool to synthesize all the color node values in the BT.709 color gamut obtained above image.
- the second color gamut map includes color nodes corresponding to a plurality of color node values of the first color gamut one-to-one value
- the fully convolutional model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1
- N-1 activation functions are interspersed in the N convolutional layers
- N is an integer greater than or equal to 3.
- N is an integer greater than or equal to 3.
- the activation function may be a linear rectification function (Rectified Linear Unit, ReLU). Choosing the ReLU activation function as the activation function in the full convolution model can not only speed up the calculation efficiency, but also increase the nonlinear fitting ability of the full convolution model. Certainly, the activation function may also be other types of activation functions, for example, a Sigmoid function or a Thnh function.
- this embodiment adopts a full convolution model including 3 convolution layers with a convolution kernel size of 1 ⁇ 1, and 2 ReLU activation functions interspersed among the 3 convolution layers.
- the first color gamut image is input into the full convolution model shown in Figure 2 for processing, and the second color gamut image can be output.
- the full convolution model provided by this application is composed of N convolution layers with a convolution kernel size of 1 ⁇ 1 and N-1 activation functions interspersed, so that multiple Each color node value has its own corresponding color gamut mapping function, so that the second color gamut map processed by the full convolution model includes color node values corresponding to multiple color node values in the first color gamut map one-to-one , to avoid the color shift due to the use of the same conversion function for multiple color node values in the first color gamut map, therefore, the color gamut mapping method provided by this application can improve the accuracy of image conversion in the color gamut mapping process color standard.
- the full convolutional model is composed of N convolutional layers with a convolution kernel size of 1 ⁇ 1 and N-1 activation functions interspersed, the model structure is simple and the number of parameters used is relatively small, which can effectively reduce the The computational cost of the fully convolutional model processing tasks improves computational efficiency and speeds up task processing.
- a color lookup table (color lookup table) can also be made by using the full convolution model provided in this application. That is, according to the first color gamut map and the second color gamut map generated by using the full convolution model, a color lookup table between the first color gamut map and the second color gamut map is determined.
- the color lookup table can be directly added to the post-processing process of terminal devices such as cameras to improve the quality of images or videos captured by terminal devices such as cameras from the perspective of software.
- the color lookup table can also be applied in the image/video editor as a means of image or video post-processing to improve the color accuracy of the image or video conversion during the color gamut mapping process, for example, using the color lookup table to achieve different filter images mirror effect.
- the color lookup table can also be used for color gamut mapping between different display devices, so that the same image/video can display the same effect as possible on different display devices.
- the preset training set and the preset loss function are used to iteratively train the full convolution initial model to obtain the full convolution model.
- the training set includes a plurality of first color gamut map samples and a second color gamut map sample corresponding to each first color gamut map sample.
- the acquisition method (or source) of the first color gamut map sample can be the image data whose color node value is in the first color gamut directly acquired through video or image acquisition equipment, or the color to be acquired Image data converted from video data with node values in the first color gamut by frame extraction or frame splitting.
- the second color gamut map sample can also be the image data whose color node values are in the second color gamut directly obtained through video or image acquisition equipment, or it can also be the video data with the acquired color node values in the second color gamut for frame extraction Or the image data converted by frame splitting and other methods.
- the plurality of first color gamut map samples are video frames in at least one first color gamut video sample
- the second color gamut map samples are video frames in a second color gamut video sample corresponding to the first color gamut video sample. video frames.
- the training set uses the first color gamut video samples and the corresponding second color gamut video samples to extract more abundant Color node values, using video frames with richer color node values (including image samples of the first color gamut and image samples of the second color gamut) to train the full convolution model can also improve the accuracy of model training.
- the preset loss function is used to describe the L2 loss between the predicted second color gamut map and the second color gamut map sample, and the predicted second color gamut map is obtained by processing the first color gamut map sample with the full convolution model of.
- the initial model can be trained by designing the corresponding training set and loss function, so as to obtain a fully convolutional model suitable for different color gamut mapping tasks.
- the training process and application of the full convolution model provided by the present application will be exemplarily described below.
- FIG. 3 it is a schematic diagram of the representation range of HDR color gamut and SDR color gamut.
- BT.709 and BT.2020 are both TV parameter standards issued by ITU (International Telecommunication Union)
- DCI-P3 is the digital The color gamut standard developed by movie theaters.
- BT.2020 has the largest range among DCI-P3, BT.709 and BT.2020
- the color gamut range of DCI-P3 is second
- the color gamut range represented by BT.709 is the smallest.
- SDR images/videos use the BT.709 color gamut
- HDR images/videos use the wider BT.2020 color gamut or DCI-P3 color gamut.
- the HDR image/video can show higher contrast and richer colors than the SDR image/video.
- a training set is acquired, and the training set may include multiple SDR video frame samples and HDR video frame samples corresponding to the multiple SDR video frame samples one-to-one.
- an SDR video sample and its corresponding HDR video sample are acquired first.
- SDR video samples and corresponding HDR video samples can be obtained from public video websites. It is also possible to perform SDR and HDR processing on videos in the same RAW data format, respectively, to obtain SDR video samples and corresponding HDR video samples. It is also possible to use the SDR camera and the HDR camera respectively to shoot corresponding SDR video samples and HDR video samples in the same scene.
- the SDR video samples and their corresponding HDR video samples are frame-drawn to obtain a plurality of SDR video frame samples and the temporal and spatial connections between multiple SDR video samples.
- a frame extraction tool can be used to extract frames from the SDR video sample and its corresponding HDR video sample.
- FFmpeg Fast Forward Mpeg
- the fully convolutional initial model is iteratively trained using the preset training set and the preset loss function to obtain a fully convolutional model.
- the preset loss function is used for L2 loss between multiple HDR video frames predicted by the fully convolutional inception model and HDR video frame samples.
- the full convolution initial model can be iteratively trained by the gradient descent method until the model converges, and the trained full convolution model can be obtained.
- the color mapping table can be obtained based on the full convolution model.
- the SDR color gamut map is generated according to all the color node values in the SDR color gamut, and after being input to the full convolution model for processing, the corresponding HDR color gamut map can be obtained. Then establish a corresponding relationship between the color nodes in the SDR color gamut map and the HDR color gamut map to obtain a color lookup table.
- an embodiment of the present application provides an HDR video conversion method, the method comprising:
- the acquisition method of the SDR video to be processed can be a complete video taken, downloaded or read from a local storage area, or an SDR video segment intercepted from a completed video, or it can be obtained by using different color gamuts. All or part of the color node values synthesize different color gamut maps.
- the SDR video to be processed adopts an 8-bit encoding format
- the HDR color gamut video obtained after color mapping by the color lookup table also adopts an 8-bit encoding format.
- the encoding format of the HDR color gamut is converted to the encoding format of the HDR video to obtain the HDR video corresponding to the SDR video.
- the 8-bit encoded HDR color gamut video is format-converted to form a 10-bit encoded or 16-bit encoded HDR video.
- 16-bit coded or 10-bit coded HDR video can show higher contrast and richer colors.
- the method of directly using the color lookup table to realize HDR video conversion can speed up the completion of HDR video conversion. task, improve the efficiency of HDR video conversion.
- the embodiment of the present application provides a color gamut mapping device.
- the device embodiment corresponds to the aforementioned method embodiment.
- the details in the examples are described one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content in the foregoing method embodiments.
- the present application provides a color gamut mapping device, the above-mentioned device 200 includes:
- An acquisition unit 201 configured to acquire a first color gamut diagram, where the first color gamut diagram includes a plurality of color node values of the first color gamut;
- the processing unit 202 is configured to input the first color gamut map into the trained full convolution model for processing, and output the second color gamut map, the second color gamut map includes color node values corresponding to a plurality of color node values one-to-one , the fully convolutional model includes N convolutional layers with a convolution kernel size of 1 ⁇ 1, N-1 activation functions are interspersed in the N convolutional layers, and N is an integer greater than or equal to 3.
- the activation function is a ReLU activation function.
- the training methods of the full convolution model include:
- the training set includes a plurality of first color gamut map samples and a second color gamut map sample corresponding to each first color gamut map sample;
- the plurality of first color gamut map samples are video frames in at least one first color gamut video sample
- the second color gamut image sample is a video frame in the second color gamut video sample corresponding to the first color gamut video sample;
- the preset loss function is used to describe the L2 loss between the predicted second color gamut map and the second color gamut map sample, and the predicted second color gamut map is obtained by processing the first color gamut map sample with the full convolution model of.
- the processing unit 202 is further configured to determine a color lookup table between the first color gamut map and the second color gamut map according to the first color gamut map and the second color gamut map.
- the first color gamut is the SDR color gamut
- the second color gamut is the HDR color gamut
- the application method of the color lookup table includes: acquiring the SDR video to be processed
- FIG. 5 is a schematic diagram of a terminal device provided in an embodiment of the present application.
- the terminal device 300 provided in this embodiment includes: a memory 302 and a processor 301, the memory 302 is used to store computer programs; the processor 301 is used to The methods described in the above method embodiments are executed when the computer program is called, for example, steps S101 to S103 shown in FIG. 1 .
- the processor 301 executes the computer program, it realizes the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the acquiring unit 201, the processing unit 202, and the determining unit 203 shown in FIG. 4 .
- the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 302 and executed by the processor 301 to complete this Apply.
- the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.
- FIG. 5 is only an example of a terminal device, and does not constitute a limitation on the terminal device. It may include more or less components than those shown in the figure, or combine certain components, or different components, such as
- the terminal device may also include an input and output device, a network access device, a bus, and the like.
- the processor 301 may be a central processing unit (Central Processing Unit, CPU), can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
- the storage 302 may be an internal storage unit of the terminal device, for example, a hard disk or memory of the terminal device.
- the memory 302 may also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, Flash Card (Flash Card), etc. Further, the memory 302 may also include both an internal storage unit of the terminal device and an external storage device.
- the memory 302 is used to store the computer program and other programs and data required by the terminal device.
- the memory 302 can also be used to temporarily store data that has been output or will be output.
- the terminal device provided in this embodiment can execute the foregoing method embodiment, and its implementation principle and technical effect are similar, and details are not repeated here.
- the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the foregoing method embodiment is implemented.
- the embodiment of the present application further provides a computer program product, which, when the computer program product runs on a terminal device, enables the terminal device to implement the method described in the foregoing method embodiments when executed.
- An embodiment of the present application further provides a chip system, including a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory, so as to implement the method described in the above method embodiment.
- the chip system may be a single chip, or a chip module composed of multiple chips.
- the above integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the procedures in the methods of the above embodiments in the present application can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium.
- the computer program When executed by a processor, the steps in the above-mentioned various method embodiments can be realized.
- the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
- the computer-readable storage medium may at least include: any entity or device capable of carrying computer program codes to a photographing device/terminal device, a recording medium, a computer memory, a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals, and software distribution media.
- a photographing device/terminal device a recording medium
- a computer memory a read-only memory (Read-Only Memory, ROM), a random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals, and software distribution media.
- ROM read-only memory
- RAM random access Memory
- electrical carrier signals telecommunication signals
- software distribution media such as U disk, mobile hard disk, magnetic disk or optical disk, etc.
- computer readable media may not be electrical carrier signals and telecommunication signals under legislation and patent practice.
- references to "one embodiment” or “some embodiments” or the like in this application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
- appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
- the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
- first and second are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, the features defined as “first” and “second” may explicitly or implicitly include at least one of these features. It should also be understood that the term “and/or” used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
- connection and “connected” should be understood in a broad sense, for example, it can be mechanical connection or electrical connection; it can be direct connection or through An intermediate medium is indirectly connected, which can be the internal communication of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, those of ordinary skill in the art can understand the above terms in this application according to the specific situation. specific meaning.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
Description
Claims (10)
- 一种色域映射方法,其特征在于,所述方法包括:获取第一色域图,所述第一色域图包括第一色域的多个颜色节点值;将所述第一色域图输入已训练的全卷积模型中处理,输出第二色域图,所述第二色域图中包括与所述多个颜色节点值一一对应的颜色节点值,所述全卷积模型包括N个卷积核大小为1×1的卷积层,N个所述卷积层中穿插设置有N-1个激活函数,N为大于或者等于3的整数。
- 根据权利要求1所述的方法,其特征在于,3≤N≤10。
- 根据权利要求1所述的方法,其特征在于,所述激活函数为非线性激活函数。
- 根据权利要求1所述的方法,其特征在于,所述全卷积模型的训练方式包括:利用预设的训练集和预设的损失函数对全卷积初始模型进行迭代训练,得到所述全卷积模型;所述训练集包括多个第一色域图样本以及每个所述第一色域图样本对应的第二色域图样本;所述多个第一色域图样本是至少一个第一色域视频样本中的视频帧,所述第二色域图样本是与所述第一色域视频样本对应的第二色域视频样本中的视频帧;所述预设的损失函数用于描述预测的第二色域图和所述第二色域图样本之间的L2损失,所述预测的第二色域图为所述全卷积模型对所述第一色域图样本进行处理得到的。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:根据所述第一色域图和所述第二色域图确定所述第一色域和所述第二色域图之间的颜色查找表。
- 根据权利要求5所述的方法,其特征在于,所述第一色域为SDR色域,所述第二色域为HDR色域,所述颜色查找表的应用方法包括:获取待处理的SDR视频;利用所述颜色查找表对所述SDR视频进行颜色映射,得到HDR色域视频;将所述HDR色域视频的编码格式转换为HDR视频编码格式,得到与所述SDR视频对应的HDR视频。
- 一种色域映射装置,其特征在于,包括:获取单元,用于获取第一色域图,所述第一色域图包括第一色域的多个颜色节点值;处理单元,用于将所述第一色域图输入已训练的全卷积模型中处理,输出第二色域图,所述第二色域图中包括与所述多个颜色节点值一一对应的颜色节点值,所述全卷积模型包括N个卷积核大小为1×1的卷积层,N个所述卷积层中穿插设置有N-1个激活函数,N为大于或者等于3的整数。
- 根据权利要求7所述的装置,其特征在于,3≤N≤10。
- 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至6任一项所述的方法。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110883146.5A CN113781322A (zh) | 2021-08-02 | 2021-08-02 | 一种色域映射方法、装置、终端设备及存储介质 |
| CN202110883146.5 | 2021-08-02 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023010753A1 true WO2023010753A1 (zh) | 2023-02-09 |
Family
ID=78836589
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/138136 Ceased WO2023010753A1 (zh) | 2021-08-02 | 2021-12-15 | 一种色域映射方法、装置、终端设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113781322A (zh) |
| WO (1) | WO2023010753A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113781322A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种色域映射方法、装置、终端设备及存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110138259A1 (en) * | 2009-12-03 | 2011-06-09 | Microsoft Corporation | High Performance Digital Signal Processing In Software Radios |
| CN113781322A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种色域映射方法、装置、终端设备及存储介质 |
| CN113784175A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种hdr视频转换方法、装置、设备及计算机存储介质 |
| CN113781318A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种图像颜色映射方法、装置、终端设备及存储介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010105036A1 (en) * | 2009-03-13 | 2010-09-16 | Dolby Laboratories Licensing Corporation | Layered compression of high dynamic range, visual dynamic range, and wide color gamut video |
| EP3484137A1 (en) * | 2017-11-09 | 2019-05-15 | Thomson Licensing | Method and device for generating a second image from a first image |
| CN109903219B (zh) * | 2019-02-28 | 2023-06-30 | 深圳市商汤科技有限公司 | 图像处理方法及装置、电子设备、计算机可读存储介质 |
| CN109903256B (zh) * | 2019-03-07 | 2021-08-20 | 京东方科技集团股份有限公司 | 模型训练方法、色差校正方法、装置、介质和电子设备 |
| CN110717868B (zh) * | 2019-09-06 | 2022-05-03 | 上海交通大学 | 视频高动态范围反色调映射模型构建、映射方法及装置 |
-
2021
- 2021-08-02 CN CN202110883146.5A patent/CN113781322A/zh active Pending
- 2021-12-15 WO PCT/CN2021/138136 patent/WO2023010753A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110138259A1 (en) * | 2009-12-03 | 2011-06-09 | Microsoft Corporation | High Performance Digital Signal Processing In Software Radios |
| CN113781322A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种色域映射方法、装置、终端设备及存储介质 |
| CN113784175A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种hdr视频转换方法、装置、设备及计算机存储介质 |
| CN113781318A (zh) * | 2021-08-02 | 2021-12-10 | 中国科学院深圳先进技术研究院 | 一种图像颜色映射方法、装置、终端设备及存储介质 |
Non-Patent Citations (2)
| Title |
|---|
| HIRAO KATSUHIKO; CHENG ZHENGXUE; TAKEUCHI MASARU; KATTO JIRO: "Convolutional Neural Network based Inverse Tone Mapping for High Dynamic Range Display using LUCORE", 2019 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS (ICCE), 11 January 2019 (2019-01-11), pages 1 - 2, XP033528172, DOI: 10.1109/ICCE.2019.8662048 * |
| HIRAO KATSUHIKO; CHENG ZHENGXUE; TAKEUCHI MASARU; KATTO JIRO: "Deep Inverse Tone Mapping Optimized for High Dynamic Range Display", 2018 INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGY CONVERGENCE (ICTC), 17 October 2018 (2018-10-17), pages 472 - 474, XP033448093, DOI: 10.1109/ICTC.2018.8539648 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113781322A (zh) | 2021-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7596615B2 (ja) | 画像処理方法および装置 | |
| CN113784175B (zh) | 一种hdr视频转换方法、装置、设备及计算机存储介质 | |
| WO2023010754A1 (zh) | 一种图像处理方法、装置、终端设备及存储介质 | |
| WO2023010750A1 (zh) | 一种图像颜色映射方法、装置、终端设备及存储介质 | |
| CN113168673B (zh) | 图像处理方法、装置和电子设备 | |
| CN116485979B (zh) | 映射关系计算方法、颜色校准方法及电子设备 | |
| CN105827897A (zh) | 调整卡制作方法、系统、调试色彩校正矩阵方法及设备 | |
| KR20170115503A (ko) | 화상을 역-톤 매핑하기 위한 장치 및 방법 | |
| US10600170B2 (en) | Method and device for producing a digital image | |
| CN113781321B (zh) | 图像高亮区域的信息补偿方法、装置、设备及存储介质 | |
| CN110730339A (zh) | 一种sdr视频信号处理方法、装置和视频编码设备 | |
| CN112686810A (zh) | 一种图像处理的方法及装置 | |
| CN113066020A (zh) | 图像处理方法及装置、计算机可读介质和电子设备 | |
| CN115706870B (zh) | 视频处理方法、装置、电子设备和存储介质 | |
| US12488517B2 (en) | Color card generating method, image processing method, and apparatuses, and readable storage medium | |
| WO2023010755A1 (zh) | 一种hdr视频转换方法、装置、设备及计算机存储介质 | |
| WO2023010753A1 (zh) | 一种色域映射方法、装置、终端设备及存储介质 | |
| CN115239739A (zh) | 图像处理方法及装置、电子设备和计算机可读介质 | |
| US20170223366A1 (en) | Method and apparatus for processing image data | |
| WO2023016040A1 (zh) | 视频处理方法、装置、电子设备和存储介质 | |
| WO2023016043A1 (zh) | 视频处理方法、装置、电子设备和存储介质 | |
| CN116091358B (zh) | 数据映射变换方法和装置、电子设备及存储介质 | |
| CN115589477B (zh) | 相机硬件测试方法及装置、计算机可读介质和电子设备 | |
| US20240114251A1 (en) | Server device and program | |
| WO2026056717A1 (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: 21952616 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21952616 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30.09.2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21952616 Country of ref document: EP Kind code of ref document: A1 |