CN-116414319-B - Image color consistency adjustment method, device, equipment and storage medium
Abstract
The invention discloses a method, a device, equipment and a storage medium for adjusting image color consistency, and relates to the technical field of image processing. The method comprises the steps of acquiring first color data through a first color block diagram print and acquiring second color data after the first color block diagram print is acquired, then carrying out color adjustment on an electronic manuscript corresponding to a sample image provided by a customer according to the first color data and the second color data, and finally carrying out printing and copying according to the adjusted sample image electronic manuscript (color correction image electronic manuscript), so that the color consistency of a finally obtained image and the sample image provided by the customer is maintained, and compared with the color correction effect which is better and the color consistency is better and the efficiency is higher by utilizing the technical scheme such as manual color mixing.
Inventors
- ZHONG HUIMING
- YIN WEI
- ZUO GUOYUN
- HUANG ZHONGKUN
- CHEN YAN
Assignees
- 深圳市汉森软件有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20211231
Claims (6)
- 1. A method for adjusting consistency of image colors, the method comprising: Printing a first color block diagram electronic manuscript to obtain a first color block diagram print; acquiring color information in the first color block diagram print to obtain first color data; Collecting the first color block diagram prints and generating a second color block diagram electronic manuscript; printing the second color block diagram electronic manuscript to obtain a second color block diagram print; Acquiring color information in the second color block diagram print to obtain second color data; And copying the sample image after performing color adjustment according to the first color data and the second color data, wherein the copying the sample image according to the first color data and the second color data comprises the following steps: collecting a sample image and generating a sample image electronic manuscript; performing color adjustment on the sample image electronic manuscript according to the first color data and the second color data to generate a color correction image electronic manuscript; copying the sample image according to the color correction image electronic manuscript; the step of performing color adjustment on the sample image electronic manuscript according to the first color data and the second color data, and the step of generating a color correction image electronic manuscript includes: acquiring a first color management configuration file and a first color gamut space according to the first color data; acquiring a second color management configuration file and a second color gamut space according to the second color data; establishing a color gamut mapping relation between the first color gamut space and the second color gamut space; Performing color adjustment on the sample image electronic manuscript according to the color gamut mapping relation to generate a color correction image electronic manuscript; The step of performing color adjustment on the sample image electronic manuscript according to the color gamut mapping relation, and the step of generating a color correction image electronic manuscript comprises the following steps: acquiring color data of the sample image electronic manuscript, and recording the color data as third color data; Acquiring a color point corresponding to the third color data in the second color gamut space, and acquiring a mapping point corresponding to the color point in the first color gamut space according to the color gamut mapping relation; acquiring color data corresponding to the mapping points and recording the color data as fourth color data; and correspondingly adjusting the color of the sample image electronic manuscript according to the fourth color data to generate the color correction image electronic manuscript.
- 2. The method of claim 1, wherein the first color block map comprises color blocks of different color data.
- 3. The method according to claim 1, wherein the color information of the first color block diagram print and the second color block diagram print is obtained by using a spectrophotometer, and the second color block diagram manuscript is generated by collecting the first color block diagram print by using any one of a scanner, a camera, and a video camera.
- 4. An image color consistency adjustment device, the device comprising: the first printing module is used for printing the first color block diagram electronic manuscript to obtain a first color block diagram print; The first color data acquisition module is used for acquiring color information in the first color block diagram print to obtain first color data; the first acquisition module is used for acquiring the first color block diagram prints and generating a second color block diagram electronic manuscript; the second printing module is used for printing the second color block diagram electronic manuscript to obtain a second color block diagram print; the second color data acquisition module is used for acquiring color information in the second color block diagram prints to obtain second color data; The adjustment module is used for copying the sample image after performing color adjustment according to the first color data and the second color data; the color correction method comprises the steps of collecting a sample image to generate a sample image electronic manuscript, carrying out color adjustment on the sample image electronic manuscript according to first color data and second color data to generate a color correction image electronic manuscript, copying the sample image according to the color correction image electronic manuscript, carrying out color adjustment on the sample image electronic manuscript according to the first color data and the second color data, generating a color correction image electronic manuscript, wherein the color correction image electronic manuscript comprises the steps of obtaining a first color management configuration file and a first color gamut space according to the first color data, obtaining a second color management configuration file and a second color gamut space according to the second color data, establishing a color gamut mapping relation between the first color gamut space and the second color gamut space, carrying out color adjustment on the sample image electronic manuscript according to the color gamut mapping relation to generate a color correction image electronic manuscript, and comprises the steps of obtaining the color data of the sample image electronic manuscript, recording the color data as third color data, obtaining color points corresponding to the third color data in the second color gamut space, obtaining the color mapping relation between the corresponding to the color points corresponding to the first color gamut space, and generating the color correction image electronic manuscript according to the color mapping relation.
- 5. An image color consistency adjustment device comprising at least one processor, at least one memory and computer program instructions stored in the memory, which when executed by the processor, implement the method according to any of claims 1-3.
- 6. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-3.
Description
Image color consistency adjustment method, device, equipment and storage medium Technical Field The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting image color consistency. Background The color management function is to adjust and manage the colors of each link of the actual production application through software and hardware, thereby realizing the consistency of the colors in the whole production application process. In the actual production process, it is often required to print and copy according to a sample image provided by a customer, so as to obtain a printed product (also referred to as customer sample reproduction) with the same color as the sample image. The current method for reproducing the customer sample is to acquire the pattern and color information of the sample image by using an image acquisition device (scanner and camera) to obtain an electronic manuscript image, print the electronic manuscript image into a real object printing product by using a printer, and then manually color-mix the electronic manuscript image according to the color difference between the customer sample and the printing product. In general, the number of times of toning is related to experience and level of toning personnel, and uncertainty is large and efficiency is low, so that the effect of reproducing the pattern is poor. In addition, along with the change of factors such as the use duration, temperature, humidity, etc., the same sample is gathered to image acquisition equipment, and the colour of output can appear the deviation. In addition to image acquisition devices, deviations in the output color of the printer can occur with environmental, spray head state changes, and the like, further exacerbating the color differences between the customer sample and the final printed product. In these cases, color management software such as i1 Profiler is often used to calibrate image acquisition apparatuses such as scanners and cameras with international standard generation profiles (ICCs) to control the stability of the image acquisition apparatuses. For the printer, the printer is calibrated by RIP software and the like, so that the printer color tends to be stable. However, these methods only achieve adjustment of the stability of the device itself, and are helpful for duplicating customer samples and ensuring consistent and substantial color, so that they cannot be used to improve the color reproduction effect of the samples. Disclosure of Invention In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for adjusting image color consistency, so as to solve the problem of poor color reproduction effect in the sample reproduction process in the prior art. In a first aspect, an embodiment of the present invention provides an image color consistency adjustment method, where the method includes: Printing a first color block diagram electronic manuscript to obtain a first color block diagram print; acquiring color information in the first color block diagram print to obtain first color data; Collecting the first color block diagram prints and generating a second color block diagram electronic manuscript; printing the second color block diagram electronic manuscript to obtain a second color block diagram print; Acquiring color information in the second color block diagram print to obtain second color data; and carrying out color adjustment on the sample image according to the first color data and the second color data, and copying. Preferably, the copying of the sample image according to the first color data and the second color data includes: collecting a sample image and generating a sample image electronic manuscript; performing color adjustment on the sample image electronic manuscript according to the first color data and the second color data to generate a color correction image electronic manuscript; and copying the sample image according to the color correction image electronic manuscript. Preferably, the color adjustment is performed on the sample image manuscript according to the first color data and the second color data, generating the color correction image electronic manuscript includes: acquiring a first color management configuration file and a first color gamut space according to the first color data; acquiring a second color management configuration file and a second color gamut space according to the second color data; establishing a color gamut mapping relation between the first color gamut space and the second color gamut space; And carrying out color adjustment on the sample image electronic manuscript according to the color gamut mapping relation to generate a color correction image electronic manuscript. Preferably, the color adjustment of the sample image electronic manuscript according to the color gamut mapping relatio