Local high dynamic range hue display method and system of image

Through local high dynamic range processing and histogram adjustment, the problem of difficult local control of images is solved, flexible processing of images and color detail maintenance are achieved, and more flexible image editing capabilities are provided.

CN118803430AInactive Publication Date: 2024-10-18DONGGUAN TEAM SOURCE DISPLAY TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410934440.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, users cannot locally control the image, resulting in the inability to achieve flexible processing of the image. Especially in the local high dynamic range tone display of the image, the details and light and dark differences of local colors cannot be effectively maintained.

Method used

By obtaining a local area of ​​the target image, recording the initial parameters, generating multiple auxiliary images with different exposure parameters, merging them to form an adjustment image layer, adjusting the tone based on the histogram, generating a secondary adjustment area with the expected tone, and merging it with the target image. Achieve local high dynamic range tonal display.

Benefits of technology

It realizes flexible processing of local parts of the image. Users can make targeted light and dark adjustments, maintain local color details, avoid color deviations caused by global processing, and provide more flexible image editing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803430A_ABST
    Figure CN118803430A_ABST
Patent Text Reader

Abstract

The invention discloses a local high dynamic range hue display method and system of an image, and the method comprises the following steps: obtaining a target image, and locally determining a target region on the target image; responding to the toning operation to enable the target area to form an expected tone in the high dynamic range; displaying the operated target image; visibly, by performing high dynamic range processing on the target area to be toned and delineating toning, a user can only perform toning on the local area in a targeted manner, image processing is more flexible, and the requirement of the user for image processing is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of local high dynamic range color adjustment of images, and in particular to a method and system for displaying local high dynamic range color tones of images. Background Art

[0002] HDR, or high dynamic range. The concept originally comes from video photography technology. When capturing images, Exposing the same image to different degrees and then synthesizing it can present the scene well while maintaining the details of the highlights and low-light parts. Similarly, in the display field, the "dynamic range" in the HDR concept refers to the ratio between the brightest and darkest parts of an image; In the prior art, when users process images, they often perform global adjustments to the color of the images. In this case, users cannot adjust the local parts of the images, so users cannot flexibly process the images. Therefore, a more reasonable method is urgently needed to solve the above-mentioned technical problems. Summary of the invention

[0003] The present invention provides a solution to the technical problem in the prior art that a user cannot adjust a part of an image and thus cannot flexibly process the image.

[0004] To achieve the above object, the present invention provides a method for displaying local high dynamic range tones of an image, comprising the following steps: Acquire a target image, and locally determine a target area on the target image; Responding to a color adjustment operation, so that the target area forms an expected color tone under a high dynamic range; Displays the target image after the operation.

[0005] As a solution of the present application, the step of obtaining a high dynamic range in the target area is: Recording initial parameters of the target area; Based on the target image, multiple auxiliary images with different exposure parameters are obtained, and the multiple auxiliary images are fused and an adjustment image layer is formed according to weight calculation; the adjustment image layer corresponds to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

[0006] As a solution of the present application, the color adjustment operation includes: A corresponding histogram is generated based on the initial adjustment region, and the parameters of the initial adjustment region are changed by adjusting the histogram, so as to obtain a secondary adjustment region having the expected hue after adjustment.

[0007] As a solution of the present application, the color adjustment operation further includes: Select multiple hue points on the same hue of the initial adjustment area, take each hue point as the value center to calibrate the required grayscale threshold, connect the multiple hue points to generate an adjustment surface; adjust the adjustment surface through the histogram to obtain the secondary adjustment area.

[0008] As a solution of the present application, the secondary adjustment area is fused with the target image to obtain the target image after the operation.

[0009] The present application also provides a local high dynamic range tone display system for an image, including a calibration module, a color adjustment module and a fusion module for image processing: After the calibration module acquires the target image, it locally determines the target area on the target image; The color adjustment module responds to the color adjustment operation so that the target area forms an expected color tone under a high dynamic range; The fusion module displays the target image after the operation.

[0010] As a solution of the present application, the step of obtaining a high dynamic range in the target area is: Recording initial parameters of the target area; Based on the target image, multiple auxiliary images with different exposure parameters are obtained, and the multiple auxiliary images are fused and an adjustment image layer is formed according to weight calculation; the adjustment image layer corresponds to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

[0011] As a solution of the present application, the color adjustment operation includes: A corresponding histogram is generated based on the initial adjustment region, and the parameters of the initial adjustment region are changed by adjusting the histogram, so as to obtain a secondary adjustment region having the expected hue after adjustment.

[0012] As a solution of the present application, the color adjustment operation further includes: Select multiple hue points on the same hue of the initial adjustment area, take each hue point as the value center to calibrate the required grayscale threshold, connect the multiple hue points to generate an adjustment surface; adjust the adjustment surface through the histogram to obtain the secondary adjustment area.

[0013] As a solution of the present application, the fusion module fuses the secondary adjustment area with the target image to obtain the target image after the operation.

[0014] The beneficial effects of the present invention are as follows: compared with the prior art, the present invention provides a method and system for displaying local high dynamic range tones of an image, the method comprising the following steps: first acquiring a target image, and locally determining a target area on the target image; responding to a color adjustment operation so that the target area forms an expected tone under a high dynamic range; and displaying the target image after the operation; it can be seen that by performing high dynamic range processing on the target area to be color adjusted and circling the color adjustment, the user can perform color adjustment on only the local area in a targeted manner, and the image processing is more flexible, meeting the user's needs for image processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0016] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with the accompanying drawings.

[0017] In the following description, the example details are given to provide a deeper understanding of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. It should be understood that the specific embodiments are only used to explain the present invention and are not used to limit the present invention.

[0018] It should be understood that when the terms "include" and / or "comprises" are used in this specification, they indicate the existence of the stated features, integers, steps, operations, elements or components, but do not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components or combinations thereof.

[0019] In the prior art, when users process images, they often make global adjustments to the color of the images. In this case, users cannot make adjustments to the local parts of the images, so users cannot flexibly process the images. For example, the image content is a subject placed in a shadow, and the color of the subject is the same as the shadow. Generally speaking, when the user weakens the shadow, the color of the subject will also change, resulting in a deviation in the color of the subject. Even if the adjustment is made under a higher HDR, the color of the subject will still change in the same processing direction as the shadow. Therefore, a more reasonable method is urgently needed to solve the above-mentioned technical problems.

[0020] In order to solve the above technical problems, the present application provides a method for displaying local high dynamic range tones of an image. Figure 1 , including the following steps: Acquire a target image, and locally determine a target area on the target image; Respond to color grading operations to achieve the desired hue in the target area under high dynamic range; Displays the target image after the operation.

[0021] It can be seen that by performing high dynamic range processing on the target area to be colored and circling the color adjustment, the user can only adjust the color of that part in a targeted manner, which makes the image processing more flexible and meets the user's needs for image processing; specifically, the image content continues to be the main body placed in the shadow, and the color of the main body is the same as the shadow: the user first calibrates and circles the shadow to form a target area, and by processing the target area so that the area has a high dynamic range adjustment space, the user only needs to adjust the brightness of the target area to eliminate the negative, thereby achieving local adjustment, so that the color of the main body can continue to be retained; the user's adjustment is also more flexible.

[0022] In the specific scheme, the steps to obtain a high dynamic range in the target area are: Record the initial parameters of the target area; Based on the target image, multiple auxiliary images with different exposure parameters are obtained, and the multiple auxiliary images are fused and an adjustment image layer is formed according to weight calculation; the adjustment image layer corresponds to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

[0023] The core purpose of the above scheme is to generate a processable area with a high dynamic range. It is not difficult to understand that an area supporting high dynamic range adjustment is formed based on the target image, and multiple exposed and underexposed auxiliary images are generated based on the target image. After fusion based on the weight algorithm, an adjustment image layer with a high dynamic range can be obtained, and an initial adjustment area is formed locally in the corresponding target area on the adjustment image layer, which can then be adjusted by the user. Since this layer has a high dynamic range, the user can obtain better image tolerance.

[0024] In a further embodiment, the color adjustment operation further includes: A corresponding histogram is generated based on the initial adjustment area, and the parameters of the initial adjustment area are changed by adjusting the histogram, and a secondary adjustment area with the expected hue is obtained after adjustment; the color adjustment operation should be understood as adjusting the histogram to achieve the adjustment of parameters such as the picture color and brightness of the initial adjustment area, and is not limited to changing the color of the picture content; after the adjustment is completed, a corresponding secondary adjustment area is obtained, and the secondary adjustment area can be understood as the expected effect of the user. In subsequent solutions, the secondary adjustment area can be fused with the target image, which can be understood as fusion of the secondary adjustment area to the target area part of the target image, and finally the target image after the modification operation is obtained, thereby completing the local editing and color adjustment.

[0025] In the specific scheme, the color adjustment operation also includes: An initial hue point is obtained on the same hue of the initial adjustment area, and the hue point is used as the value center to calibrate the required grayscale threshold. After the threshold selection is completed, a plurality of associated hue points within the threshold range are marked in the initial adjustment area, and the initial hue point and the plurality of associated hue points jointly generate an adjustment surface; the adjustment surface is regulated by a histogram to obtain a secondary adjustment area; the above-mentioned embodiment is used to illustrate again, for example, a gray hue at the shadow is selected to mark an initial hue point, and then the color parameters of the initial hue point are obtained, and the grayscale threshold is determined, and all the gray hue points in the grayscale range in the initial adjustment area are calculated as associated hue points, and the initial hue point and the associated hue point are connected to jointly produce an adjustment surface, and then the adjustment surface is adjusted, so that it is easy to adjust the blocks composed of a certain hue, and the user can edit the image more flexibly.

[0026] Furthermore, after the target image is fused with the secondary adjustment area, the connecting edge between the target image and the secondary adjustment area will be more prominent, which will make the secondary adjustment area present a blocky visual experience. Therefore, it is necessary to process the edge between the target image and the secondary adjustment area to obtain a smooth transition effect without a blocky visual effect. In this embodiment, specifically, four pixels are arranged along the edge formed by the secondary adjustment area and the target image, the four edges of the pixels are recorded as points L1, L2, L3 and L4, and the center of the four pixels is point P. The calculation steps are to obtain the saturation factor of the center point P; obtain the saturation of the four edge points and record the saturation factor, and obtain the initial fusion weight based on the above saturation factor. Subsequently, the contrast factors of the center point P and the four edge points are continued to be obtained, and the above contrast factors are calculated to obtain the adjustment coefficient, and the adjustment coefficient is introduced into the initial fusion weight for correction, that is, the final fusion weight is obtained. Finally, the four edge points are combined with the final fusion weight to make a color transition toward the center point p gradient, and a boundary with a smooth color transition can be obtained.

[0027] The present application also provides a local high dynamic range tone display system for an image, including a calibration module, a color adjustment module and a fusion module for image processing: After the calibration module obtains the target image, it determines the target area locally on the target image; The color grading module responds to the color grading operation so as to form an expected color tone in the target area under the high dynamic range; The fusion module displays the target image after the operation.

[0028] Specifically, the steps for obtaining a high dynamic range in the target area are: recording the initial parameters of the target area; obtaining multiple auxiliary images with different exposure parameters based on the target image, fusing the multiple auxiliary images and forming an adjustment image layer according to weight calculation; adjusting the image layer to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

[0029] Specifically, the color adjustment operation includes: generating a corresponding histogram based on the initial adjustment area, changing the parameters of the initial adjustment area by adjusting the histogram, and obtaining a secondary adjustment area with a desired color tone after the adjustment.

[0030] In a further scheme, the color adjustment operation also includes: selecting multiple hue points on the same hue of the initial adjustment area, taking each hue point as the value center to calibrate the required grayscale threshold, connecting the multiple hue points to generate an adjustment surface; and adjusting the adjustment surface through a histogram to obtain a secondary adjustment area.

[0031] Specifically, the fusion module fuses the secondary adjustment area with the target image to obtain the operated target image and achieve a smooth color transition effect.

[0032] The advantages of the present invention are: 1) By performing high dynamic range processing on the target area to be color-corrected and circling the color correction, users can adjust the color of only that part, making image processing more flexible and meeting the user's needs for image processing; 2) By processing the edge formed by the fusion of the secondary adjustment area and the target image through weight calculation, a boundary with smooth color transition can be obtained.

[0033] The above disclosures are only several specific embodiments of the present invention, but the present invention is not limited thereto, and any changes that can be conceived by users in the art should fall within the protection scope of the present invention.

Claims

1. A method for displaying local high dynamic range tones of an image, characterized in that: The following steps are involved: Acquire a target image, and locally determine a target area on the target image; Responding to a color adjustment operation, so that the target area forms an expected color tone under a high dynamic range; Displays the target image after the operation.

2. The method for displaying local high dynamic range tones of an image according to claim 1, characterized in that: The steps of obtaining a high dynamic range in the target area are as follows: Recording initial parameters of the target area; Based on the target image, multiple auxiliary images with different exposure parameters are obtained, and the multiple auxiliary images are fused and an adjustment image layer is formed according to weight calculation; the adjustment image layer corresponds to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

3. The method for displaying local high dynamic range tones of an image according to claim 2, characterized in that: The color adjustment operation includes: A corresponding histogram is generated based on the initial adjustment region, and the parameters of the initial adjustment region are changed by adjusting the histogram, so as to obtain a secondary adjustment region having the expected hue after adjustment.

4. The method for displaying local high dynamic range tones of an image according to claim 2, characterized in that: The color adjustment operation also includes: Select multiple hue points on the same hue of the initial adjustment area, take each hue point as the value center to calibrate the required grayscale threshold, connect the multiple hue points to generate an adjustment surface; adjust the adjustment surface through the histogram to obtain the secondary adjustment area.

5. The method for displaying local high dynamic range tones of an image according to claim 2, characterized in that: The secondary adjustment area is merged with the target image to obtain the target image after the operation.

6. A local high dynamic range tone display system for an image, characterized in that: The method according to any one of claims 1 to 5 comprises a calibration module, a color adjustment module and a fusion module for processing an image: After the calibration module acquires the target image, it locally determines the target area on the target image; The color adjustment module responds to the color adjustment operation so that the target area forms an expected color tone under a high dynamic range; The fusion module displays the target image after the operation.

7. The local high dynamic range tone display system of an image according to claim 6, characterized in that: The steps of obtaining a high dynamic range in the target area are as follows: Recording initial parameters of the target area; Based on the target image, multiple auxiliary images with different exposure parameters are obtained, and the multiple auxiliary images are fused and an adjustment image layer is formed according to weight calculation; the adjustment image layer corresponds to a part of the target area to form an initial adjustment area, and the parameters of the initial adjustment area are the same as the initial parameters of the target area.

8. The local high dynamic range tone display system of an image according to claim 7, characterized in that: The color adjustment operation includes: A corresponding histogram is generated based on the initial adjustment region, and the parameters of the initial adjustment region are changed by adjusting the histogram, so as to obtain a secondary adjustment region having the expected hue after adjustment.

9. The local high dynamic range tone display system of an image according to claim 8, characterized in that: The color adjustment operation also includes: Select multiple hue points on the same hue of the initial adjustment area, take each hue point as the value center to calibrate the required grayscale threshold, connect the multiple hue points to generate an adjustment surface; adjust the adjustment surface through the histogram to obtain the secondary adjustment area.

10. The local high dynamic range tone display system of an image according to claim 9, characterized in that: The fusion module fuses the secondary adjustment area with the target image to obtain the target image after the operation.

Citation Information

Patent Citations

  • Image processing method and device and terminal equipment

    CN107369145A

  • Multi-frame image fusion method and device

    CN110189285A

  • Tone mapping method based on multi-scale WLS filtering fusion

    CN115456912A

  • Image processing method and device, electronic equipment, medium and product

    CN117522760A

  • Image processing method and device, electronic equipment, storage medium and product

    CN118015103A