CN112004075A - Neighborhood chromatic aberration compensation method and device - Google Patents

Neighborhood chromatic aberration compensation method and device Download PDF

Info

Publication number
CN112004075A
CN112004075A CN202010918339.5A CN202010918339A CN112004075A CN 112004075 A CN112004075 A CN 112004075A CN 202010918339 A CN202010918339 A CN 202010918339A CN 112004075 A CN112004075 A CN 112004075A
Authority
CN
China
Prior art keywords
color
pixel
visual
space image
value
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.)
Pending
Application number
CN202010918339.5A
Other languages
Chinese (zh)
Inventor
廉玉生
刘金钠
林梓欣
李凌波
何冠男
金杨
魏先福
黄敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Graphic Communication
Original Assignee
Beijing Institute of Graphic Communication
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 Beijing Institute of Graphic Communication filed Critical Beijing Institute of Graphic Communication
Priority to CN202010918339.5A priority Critical patent/CN112004075A/en
Publication of CN112004075A publication Critical patent/CN112004075A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a neighborhood chromatic aberration compensation method and a neighborhood chromatic aberration compensation device, and relates to the field of chromatic aberration compensation. The method comprises the following steps: acquiring a device color space image of the target device from the ideal visual color space image in combination with the color profile of the target device; determining a visual color value for each pixel of the device color space image in combination with the spatial color value for each pixel and the color profile for the target device; calculating color differences between the visual color values and the ideal visual color values of each pixel; determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values; the visual space image is converted to a new device color space image of the target device according to the color profile. The neighborhood chromatic aberration compensation method and the neighborhood chromatic aberration compensation device of the embodiment of the invention achieve the technical effect of improving the color reproduction precision of the color gamut of the target equipment by compensating the color conversion and the color gamut mapping chromatic aberration generated in the color management process.

Description

Neighborhood chromatic aberration compensation method and device
Technical Field
The invention relates to the technical field of chromatic aberration compensation, in particular to a neighborhood chromatic aberration compensation method and device.
Background
At present, in the existing color management process of cross-media color reproduction, due to the influence of algorithm precision and target device data precision in the color conversion process, conversion color difference is inevitably generated, which affects the final color reproduction precision, and when the color gamut of the target device is smaller than that of the source device, the color gamut in the color gamut mapping is compressed, and the color difference of color reproduction outside the color gamut is inevitably generated, which affects the final color reproduction precision.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for compensating a neighborhood color difference to solve the above-mentioned technical problem.
In a first aspect, an embodiment of the present invention provides a neighborhood chromatic aberration compensation method, where the method includes the following steps:
acquiring a device color space image of the target device from the ideal visual color space image by combining the color profile of the target device;
determining a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile for the target device;
calculating color differences between the visual color values and the ideal visual color values for each pixel;
determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values;
and converting the visual space image into a new device color space image of the target device according to the color profile.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein determining, according to the color difference, a new color value of a pixel to be compensated in a neighborhood of each pixel includes:
determining a starting pixel in a device color space image of the target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
With reference to the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect is provided by an embodiment of the present invention, wherein determining a new color value of a pixel to be compensated in a neighborhood of each pixel according to the color difference includes:
and calculating a visual chromatic aberration compensation value of the pixel to be compensated in the neighborhood of each pixel based on the chromatic aberration, and adding the visual chromatic aberration compensation value and the color value of the pixel to be compensated to obtain a new color value of the pixel to be compensated.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the color profile includes a target lookup table, and the target lookup table includes a correspondence between a spatial color value of each pixel in the device color space image and a visual color value of a corresponding pixel in the visual space image;
converting the visual space image to a new device color space image of a target device according to the color profile includes:
converting the visual space image to a new device color space image of the target device using a target look-up table and an image conversion algorithm in the color profile.
With reference to the second possible implementation manner of the first aspect, the present invention provides a fourth possible implementation manner of the first aspect, wherein the visual color values include tristimulus values;
determining a visual color value for each pixel of the device color space image in combination with the spatial color value for the each pixel and the color profile for the target device comprises:
acquiring tristimulus values in spatial color values of each pixel of the device color space image;
determining tristimulus values in the visual color values for each pixel in conjunction with the tristimulus values and the color profile.
With reference to the fourth possible implementation manner of the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein calculating a color difference between the visual color value and the ideal visual color value of each pixel includes:
acquiring tristimulus values in the ideal visual color values;
and subtracting the tristimulus value in the visual color value of each pixel from the tristimulus value in the ideal visual color value, and taking the absolute value to obtain the tristimulus color difference between the visual color value of each pixel and the ideal visual color value.
With reference to the fifth possible implementation manner of the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein calculating, based on the color difference, a visual color difference compensation value of a pixel to be compensated in a neighborhood of each pixel includes:
determining the tri-stimulus value visual color difference compensation proportion of the pixels to be compensated in the neighborhood of each pixel based on the tri-stimulus value color difference;
and calculating the tri-stimulus value visual chromatic aberration compensation value of the pixel to be compensated based on the tri-stimulus value visual chromatic aberration compensation proportion.
With reference to the sixth possible implementation manner of the first aspect, the embodiment of the present invention provides a seventh possible implementation manner of the first aspect, wherein a sum of the tristimulus-value visual chromatic aberration compensation ratios of the pixels to be compensated in the neighborhood is 1.
In a second aspect, an embodiment of the present invention further provides a neighborhood chromatic aberration compensation apparatus, where the apparatus includes:
the image acquisition module is used for acquiring a device color space image of the target device from the ideal visual color space image in combination with the color profile of the target device;
a visual color value determination module to determine a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile of the target device;
a color difference calculation module for calculating color differences between the visual color values and the ideal visual color values of each pixel;
the new color value determining module is used for determining the new color values of the pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values and constructing a visual space image by utilizing the plurality of new color values;
and the image conversion module is used for converting the visual space image into a new device color space image of the target device according to the color characteristic file.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the new color value determination module is configured to:
determining a starting pixel in a device color space image of the target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a neighborhood chromatic aberration compensation method and a neighborhood chromatic aberration compensation device, wherein a device color space image of target equipment is obtained from an ideal visual color space image by combining a color characteristic file of the target equipment; determining a visual color value for each pixel of the device color space image in combination with the spatial color value for each pixel and the color profile for the target device; calculating color differences between the visual color values and the ideal visual color values of each pixel; determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values; the visual space image is converted to a new device color space image of the target device according to the color profile. The neighborhood chromatic aberration compensation method and the neighborhood chromatic aberration compensation device of the embodiment of the invention achieve the technical effect of improving the color reproduction precision of the color gamut of the target equipment by compensating the color gamut mapping chromatic aberration generated in the color management process.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a neighborhood chromatic aberration compensation method according to an embodiment of the present invention;
fig. 2 is a flowchart of another neighborhood color difference compensation method according to an embodiment of the present invention;
fig. 3 is a block diagram of a neighborhood color difference compensation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, in the existing color management process of cross-media color reproduction, due to the influence of algorithm precision and target device data precision in the color conversion process, conversion color difference is inevitably generated, which affects the final color reproduction precision, and when the color gamut of the target device is smaller than that of the source device, the color gamut in the color gamut mapping is compressed, and the color difference of color reproduction outside the color gamut is inevitably generated, which affects the final color reproduction precision. Accordingly, embodiments of the present invention provide a method and an apparatus for neighborhood color difference compensation to alleviate the above problems.
In order to facilitate understanding of the present embodiment, a detailed description is first given to a neighborhood color difference compensation method disclosed in the embodiment of the present invention.
In one possible implementation, the invention provides a neighborhood color difference compensation method. Fig. 1 is a flowchart of a neighborhood chromatic aberration compensation method according to an embodiment of the present invention, where the method includes the following steps:
step S102: a device color space image of a target device is obtained from an ideal visual color space image in conjunction with a color profile of the target device.
It should be further noted that the present invention is a neighborhood color difference compensation method performed on the basis of the original color management process to improve the color conversion accuracy, and obtain the device color space image of the target device through the color management process.
Step S104: determining a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile for the target device.
Step S106: calculating a color difference between the visual color value and an ideal visual color value for each pixel.
Step S108: and determining the new color values of the pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values.
Step S110: and converting the visual space image into a new device color space image of the target device according to the color profile.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention obtains the device color space image of the target device from the ideal visual color space image by combining a neighborhood color difference compensation method and a color characteristic file of the target device; determining a visual color value for each pixel of the device color space image in combination with the spatial color value for each pixel and the color profile for the target device; calculating color differences between the visual color values and the ideal visual color values of each pixel; determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values; the visual space image is converted to a new device color space image of the target device according to the color profile. The neighborhood chromatic aberration compensation method and the neighborhood chromatic aberration compensation device of the embodiment of the invention achieve the technical effect of improving the color reproduction precision of the color gamut of the target equipment by compensating the color gamut mapping chromatic aberration generated in the color management process.
In practical use, to describe the process of the method in fig. 1 in more detail, an embodiment of the present invention shows a flowchart of another neighborhood color difference compensation method provided by an embodiment of the present invention in fig. 2, where the method includes the following steps:
step S202: a device color space image of a target device is obtained from an ideal visual color space image in conjunction with a color profile of the target device.
Step S204: determining a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile for the target device.
It should be further noted that the visual color values include tristimulus values, and the neighborhood color difference compensation method of the present invention is implemented by tristimulus values of color values.
In particular, the visual color values comprise tristimulus values; determining a visual color value for each pixel of the device color space image in combination with the spatial color value for the each pixel and the color profile for the target device comprises:
acquiring tristimulus values in spatial color values of each pixel of the device color space image;
determining tristimulus values in the visual color values for each pixel in conjunction with the tristimulus values and the color profile.
It should be further noted that, since the color profile includes the target lookup table, and the target lookup table includes the corresponding relationship between the spatial color value of each pixel in the device color space image and the visual color value of the corresponding pixel in the visual space image, the tristimulus value in the visual color value of each pixel can be determined by combining the tristimulus value and the color profile.
If the corresponding relation between the spatial color value and the visual color value cannot be found in the target lookup table, the spatial color value needs to be converted into a middle quantity L a b, and then the tristimulus value in the visual color value of each pixel is obtained according to a calculation formula of L a b and the tristimulus value.
The calculation formula is
Figure BDA0002664087560000081
Wherein X, Y, Z is the tristimulus value in the visual color value of each pixel that needs to be solved; xn, Yn, Zn are tristimulus values in the visual color values of standard illumination sources.
Step S206: calculating a color difference between the visual color value and an ideal visual color value for each pixel.
Specifically, calculating the color difference between the visual color value and the ideal visual color value of each pixel comprises:
acquiring tristimulus values in the ideal visual color values;
and subtracting the tristimulus value in the visual color value of each pixel from the tristimulus value in the ideal visual color value, and taking the absolute value to obtain the tristimulus color difference between the visual color value of each pixel and the ideal visual color value.
The number of pixels in the neighborhood is 4 in the embodiment of the present invention, and may be other numbers, which is determined by the setting range of the neighborhood, which is not limited in the embodiment of the present invention.
Specifically, the calculating of the visual chromatic aberration compensation value of the pixel to be compensated in the neighborhood of each pixel based on the chromatic aberration comprises:
determining the tri-stimulus value visual color difference compensation proportion of the pixels to be compensated in the neighborhood of each pixel based on the tri-stimulus value color difference;
and calculating the tri-stimulus value visual chromatic aberration compensation value of the pixel to be compensated based on the tri-stimulus value visual chromatic aberration compensation proportion.
Step S208: and calculating a visual color difference compensation value of the pixel to be compensated in the neighborhood of each pixel based on the color difference, adding the visual color difference compensation value and the color value of the pixel to be compensated to obtain a new color value of the pixel to be compensated, obtaining a plurality of new color values, and constructing a visual space image by using the new color values.
It should be further noted that, in the embodiment of the present invention, a starting pixel is first selected, and then a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel are obtained for each pixel in the device color space image according to a predetermined path.
Specifically, determining the new color value of the pixel to be compensated in the neighborhood of each pixel according to the color difference further includes:
determining a starting pixel in a device color space image of a target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
It should be further noted that the predetermined path in the embodiment of the present invention is a zigzag path, and other types of paths may also be selected, and the embodiment of the present invention does not limit the type of the path.
Step S210: converting the visual space image to a new device color space image of the target device using a target look-up table and an image conversion algorithm in the color profile.
The color profile comprises a target lookup table, wherein the target lookup table comprises a corresponding relation between a spatial color value of each pixel in the device color space image and a visual color value of a corresponding pixel in the visual space image.
Specifically, converting the visual space image to a new device color space image of a target device according to the color profile comprises:
converting the visual space image to a new device color space image of the target device using a target look-up table and an image conversion algorithm in the color profile.
Further, a new device color space image is input to the target device, so that high-precision cross-media color copying and reproduction can be realized on the target device.
It should be further noted that the sum of the tristimulus-value visual chromatic aberration compensation ratios of the pixels to be compensated in the neighborhood is 1.
In summary, the neighborhood color difference compensation method and apparatus of the present invention, in combination with the color profile of the target device, obtain the device color space image of the target device from the ideal visual color space image; determining a visual color value for each pixel of the device color space image in combination with the spatial color value for each pixel and the color profile for the target device; calculating color differences between the visual color values and the ideal visual color values of each pixel; determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values; the visual space image is converted to a new device color space image of the target device according to the color profile. The neighborhood chromatic aberration compensation method and the neighborhood chromatic aberration compensation device of the embodiment of the invention achieve the technical effect of improving the color reproduction precision of the color gamut of the target equipment by compensating the color gamut mapping chromatic aberration generated in the color management process.
In another possible implementation manner, corresponding to the neighborhood color difference compensation method provided in the foregoing implementation manner, an embodiment of the present invention further provides a neighborhood color difference compensation apparatus, and fig. 3 is a block diagram of a structure of a neighborhood color difference compensation apparatus provided in an embodiment of the present invention. As shown in fig. 3, the apparatus includes:
an image obtaining module 301, configured to obtain, in combination with a color profile of a target device, a device color space image of the target device from an ideal visual color space image;
a visual color value determination module 302 for determining a visual color value for each pixel of the device color space image in combination with a spatial color value for said each pixel and a color profile for the target device;
a color difference calculating module 303, configured to calculate a color difference between the visual color value and the ideal visual color value of each pixel;
a new color value determining module 304, configured to determine, according to the color difference, a new color value of a pixel to be compensated in a neighborhood of each pixel, to obtain a plurality of new color values, and construct a visual space image using the plurality of new color values;
an image conversion module 305 for converting the visual space image into a new device color space image of the target device according to the color profile.
In actual use, the new color value determination module 304 is configured to:
determining a starting pixel in a device color space image of a target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
In yet another possible implementation manner, an embodiment of the present invention further provides a server, and fig. 4 shows a schematic structural diagram of the server provided in the embodiment of the present invention, and referring to fig. 4, the server includes: a processor 400, a memory 401, a bus 402 and a communication interface 403, the processor 400, the memory 401, the communication interface 403 and the communication interface being connected by the bus 402; the processor 400 is used to execute executable modules, such as computer programs, stored in the memory 401.
Wherein the memory 401 stores computer-executable instructions that can be executed by the processor 400, the processor 400 executes the computer-executable instructions to implement the methods described above.
Further, the Memory 401 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 403 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 402 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 401 is used for storing a program, and the processor 400 executes the program after receiving a program execution instruction, and the neighborhood color difference compensation method disclosed in any embodiment of the present invention may be applied to the processor 400, or implemented by the processor 400.
Further, processor 400 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 400. The Processor 400 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401 and completes the steps of the method in combination with the hardware.
In yet another possible implementation, the embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the method described above.
The neighborhood chromatic aberration compensation device provided by the embodiment of the invention has the same technical characteristics as the neighborhood chromatic aberration compensation method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product of the neighborhood color difference compensation method and device provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a ReaD-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk, or an optical disk.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for neighborhood color difference compensation, the method comprising the steps of:
acquiring a device color space image of the target device from the ideal visual color space image by combining the color profile of the target device;
determining a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile for the target device;
calculating color differences between the visual color values and the ideal visual color values for each pixel;
determining new color values of pixels to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new color values, and constructing a visual space image by using the plurality of new color values;
and converting the visual space image into a new device color space image of the target device according to the color profile.
2. The method of claim 1, wherein determining new color values for pixels to be compensated in the neighborhood of each pixel based on the color differences comprises:
determining a starting pixel in a device color space image of a target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
3. The method of claim 2, wherein determining new color values for pixels to be compensated in the neighborhood of each pixel based on the color differences comprises:
and calculating a visual chromatic aberration compensation value of the pixel to be compensated in the neighborhood of each pixel based on the chromatic aberration, and adding the visual chromatic aberration compensation value and the color value of the pixel to be compensated to obtain a new color value of the pixel to be compensated.
4. The method of claim 1, wherein the color profile comprises a target lookup table comprising a correspondence of a device space color value of each pixel in the device color space image to a visual color value of a corresponding pixel in the visual space image;
converting the visual space image to a new device color space image of a target device according to the color profile includes:
converting the visual space image to a new device color space image of the target device using a target look-up table and an image conversion algorithm in the color profile.
5. The method of claim 3, wherein the visual color values comprise tristimulus values;
determining a visual color value for each pixel of the device color space image in combination with the spatial color value for the each pixel and the color profile for the target device comprises:
acquiring tristimulus values in the device space color values of each pixel of the device color space image;
determining tristimulus values in the visual color values for each pixel in conjunction with the tristimulus values and the color profile.
6. The method of claim 5, wherein calculating color differences between the visual color values and the ideal visual color values for each pixel comprises:
acquiring tristimulus values in the ideal visual color values;
and subtracting the tristimulus value in the visual color value of each pixel from the tristimulus value in the ideal visual color value, and taking the absolute value to obtain the tristimulus color difference between the visual color value of each pixel and the ideal visual color value.
7. The method of claim 6, wherein calculating a visual color difference compensation value for pixels to be compensated in the neighborhood of each pixel based on the color difference comprises:
determining the tri-stimulus value visual color difference compensation proportion of the pixels to be compensated in the neighborhood of each pixel based on the visual tri-stimulus value color difference;
and calculating the tristimulus-value visual chromatic aberration compensation value of the pixel to be compensated based on the visual tristimulus-value visual chromatic aberration compensation proportion.
8. The method according to claim 7, wherein the sum of the tristimulus visual color difference compensation ratios of the pixels to be compensated in the neighborhood is 1.
9. A neighborhood color difference compensation apparatus, comprising:
the image acquisition module is used for acquiring a device color space image of the target device from the ideal visual color space image in combination with the color profile of the target device;
a visual color value determination module to determine a visual color value for each pixel of the device color space image in combination with a spatial color value for the each pixel and a color profile of the target device;
a color difference calculation module for calculating color differences between the visual color values and the ideal visual color values of each pixel;
the new color value determining module is used for determining the new visual color value of the pixel to be compensated in the neighborhood of each pixel according to the color difference to obtain a plurality of new visual color values and constructing a visual space image by utilizing the new visual color values;
and the image conversion module is used for converting the visual space image into a new device color space image of the target device according to the color characteristic file.
10. The apparatus of claim 9, wherein the new color value determination module is configured to:
determining a starting pixel in a device color space image of a target device;
and starting with the starting pixel, and traversing each pixel in the device color space image based on a predetermined path to obtain a plurality of new color values of the pixel to be compensated in the neighborhood of each pixel.
CN202010918339.5A 2020-09-03 2020-09-03 Neighborhood chromatic aberration compensation method and device Pending CN112004075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010918339.5A CN112004075A (en) 2020-09-03 2020-09-03 Neighborhood chromatic aberration compensation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010918339.5A CN112004075A (en) 2020-09-03 2020-09-03 Neighborhood chromatic aberration compensation method and device

Publications (1)

Publication Number Publication Date
CN112004075A true CN112004075A (en) 2020-11-27

Family

ID=73468269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010918339.5A Pending CN112004075A (en) 2020-09-03 2020-09-03 Neighborhood chromatic aberration compensation method and device

Country Status (1)

Country Link
CN (1) CN112004075A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256498A (en) * 2021-06-24 2021-08-13 杭州未名信科科技有限公司 Interpolation method, device and equipment based on three-dimensional color space and storage medium
CN113613007A (en) * 2021-07-19 2021-11-05 青岛信芯微电子科技股份有限公司 Three-dimensional color lookup table generation method and display device

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5463480A (en) * 1990-03-06 1995-10-31 Crosfield Electronics Limited Image processor for output devices which transforms data into acceptable color space
US5481380A (en) * 1992-04-06 1996-01-02 Linotype-Hell Ag Method and apparatus for calibration of color values
CN1390333A (en) * 1999-11-15 2003-01-08 佳能株式会社 Embedded gamut mapping algorithm
US20030016230A1 (en) * 2001-07-20 2003-01-23 Corel Corporation System and method for colour management of colour devices and colour spaces
US20040130739A1 (en) * 2000-01-05 2004-07-08 Adam George E. Scanner and printer profiling system
CN1722774A (en) * 2004-06-10 2006-01-18 佳能株式会社 Image processing apparatus and method thereof
CN1997100A (en) * 2006-01-06 2007-07-11 佳能株式会社 Information processing method and information processing apparatus
CN101198070A (en) * 2006-10-17 2008-06-11 三星电子株式会社 Apparatus and method for improving visibility for images
JP2008228296A (en) * 2007-03-09 2008-09-25 Sharp Corp Method and system for color rendering
JP2009027570A (en) * 2007-07-23 2009-02-05 Ricoh Co Ltd Image processor, image processing method, program and recording medium
JP2011147021A (en) * 2010-01-15 2011-07-28 Konica Minolta Business Technologies Inc Method of creating color profile, image processing device that creates color profile, and control program of the image processing device
US20120057785A1 (en) * 2010-09-07 2012-03-08 Peter Morovic Method and system to modify a color lookup table
CN105047147A (en) * 2014-04-15 2015-11-11 三星显示有限公司 Method of compensating an image based on light adaptation, display device employing the same, and electronic device
CN107424197A (en) * 2017-04-24 2017-12-01 齐鲁工业大学 It is a kind of that the method across media color reproduction is realized based on spectrum domain mapping
CN107578384A (en) * 2017-08-31 2018-01-12 河南工程学院 A kind of space gamut mapping method and device
CN108566502A (en) * 2018-05-15 2018-09-21 西安理工大学 A kind of color management method based on expansible colored quantum noise
CN109587367A (en) * 2017-09-29 2019-04-05 精工爱普生株式会社 Configuration file adjusting method, configuration file regulating device and system
CN110459176A (en) * 2019-08-16 2019-11-15 合肥工业大学 A kind of gamut conversion method of displayer
CN111383184A (en) * 2018-12-29 2020-07-07 Tcl集团股份有限公司 Image processing method and device

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5463480A (en) * 1990-03-06 1995-10-31 Crosfield Electronics Limited Image processor for output devices which transforms data into acceptable color space
US5481380A (en) * 1992-04-06 1996-01-02 Linotype-Hell Ag Method and apparatus for calibration of color values
CN1390333A (en) * 1999-11-15 2003-01-08 佳能株式会社 Embedded gamut mapping algorithm
US20040130739A1 (en) * 2000-01-05 2004-07-08 Adam George E. Scanner and printer profiling system
US20030016230A1 (en) * 2001-07-20 2003-01-23 Corel Corporation System and method for colour management of colour devices and colour spaces
CN1722774A (en) * 2004-06-10 2006-01-18 佳能株式会社 Image processing apparatus and method thereof
CN1997100A (en) * 2006-01-06 2007-07-11 佳能株式会社 Information processing method and information processing apparatus
CN101198070A (en) * 2006-10-17 2008-06-11 三星电子株式会社 Apparatus and method for improving visibility for images
JP2008228296A (en) * 2007-03-09 2008-09-25 Sharp Corp Method and system for color rendering
JP2009027570A (en) * 2007-07-23 2009-02-05 Ricoh Co Ltd Image processor, image processing method, program and recording medium
JP2011147021A (en) * 2010-01-15 2011-07-28 Konica Minolta Business Technologies Inc Method of creating color profile, image processing device that creates color profile, and control program of the image processing device
US20120057785A1 (en) * 2010-09-07 2012-03-08 Peter Morovic Method and system to modify a color lookup table
CN105047147A (en) * 2014-04-15 2015-11-11 三星显示有限公司 Method of compensating an image based on light adaptation, display device employing the same, and electronic device
CN107424197A (en) * 2017-04-24 2017-12-01 齐鲁工业大学 It is a kind of that the method across media color reproduction is realized based on spectrum domain mapping
CN107578384A (en) * 2017-08-31 2018-01-12 河南工程学院 A kind of space gamut mapping method and device
CN109587367A (en) * 2017-09-29 2019-04-05 精工爱普生株式会社 Configuration file adjusting method, configuration file regulating device and system
CN108566502A (en) * 2018-05-15 2018-09-21 西安理工大学 A kind of color management method based on expansible colored quantum noise
CN111383184A (en) * 2018-12-29 2020-07-07 Tcl集团股份有限公司 Image processing method and device
CN110459176A (en) * 2019-08-16 2019-11-15 合肥工业大学 A kind of gamut conversion method of displayer

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
中国感光学会编著: "《2016-2017 感光影像学 学科发展报告》", 31 March 2018, 北京:中国科学技术出版社 *
刘瑞华: ""基于ICC规范的色彩管理技术研究"", 《中国博士学位论文全文数据库(电子期刊)信息科技辑》 *
张雷洪: "《色彩管理与实务》", 31 December 2018, 文化发展出版社 *
李文娜: "基于YCbCr空间与柔性数学形态学结合在人脸检测中的算法分析", 《中国组织工程研究与临床康复》 *
郭睿倩主编: "《半导体光源(LED,OLED)及照明设计丛书 光源原理与设计 第3版》", 31 December 2017, 上海:复旦大学出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113256498A (en) * 2021-06-24 2021-08-13 杭州未名信科科技有限公司 Interpolation method, device and equipment based on three-dimensional color space and storage medium
CN113256498B (en) * 2021-06-24 2021-11-02 杭州未名信科科技有限公司 Interpolation method, device and equipment based on three-dimensional color space and storage medium
CN113613007A (en) * 2021-07-19 2021-11-05 青岛信芯微电子科技股份有限公司 Three-dimensional color lookup table generation method and display device
CN113613007B (en) * 2021-07-19 2024-03-05 青岛信芯微电子科技股份有限公司 Three-dimensional color lookup table generation method and display device

Similar Documents

Publication Publication Date Title
CN112004075A (en) Neighborhood chromatic aberration compensation method and device
CN109996054B (en) White balance adjusting method and device
CN111163301B (en) Color adjustment method, device and computer readable storage medium
WO2020142871A1 (en) White balance processing method and device for image
WO2019210707A1 (en) Image sharpness evaluation method, device and electronic device
CN114093292A (en) Brightness parameter correction method, device and equipment and brightness compensation system
JP6376767B2 (en) Image processing apparatus and image processing method
EP1976308A2 (en) Device and method for measuring noise characteristics of image sensor
CN112544074B (en) Image processing method, device, electronic equipment and storage medium
CN115278186B (en) Controllable uniform projection method, device, equipment and medium based on Internet of things
CN115760653A (en) Image correction method, device, equipment and readable storage medium
CN109996017B (en) Image adjusting method and terminal thereof
JP6350472B2 (en) Calibration system, calibration method, image forming apparatus, and calibration program
CN113744332A (en) Image correction method, storage method, device, electronic device and storage medium
CN111866481A (en) Method for detecting contamination of projection device, detection device and readable storage medium
CN111246190A (en) Image processing method and device based on nuclear radiation locator and electronic equipment
US20190287482A1 (en) Color conversion apparatus, signal standard conversion apparatus, color conversion method and storage medium
CN114866755B (en) Automatic white balance method and device, computer storage medium and electronic equipment
CN116419076B (en) Image processing method and device, electronic equipment and chip
CN114519987B (en) Gamma correction method, system and storage medium for display
CN113709393B (en) Calibration curve acquisition method and calibration method for optical dark area of image sensor
CN109544483B (en) Video image brightness and contrast enhancement method and device
CN117612470A (en) Color lookup table generating method and color correcting method
CN109166560B (en) Gamma correction method, device, equipment and storage medium
KR20130056620A (en) Method and apparatus for lens shading correction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201127