Image brightness adjustment method, device, electronic device, and medium

By dividing images into parts and adjusting brightness based on local brightness, the method enhances image quality in specific regions without affecting others, improving the overall image and user experience.

JP7752184B2Active Publication Date: 2025-10-09DOUYIN VISION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023545225
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-01-28
Filing Date
2021-11-25
Publication Date
2025-10-09
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

Conventional image brightness adjustment methods that lower or increase the overall brightness of an image result in poor image quality in local regions, leading to overall poor image quality.

Method used

Divide an image into multiple portions, determine a brightness adjustment policy for each portion based on its brightness, and adjust the brightness accordingly to obtain a second image portion, then replace the original portion with the adjusted portion in the image.

Benefits of technology

Improves the image quality of the adjusted portions while maintaining the quality of other parts, ensuring the overall image quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007752184000001
    Figure 0007752184000001
  • Figure 0007752184000002
    Figure 0007752184000002
  • Figure 0007752184000003
    Figure 0007752184000003
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a method, device, electronic device, and medium for adjusting image brightness. The method includes the steps of: acquiring a first image to be adjusted; dividing the first image into a plurality of image parts; determining a brightness adjustment policy for the first image part in the plurality of image parts based on the brightness of the first image part, adjusting the brightness of the first image part according to the brightness adjustment policy to obtain a second image part; and obtaining the second image by replacing the first image part in the first image with the second image part. The embodiment of the present disclosure adjusts the brightness of the first image part based on the brightness of the first image part in the image, improving the image quality of the first image part, and ensuring that the image quality of other image parts in the image other than the first image part is not changed, thereby ensuring the quality of the entire image and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application filed on January 28, 2021, with application number 202110120697.6 and titled "Method, device, electronic device and medium for adjusting image brightness," the entire contents of which are incorporated herein by reference.

[0002] The present disclosure relates to the technical field of image processing, and in particular to a method, device, electronic device, and medium for adjusting image brightness. [Background technology]

[0003] With the increasing development of computer technology, more and more electronic devices are equipped with the function of capturing images, and users can take pictures anytime and anywhere using electronic devices with imaging functions to obtain the images they want, and users can also obtain the images they want from a network.

[0004] Typically, images have uneven brightness distribution, with some partial image regions having high brightness and others having low brightness, requiring users to adjust the brightness of the captured image. Conventional techniques adjust the brightness of an image by lowering or increasing the overall brightness of the image. However, lowering the overall brightness of the image tends to darken low-brightness areas, resulting in poor image quality. On the other hand, increasing the overall brightness of the image tends to brighten high-brightness areas, resulting in poor image quality. In other words, currently, lowering or increasing the overall brightness of the image results in poor image quality in local image regions, resulting in poor image quality overall. Summary of the Invention

[0005] The present disclosure provides a method, a device, an electronic device, and a medium for adjusting image brightness that can solve at least one of the above technical problems.

[0006] According to the first aspect, acquiring a first image to be adjusted; Dividing a first image into a plurality of image portions; determining a brightness adjustment policy for a first image portion of the plurality of image portions based on the brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; and obtaining the second image by replacing the first image portion with the second image portion in the first image.

[0007] According to the second aspect, an acquisition module for acquiring a first image to be adjusted; a segmentation module for segmenting the first image into a plurality of image portions; an adjustment module for determining a brightness adjustment policy for a first image portion of the plurality of image portions based on a brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; a substitution module for substituting a first image portion with a second image portion in the first image to obtain the second image.

[0008] According to a third aspect, one or more processors; Memory and and one or more applications stored in the memory and executed by the one or more processors, the applications configured to perform the method for adjusting image brightness described in the first aspect.

[0009] According to a fourth aspect, There is provided a computer-readable medium having stored thereon a computer program that, when executed by a processor, implements the image brightness adjustment method according to the first aspect.

[0010] The beneficial effects of the technical solution provided by the present disclosure are as follows:

[0011] The present disclosure provides a method, device, electronic device, and medium for adjusting image brightness, which, compared to the prior art, first divides a first image into multiple image parts, and for a first image part among the multiple image parts, determines a brightness adjustment policy based on the brightness of the first image part, adjusts the brightness of the first image part according to the brightness adjustment policy to obtain a second image part, and then replaces the first image part with the second image part in the first image to obtain the second image, thereby adjusting the brightness of the first image part based on the brightness of the first image part in the image, improving the image quality of the first image part, and ensuring that the image quality of other image parts in the image other than the first image part does not change, thereby ensuring the quality of the entire image and improving the user experience. [Brief explanation of the drawings]

[0012] The above and other features, advantages, and aspects of each embodiment of the present disclosure will become more apparent with reference to the following specific embodiments in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic and that the objects and elements are not necessarily drawn to scale. [Figure 1] FIG. 1 is a schematic diagram illustrating a flow of a method for adjusting image brightness according to an embodiment of the present disclosure. [Figure 2] FIG. 1 is a schematic diagram of stitching image portions according to one embodiment of the present disclosure. [Figure 3] 1 is a schematic diagram illustrating a configuration of an image brightness adjustment device according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is a schematic diagram illustrating a configuration of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0013] Hereinafter, examples of the present disclosure will be described in more detail with reference to the accompanying drawings. The accompanying drawings show several examples of the present disclosure, but it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the examples described herein. On the contrary, these embodiments are provided to enable a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and examples of the present disclosure are used for illustrative purposes only and are not used to limit the scope of protection of the present disclosure.

[0014] It should be understood that the steps described in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. Also, method embodiments can include additional steps and / or steps that omit execution indications. The scope of the present disclosure is not limited in this respect.

[0015] As used herein, the term "including" and variations thereof are intended to be open-ended, meaning "including but not limited to." The term "one embodiment" denotes "at least one embodiment," the term "another embodiment" denotes "at least one other embodiment," and the term "some embodiments" denotes "at least some embodiments." Definitions of other terms are provided below.

[0016] It should be noted that the concepts of "first," "second," etc. referred to in this disclosure are merely intended to distinguish between devices, modules, or units, and do not limit these devices, modules, or units to being necessarily different devices, modules, or units, nor do they limit the order or interdependence of functions performed by these devices, modules, or units.

[0017] It should be understood that the modifications "one" and "multiple" referred to in this disclosure are general rather than limiting, and that those skilled in the art should understand "one or more" unless the context clearly indicates otherwise.

[0018] The names of messages or information exchanged among devices in the embodiments of the present disclosure are used for descriptive purposes only and are not intended to limit the scope of these messages or information.

[0019] The technical solution of the present disclosure and how it solves the above technical problems will be described in detail below using specific examples. Some specific examples below can be combined with each other, and the same or similar concepts or processes may not be further mentioned in any example. Below, the embodiments of the present disclosure will be described in conjunction with the accompanying drawings.

[0020] An embodiment of the present disclosure provides a method for adjusting image brightness, which may be executed on any one of terminal devices such as a mobile phone, a tablet PC, a desktop computer, a notebook computer, etc., or may be executed on a server. As shown in FIG. 1, FIG. 1 is a schematic diagram showing the flow of a method for adjusting image brightness according to an embodiment of the present disclosure, and the method includes steps S101 to S104.

[0021] In step S101, a first image waiting to be adjusted is acquired.

[0022] Here, the first image awaiting adjustment may be an image captured by a camera, an image downloaded from a network, an image stored locally, or an image after adjustments, including brightness adjustment, have been made to the initial image obtained.

[0023] In step S102, the first image is divided into a plurality of image portions.

[0024] In the embodiments of the present disclosure, the first image may be divided evenly according to its area to obtain each image portion, for example, the first image may be divided evenly into four image portions with each image portion having an equal area. Alternatively, the first image may be divided unevenly to obtain each image portion, for example, the first image may be divided unevenly into a person image portion, a vehicle image portion, a background image portion, etc. according to people, vehicles, background, etc.

[0025] In step S103, for a first image portion of the plurality of image portions, a brightness adjustment policy is determined based on the brightness of the first image portion, and the brightness of the first image portion is adjusted according to the brightness adjustment policy to obtain a second image portion.

[0026] Here, the number of first image portions is at least one, i.e., at least one image portion among the multiple image portions is the first image portion, and for each first image portion, a brightness adjustment policy is determined based on the brightness of the first image portion, and the brightness of the first image portion is adjusted according to the brightness adjustment policy, thereby obtaining a second image portion corresponding to the first image portion.

[0027] In one possible embodiment, each image portion may be a respective first image portion, and for each first image portion, the first image portion may be brightness adjusted to obtain a corresponding second image portion.

[0028] The brightness adjustment policy is determined based on the brightness of the first image portion, and when the brightness of the first image portion is low, it indicates that the first image portion is dark, and the brightness adjustment policy can increase the brightness of the first image portion; when the brightness of the first image portion is high, it indicates that the first image portion is bright, and the brightness adjustment policy can decrease the brightness of the first image portion.

[0029] In step S103, a brightness adjustment policy is determined based on the brightness of the first image portion, and the brightness of the first image portion is adjusted according to the brightness adjustment policy, specifically, brightness adjustment information of each pixel point in the first image portion is determined based on the overall brightness of the first image portion, and the brightness of each pixel point in the first image portion is adjusted according to the brightness adjustment information of each pixel point in the first image portion.

[0030] The brightness of the first image portion includes the overall brightness of the first image portion, and the overall brightness of the first image portion is information that can represent the brightness situation of the entire first image portion. For example, the overall brightness of the first image portion may be the brightness of each pixel point in the first image portion, and further, for example, the overall brightness of the first image portion may be the brightness value of the first image portion.

[0031] Here, the method for calculating the luminance value of the first image portion is not limited, and for example, the luminance value of each pixel point in the first image portion may be used to calculate the average luminance value of the pixel points, and the average luminance value of the pixel points may be used as the luminance value of the first image portion, or the luminance values ​​of pixel points in the first image portion may be determined to be within a predetermined luminance range, and the average luminance value may be calculated using the luminance values ​​of the determined pixel points, and the average luminance value may be used as the luminance value of the first image portion.

[0032] In actual application, the brightness adjustment policy includes brightness adjustment information for each pixel point in the first image portion, and for any one pixel point, the brightness adjustment information for the pixel point may be a brightness adjustment value, and the brightness adjustment values ​​for each pixel point may be the same or different, and are not limited here.

[0033] Here, when adjusting the brightness of the first image portion according to the brightness adjustment policy, if the first image portion is dark, the brightness adjustment information of each pixel point in the first image portion is determined as a positive value, and the brightness value of each pixel point in the first image portion is adjusted according to the brightness adjustment information of each pixel point. At this time, by increasing the brightness value of each pixel point in the first image portion, the brightness value of the first image portion can be increased, i.e., the brightness of the first image portion can be increased; if the first image portion is bright, the brightness adjustment information of each pixel point in the first image portion is determined as a negative value, and the brightness value of each pixel point in the first image portion is adjusted according to the brightness adjustment information of each pixel point. At this time, by decreasing the brightness value of each pixel point in the first image portion, the brightness value of the first image portion can be decreased, i.e., the brightness of the first image portion can be decreased.

[0034] In one possible embodiment, a mapping relationship between a luminance value interval and a luminance adjustment value of a pixel point can be preset, for example, a mapping relationship between a luminance value interval [0, 20) and a luminance adjustment value of 30, and a mapping relationship between a luminance value interval [20, 40) and a luminance adjustment value of 20 can be preset.

[0035] In practical application, when adjusting the brightness of any pixel point in the first image portion, the brightness value range in which the brightness value of the first image portion exists can be first determined, and then the brightness adjustment value of the pixel point in the first image portion can be determined based on the mapping relationship between the preset brightness value range and the brightness adjustment value, and the brightness value of the pixel point in the first image portion can be adjusted according to the brightness adjustment value of the pixel point in the first image portion.

[0036] In step S104, the second image is obtained by replacing the first image portion with the second image portion in the first image.

[0037] In an embodiment of the present disclosure, in a first image, a first image portion may be replaced with a second image portion, i.e., the second image portion and other image portions other than the first image portion in the plurality of image portions may be stitched to obtain a second image, where the second image portion is an image portion after brightness adjustment, and the other image portions are image portions without brightness adjustment, and the only difference between the second image portion and the first image portion is image brightness.

[0038] An embodiment of the present disclosure provides a method for adjusting image brightness, which, compared with the prior art, first divides a first image into multiple image parts; for a first image part among the multiple image parts, determines a brightness adjustment policy based on the brightness of the first image part; adjusts the brightness of the first image part according to the brightness adjustment policy to obtain a second image part; and then replaces the first image part with the second image part in the first image part to obtain the second image, thereby adjusting the brightness of the first image part based on the brightness of the first image part in the image, improving the image quality of the first image part, and ensuring that the image quality of other image parts in the image other than the first image part does not change, thereby ensuring the quality of the entire image and improving the user experience.

[0039] In another possible embodiment of the present disclosure, all pixel points in the first image portion correspond to the same brightness adjustment information.

[0040] In the embodiment of the present disclosure, all pixel points in the first image portion correspond to the same brightness adjustment value, i.e., the brightness adjustment values ​​of all pixel points in the first image portion are consistent. Correspondingly, when adjusting the brightness of each pixel point in the first image portion based on the brightness adjustment information of each pixel point in the first image portion, the brightness of all pixel points in the first image portion is increased or decreased by the same brightness adjustment value.

[0041] In the embodiments of the present disclosure, by matching the brightness adjustment values ​​of all pixel points in the first image portion, it is possible to ensure that the brightness of all pixel points in the first image portion is increased or decreased to the same brightness adjustment value, thereby ensuring that the contrast of the first image portion after adjustment matches the contrast of the first image portion before adjustment, improving the quality of the first image portion, improving the quality of the entire image, and improving the user experience.

[0042] Another possible embodiment of the present disclosure is to determine the brightness adjustment information of each pixel point in the first image portion based on the overall brightness of the first image portion, specifically: The method may include obtaining the brightness of each pixel point in the first image portion, and for any one pixel point in the first image portion, determining brightness adjustment information for the pixel point that is directly proportional to the brightness of the pixel point based on the brightness of the pixel point and the overall brightness of the first image portion.

[0043] In an embodiment of the present disclosure, the first adjustment information of each pixel point in the first image portion corresponding to the same brightness adjustment information is determined based on the overall brightness of the first image portion, and the second adjustment information of each pixel point in the first image portion is determined based on the brightness of each pixel point in the first image portion, where the second adjustment information of any one pixel point is directly proportional to the brightness of the pixel point, i.e., the higher the brightness of the pixel point, the larger the second adjustment information of the pixel point, and then the sum of the first adjustment information of each pixel point and the second adjustment information of each pixel point can be used as the brightness adjustment information of each pixel point. In this case, the brightness of the pixel point in the first image portion is directly proportional to the brightness adjustment information of the pixel point in the first image portion, i.e., the higher the brightness of the pixel point in the first image portion, the larger the brightness adjustment information of the pixel point.

[0044] Alternatively, the brightness adjustment information of the pixel point may be determined directly based on the brightness of the pixel point and the overall brightness of the first image portion, where the brightness of the pixel point in the first image portion is directly proportional to the brightness adjustment information of the pixel point in the first image portion, i.e., the greater the brightness of the pixel point in the first image portion, the greater the brightness adjustment information of the pixel point.

[0045] In the embodiments of the present disclosure, the greater the brightness of a pixel point in the first image portion, the greater the brightness adjustment information of the pixel point. Therefore, it can be ensured that the brightness adjustment information of a pixel point with greater brightness in the first image portion is greater than the brightness adjustment information of a pixel point with less brightness, and therefore the contrast of the adjusted first image portion can be ensured to be greater than the contrast of the original first image portion, thereby improving the quality of the first image portion, improving the quality of the entire image, and improving the user experience.

[0046] In another possible embodiment of the present disclosure, in step S101, a first image to be adjusted is obtained, and before that, The method can further include obtaining an initial image to be adjusted, and adjusting the brightness of the initial image according to the overall brightness of the initial image to obtain the first image.

[0047] The method for acquiring the initial image to be adjusted is not limited, but the initial image may be an image captured by a camera, an image downloaded from a network, an image stored locally, or the like.

[0048] The overall brightness of the initial image is information that can represent the brightness situation of the entire initial image. For example, the overall brightness of the initial image may be the brightness of each pixel point in the initial image, or further, for example, the overall brightness of the initial image may be the brightness value of the initial image.

[0049] When adjusting the brightness of the initial image according to the overall brightness of the initial image, if the overall brightness of the initial image is dark, the overall brightness of the initial image can be increased, and if the overall brightness of the initial image is bright, the overall brightness of the initial image can be decreased. By using the initial image after brightness adjustment as the first image and adjusting the brightness of the first image portion in the first image according to steps S101 to S104 in the embodiment of the present disclosure, first the overall brightness of the image is adjusted to an appropriate value, and then brightness adjustment is performed on local regions of the image, thereby improving the image quality of the first image portion and improving the image quality of other image portions in the image other than the first image portion, thereby ensuring the quality of the entire image and improving the user experience.

[0050] In another possible embodiment of the present disclosure, in step S102, the first image is divided into a plurality of image portions, specifically, The method may include dividing the first image into a plurality of image portions according to at least one of the brightness of each pixel point in the image, the position of the pixel point in the image, or an image recognition object.

[0051] In an embodiment of the present disclosure, the first image is divided according to the luminance value of each pixel point in the image. Specifically, the luminance values ​​are divided uniformly or unevenly into multiple luminance value intervals in advance, and then, according to the pre-divided luminance value areas, pixel points in the first image whose luminance values ​​belong to the same luminance value interval are divided together, thereby obtaining each image portion.

[0052] Of course, the first image may be divided according to the positions of the pixel points in the image, for example, dividing the pixel points on the left side of the first image into pixel points in one image part and dividing the pixel points on the right side of the first image into pixel points in another image part, i.e., dividing the first image into two image parts, left and right.

[0053] In addition, the first image may be divided according to the image recognition object, and the image recognition object may be an object such as a person, a vehicle, a tree, a forest, a white cloud, a beach, etc., and the image recognition object may include at least one object, for example, the image recognition object may be a person and a vehicle.

[0054] In another possible embodiment of the embodiment of the present disclosure, in step S104, the first image portion is replaced with the second image portion in the first image to obtain the second image, and specifically, the embodiment may include steps S1041 to S1044. Here, for ease of understanding and explanation, the following embodiment will be described with reference to FIG. 2, which is a schematic diagram of stitching each image portion according to the embodiment of the present disclosure. Specifically, In step S1041, the second image portion and each image portion other than the first image portion in the first image are set as each image waiting to be stitched.

[0055] For the first image portion in the first image, the first image portion after brightness adjustment, i.e., the second image portion, may be the image waiting to be stitched, and for any other image portion other than the first image portion in the first image, this other image portion may be the image waiting to be stitched.

[0056] In step S1042, images with different resolutions are obtained, including each stitching-ready image and an image obtained by downsampling each stitching-ready image.

[0057] At least one downsampling process is performed for each image to be stitched, and at least one downsampled image corresponding to each image to be stitched is obtained, and the downsampled image is an image obtained by downsampling the image to be stitched.

[0058] In an embodiment of the present disclosure, for each image to be stitched, at least one downsampling process is performed on the image to be stitched to obtain at least one downsampling image corresponding to the image to be stitched, where the number of downsampling processes corresponding to each image to be stitched is the same.

[0059] As shown in FIG. 2, M11 and M21 are two images to be stitched, and two downsampling processes are performed on M11 to obtain two downsampling images corresponding to M11, which are M12 and M13, respectively. Two downsampling processes are performed on M21 to obtain two downsampling images corresponding to M21, which are M22 and M23, respectively.

[0060] In step S1043, each image with the same resolution is stitched together to obtain a stitched image according to each resolution.

[0061] In the embodiment of the present disclosure, the resolution of each stitching-ready image is the same, and after performing the N-th downsampling process on each stitching-ready image, the resolution of the downsampled image corresponding to each stitching-ready image is also the same, where N is a positive integer.

[0062] As shown in FIG. 2, the resolution of the stitching-ready image M11 and the stitching-ready image M21 is the same, and the resolution of the downsampled image M12 and the downsampled image M22 obtained by performing one downsampling process on each of M11 and M21 is also the same, and the resolution of the downsampled image M13 and the downsampled image M23 obtained by performing two downsampling processes on each of M11 and M21 is also the same.

[0063] In practice, each stitching-ready image can be stitched with each image of the same resolution, to obtain at least two stitching-ready images, where each stitching image and the first image only differ in resolution and brightness.

[0064] Then, when each image waiting to be stitched corresponds to each image of the same resolution and is stitched, each image waiting to be stitched (each image waiting to be stitched has the same resolution), and downsampled images corresponding to each image waiting to be stitched that correspond to the same resolution may be stitched.

[0065] As shown in FIG. 2, the stitched image W1 can be obtained by stitching the image M11 waiting for stitching and the image M21 waiting for stitching, the stitched image W2 can be obtained by stitching the downsampled image M12 and the downsampled image M22, and the stitched image W3 can be obtained by stitching the downsampled image M13 and the downsampled image M23.

[0066] In step S1044, the stitched images corresponding to each resolution are fused to obtain a second image.

[0067] In the embodiment of the present disclosure, the stitched images corresponding to each resolution can be fused to obtain the second image, for example, the stitched image W1, the stitched image W2, and the stitched image W3 in FIG. 2 are fused to obtain the second image A.

[0068] Specifically, in step S1044, the stitching images corresponding to each resolution are merged to obtain a second image, which is specifically as follows: The stitched image with the lowest resolution may be determined as the current image, and a fused image may be obtained by performing a fusion operation, which may include setting the fused image as the current image and repeating the fusion operation until the resolution of the fused image is equal to the maximum resolution.

[0069] Here, the fusion operation may include:

[0070] The current image is upsampled to obtain an upsampled image, where the resolution of the upsampled image is equal to the resolution of an adjacent image of the current image, the adjacent image being a stitching image whose resolution is greater than that of the current image and whose resolution difference with the current image is the smallest, and the upsampled image and the adjacent image are fused to obtain a fused image.

[0071] 2, if the resolution of stitching image W1>the resolution of stitching image W2>the resolution of stitching image W3, the stitching image W3 with the lowest resolution is taken as the current image, and a fusion operation is performed to obtain a fused image F1. Because the resolution of the fused image F1 is smaller than the maximum resolution, the fused image F1 is taken as the current image again, and a fusion operation is performed to obtain a fused image F2. Because the resolution of the fused image F2 is equal to the maximum resolution, the fused image F2 is taken as the second image. That is, the fusion operation is repeated in the order of stitching image W3, stitching image W2, to stitching image W1, until the resolution of the fused image becomes equal to the maximum resolution, which is the resolution of stitching image W1.

[0072] Specifically, the stitched image W3 is taken as the current image, and the current image W3 is upsampled to obtain an upsampled image R1, the resolution of which is equal to the resolution of the stitched image W2, which is the adjacent image of the current image W3. The upsampled image R1 is fused with the adjacent image W2 of the current image W3 to obtain a fused image F1.

[0073] If the resolution of the fused image F1 is the same as that of the stitched image W2, but not equal to that of the stitched image W1, that is, the resolution of the fused image F1 is not equal to the maximum resolution, the fused image F1 is taken as the current image, and the current image F1 is upsampled to obtain an upsampled image R2, the resolution of which is equal to that of the stitched image W1, which is the adjacent image of the current image F1. The upsampled image R2 is fused with the adjacent image W1 of the current image F1 to obtain the fused image F2.

[0074] The resolution of the fused image F2 is equal to the resolution of the stitched image W1, that is, the resolution of the fused image F2 is equal to the maximum resolution, so the fused image F2 is the second image, that is, the second image F2.

[0075] The above specifically describes the image brightness adjustment method from the perspective of method steps, and the following will introduce the image brightness adjustment device from the perspective of virtual modules.

[0076] The embodiment of the present disclosure provides an image brightness adjusting device 30, which includes an acquiring module 301, a dividing module 302, an adjusting module 303 and a replacing module 304, as shown in FIG.

[0077] The acquisition module 301 acquires a first image awaiting adjustment.

[0078] The segmentation module 302 segments the first image into a plurality of image portions.

[0079] The adjustment module 303 determines a brightness adjustment policy for a first image portion of the plurality of image portions based on the brightness of the first image portion, and adjusts the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion.

[0080] The substitution module 304 obtains the second image by substituting the first image portion with the second image portion in the first image.

[0081] In another possible embodiment of the present disclosure, the adjustment module 303 is specifically used as follows.

[0082] Based on the overall brightness of the first image portion, brightness adjustment information of each pixel point in the first image portion is determined, and the brightness of each pixel point in the first image portion is adjusted according to the brightness adjustment information of each pixel point in the first image portion.

[0083] In another possible embodiment of the present disclosure, all pixel points in the first image portion correspond to the same brightness adjustment information.

[0084] In another possible embodiment of the present disclosure, when the adjustment module 303 determines the brightness adjustment information of each pixel point in the first image portion based on the overall brightness of the first image portion, it is specifically used as follows:

[0085] The brightness of each pixel point in the first image portion is obtained, and for any one pixel point in the first image portion, brightness adjustment information of the pixel point is determined based on the brightness of the pixel point and the overall brightness of the first image portion, which is directly proportional to the brightness of the pixel point.

[0086] In another possible embodiment of the present disclosure, the adjustment module is further used as follows.

[0087] An initial image waiting to be adjusted is acquired, and the brightness of the initial image is adjusted according to the overall brightness of the initial image to obtain a first image.

[0088] In another possible embodiment of the present disclosure, the division module 302 is specifically used as follows.

[0089] The first image is divided into a plurality of image portions according to at least one of the following:

[0090] The brightness of each pixel point in the image, the position of the pixel point in the image, and the image recognition target.

[0091] In another possible embodiment of the present disclosure, the substitution module 304 is specifically used as follows.

[0092] The second image portion and each other image portion in the first image other than the first image portion are set as each stitching-ready image, and images with different resolutions including each stitching-ready image and an image obtained by downsampling each stitching-ready image are obtained, and each image with the same resolution is stitched to obtain an image to be stitched corresponding to each resolution, and the stitching images corresponding to each resolution are merged to obtain a second image.

[0093] In another possible embodiment of the present disclosure, when the stitching images corresponding to each resolution are fused to obtain the second image, the replacement module 304 is specifically used as follows:

[0094] The stitched image with the lowest resolution is determined as the current image, and a fusion operation is performed to obtain a fused image, which is then re-established as the current image and the fusion operation is repeated until the resolution of the fused image is equal to the maximum resolution.

[0095] Here, the fusion operation may include:

[0096] The current image is upsampled to obtain an upsampled image, where the resolution of the upsampled image is equal to the resolution of an adjacent image of the current image, and the adjacent image is a stitching image whose resolution is greater than that of the current image and has the smallest difference from the resolution of the current image, and the upsampled image and the adjacent image are fused to obtain a fused image.

[0097] The image brightness adjusting device of this embodiment can implement the image brightness adjusting method shown in the method embodiment of the present disclosure, and the realization principle is the same, so it will be omitted here.

[0098] An embodiment of the present disclosure provides an image brightness adjustment device, which, compared with the prior art, first divides a first image into multiple image parts, and for a first image part in the multiple image parts, determines a brightness adjustment policy based on the brightness of the first image part, adjusts the brightness of the first image part according to the brightness adjustment policy to obtain a second image part, and then replaces the first image part with the second image part in the first image part to obtain the second image, thereby adjusting the brightness of the first image part based on the brightness of the first image part in the image, improving the image quality of the first image part, and ensuring that the image quality of other image parts in the image other than the first image part does not change, thereby ensuring the quality of the entire image and improving the user experience.

[0099] The image brightness adjustment device of the present disclosure has been introduced above from the perspective of a virtual module, and the electronic device of the present disclosure will be introduced below from the perspective of a real device.

[0100] Referring now to FIG. 4, FIG. 4 is a schematic diagram showing the configuration of an electronic device (e.g., a terminal device or a server) 400 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet PCs), PMPs (portable multimedia players), and in-car terminals (e.g., car navigation terminals), as well as fixed terminals such as digital televisions and desktop computers. The electronic device shown in FIG. 4 is an example, and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

[0101] The electronic device includes a memory and a processor, where the processor may be referred to as a processing unit 401 as shown below, and the memory may include at least one of a read-only memory (ROM) 402, a random access memory (RAM) 403, and a storage device 408 as shown below, specifically as follows:

[0102] 4, electronic device 400 may include a processing unit (e.g., a CPU, a graphics processor, etc.) 401 capable of performing various appropriate operations and processes in accordance with programs stored in read-only memory (ROM) 402 or programs loaded from storage device 408 into random access memory (RAM) 403. RAM 403 also stores various programs and data necessary for the operation of electronic device 400. Processing unit 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.

[0103] Typically, the I / O interface 405 is connected to input devices 406, including a touch panel, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 407, including a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 408, including a magnetic tape, hard disk, etc.; and communication devices 409. The communication devices 409 may enable the electronic device 400 to communicate wirelessly or via wires with other devices to exchange data. While FIG. 4 illustrates the electronic device 400 with various devices, it will be understood that this does not necessarily require the implementation or inclusion of all the devices shown. More or fewer devices may alternatively be implemented or included.

[0104] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program loaded on a non-transitory computer-readable medium, the computer program including program code for performing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 409, can be installed from the storage device 408, or can be installed from the ROM 402. When the computer program is executed by the processing device 401, the functions described above, which are specific to the methods of the embodiments of the present disclosure, are performed.

[0105] It should be noted that the computer-readable medium of the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium carrying computer-readable program code may be a data signal that may be included in baseband or propagated as part of a carrier wave. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0106] In some embodiments, clients and servers may communicate using any now known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), international networks (e.g., the Internet), end-to-end networks (e.g., ad hoc end-to-end networks), and any now known or later developed networks.

[0107] The computer-readable medium may be included in the electronic device, or may exist independently of the electronic device.

[0108] The computer-readable medium includes one or more programs, and when the one or more programs are executed by the electronic device, the electronic device acquires a first image to be adjusted, divides the first image into a plurality of image portions, determines a brightness adjustment policy for a first image portion of the plurality of image portions based on the brightness of the first image portion, adjusts the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion, and replaces the first image portion with the second image portion in the first image to obtain the second image portion.

[0109] Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages ​​or combinations thereof, including, but not limited to, object-oriented programming languages ​​such as Java®, Smalltalk®, C++, etc., as well as conventional process-based programming languages ​​such as “C” or similar programming languages.

[0110] The program code may run entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer, partially on the remote computer, or entirely on the remote computer or server. When referring to a remote computer, the remote computer may be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).

[0111] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. Each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, including one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions labeled in the blocks may occur in a different order than labeled in the accompanying drawings. For example, two blocks shown in succession may actually be executed substantially in parallel, or may even be executed in the reverse order depending on the functionality involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs the specified functions or operations, or in a combination of dedicated hardware and computer instructions.

[0112] The modules or units according to the embodiments of the present disclosure may be implemented in software or hardware, and the names of the modules or units may not necessarily limit the units themselves. For example, an acquisition module may be described as a "module for acquiring a first image to be adjusted."

[0113] The functions described herein may be performed, at least in part, by one or more hardware logic elements. For example, exemplary types of hardware logic elements that may be used include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), etc.

[0114] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or can store a program used by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of a machine-readable storage medium may include one or more line-based electrical connections, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0115] An embodiment of the present disclosure provides an electronic device including a memory, a processor, and at least one program stored in the memory and executed by the processor to achieve the following, compared to the prior art: first, divide a first image into a plurality of image portions, determine a brightness adjustment policy for a first image portion among the plurality of image portions based on the luminance of the first image portion, adjust the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion, and then replace the first image portion with the second image portion in the first image to obtain the second image, thereby adjusting the brightness of the first image portion based on the luminance of the first image portion in the image, improving the image quality of the first image portion, and ensuring that the image quality of other image portions in the image other than the first image portion is not changed, thereby ensuring the quality of the entire image and improving the user experience.

[0116] The above describes the electronic device of the present disclosure from the perspective of an entity device, and the following describes the computer-readable medium of the present disclosure from the perspective of a medium.

[0117] An embodiment of the present disclosure provides a computer-readable medium storing a computer program that, when running on a computer, enables the computer to execute corresponding content of the above-mentioned method embodiments. Compared with the prior art, the present disclosure provides the following: first, divide a first image into multiple image portions; for a first image portion of the multiple image portions, determine a brightness adjustment policy based on the luminance of the first image portion; adjust the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; and then replace the first image portion with the second image portion in the first image to obtain the second image, thereby adjusting the brightness of the first image portion based on the luminance of the first image portion in the image, thereby improving the image quality of the first image portion and ensuring that the image quality of other image portions in the image other than the first image portion is not changed, thereby ensuring the quality of the entire image and improving the user experience.

[0118] According to one or more embodiments of the present disclosure, acquiring a first image to be adjusted; Dividing the first image into a plurality of image portions; determining a brightness adjustment policy for a first image portion among the plurality of image portions based on the brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; and replacing the first image portion with the second image portion in the first image to obtain a second image.

[0119] According to one or more embodiments of the present disclosure, the step of determining a brightness adjustment policy based on the brightness of the first image portion and adjusting the brightness of the first image portion according to the brightness adjustment policy includes: determining brightness adjustment information for each pixel point in the first image portion according to the overall brightness of the first image portion; adjusting the brightness of each pixel point in the first image portion according to brightness adjustment information of each pixel point in the first image portion.

[0120] According to one or more embodiments of the present disclosure, all pixel points in the first image portion correspond to the same brightness adjustment information.

[0121] According to one or more embodiments of the present disclosure, the step of determining brightness adjustment information for each pixel point in the first image portion based on the overall brightness of the first image portion includes: obtaining a luminance of each pixel point in the first image portion; and determining, for any one pixel point of the first image portion, brightness adjustment information of the pixel point that is directly proportional to the brightness of the pixel point based on the brightness of the pixel point and the overall brightness of the first image portion.

[0122] According to one or more embodiments of the present disclosure, before the step of acquiring the first image to be adjusted, further obtaining an initial image to be adjusted; and adjusting the brightness of the initial image based on the overall brightness of the initial image to obtain the first image.

[0123] According to one or more embodiments of the present disclosure, the step of dividing the first image into a plurality of image portions comprises: The method includes dividing the first image into a plurality of image portions according to at least one of the brightness of each pixel point in the image, the position of the pixel point in the image, and an image recognition object.

[0124] According to one or more embodiments of the present disclosure, the step of obtaining a second image by replacing the first image portion with the second image portion in the first image includes: a step of setting the second image portion and each image portion other than the first image portion in the first image as each image to be stitched; Acquiring images with different resolutions, including each stitching-ready image and a downsampled image of each stitching-ready image; Stitching each image with the same resolution to obtain a stitched image corresponding to each resolution; and fusing the stitched images corresponding to each resolution to obtain a second image.

[0125] According to one or more embodiments of the present disclosure, the step of fusing the stitched images corresponding to each resolution to obtain a second image includes: determining the stitched image with the lowest resolution as the current image, and performing a fusion operation to obtain a fused image; and repeating the fusion operation until the resolution of the fused image is equal to the maximum resolution. The fusion operation is Upsampling the current image to obtain an upsampled image, wherein the resolution of the upsampled image is equal to the resolution of an adjacent image of the current image, and the adjacent image is a stitching image whose resolution is greater than the resolution of the current image and has the smallest difference from the resolution of the current image; fusing the upsampled image with the adjacent images to obtain the fused image.

[0126] According to one or more embodiments of the present disclosure, an acquisition module for acquiring a first image to be adjusted; a segmentation module for segmenting the first image into a plurality of image portions; an adjustment module for determining a brightness adjustment policy for a first image portion among the plurality of image portions based on a brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; a substitution module for substituting the first image portion with the second image portion in the first image to obtain the second image.

[0127] According to one or more embodiments of the present disclosure, the adjustment module is specifically used as follows.

[0128] Determine brightness adjustment information for each pixel point in the first image portion according to the overall brightness of the first image portion; The brightness of each pixel point in the first image portion is adjusted according to the brightness adjustment information of each pixel point in the first image portion.

[0129] According to one or more embodiments of the present disclosure, all pixel points in the first image portion correspond to the same brightness adjustment information.

[0130] According to one or more embodiments of the present disclosure, when the adjustment module determines the brightness adjustment information of each pixel point in the first image portion based on the overall brightness of the first image portion, it is specifically used as follows:

[0131] Obtaining a luminance of each pixel point in the first image portion; For any one pixel point of the first image portion, brightness adjustment information of the pixel point is determined based on the brightness of the pixel point and the overall brightness of the first image portion, the brightness adjustment information being directly proportional to the brightness of the pixel point.

[0132] According to one or more embodiments of the present disclosure, the adjustment module is further used as follows.

[0133] Get the initial image to be adjusted, The initial image is brightness-adjusted based on the overall brightness of the initial image to obtain the first image.

[0134] According to one or more embodiments of the present disclosure, the segmentation module is specifically used as follows:

[0135] The first image is divided into a plurality of image portions according to at least one of the brightness of each pixel point in the image, the position of the pixel point in the image, and an image recognition object.

[0136] According to one or more embodiments of the present disclosure, the substitution module is specifically used as follows:

[0137] The second image portion and each image portion other than the first image portion in the first image are set as images to be stitched, Acquire images with different resolutions, including each stitching-ready image and an image obtained by downsampling each stitching-ready image; Stitching the images with the same resolution to obtain stitched images corresponding to each resolution; The stitched images corresponding to each resolution are fused to obtain a second image.

[0138] According to one or more embodiments of the present disclosure, when the stitching images corresponding to each resolution are fused to obtain a second image, the replacement module is specifically used as follows:

[0139] Determine the stitched image with the lowest resolution as the current image, and perform a fusion operation to obtain a fused image; the fused image is made the current image and the fusion operation is repeated until the resolution of the fused image is equal to the maximum resolution; The fusion operation is Upsampling the current image to obtain an upsampled image, wherein the resolution of the upsampled image is equal to the resolution of an adjacent image of the current image, and the adjacent image is a stitching image whose resolution is greater than the resolution of the current image and has the smallest difference from the resolution of the current image; fusing the upsampled image with the adjacent images to obtain the fused image.

[0140] According to one or more embodiments of the present disclosure, one or more processors; Memory and and one or more applications stored in the memory and executed by the one or more processors, and configured to perform the method for adjusting image brightness as illustrated in the method embodiment.

[0141] According to one or more embodiments of the present disclosure, a computer-readable medium is provided having stored thereon a computer program that, when executed by a processor, implements a method for adjusting image brightness as set forth in the method embodiments.

[0142] The above description merely describes preferred embodiments of the present disclosure and the technical principles employed therein. Those skilled in the art should understand that the scope of the present disclosure is not limited to a technical solution consisting of a specific combination of the above-described technical features, but also includes other technical solutions formed by any combination of the above-described technical features or equivalent features without departing from the spirit of the above disclosure. For example, a technical solution formed by replacing the above-described features with technical features having similar functions (including but not limited to those disclosed in the present disclosure).

[0143] Additionally, although operations are depicted in a particular order, this should not be understood as requiring that these operations be performed in the particular order or sequence shown. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although certain specific implementation details are included above, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of a single embodiment may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may be implemented in multiple embodiments alone or in any suitable subcombination.

[0144] Although the present subject matter has been described in language specific to structural features and / or methodological logical operations, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. 1. A method for adjusting image brightness, the method comprising: acquiring a first image to be adjusted; Dividing the first image into a plurality of image portions; determining a brightness adjustment policy for a first image portion among the plurality of image portions based on the brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; and obtaining a second image by replacing the first image portion with the second image portion in the first image; determining a brightness adjustment policy based on the brightness of the first image portion; and adjusting the brightness of the first image portion according to the brightness adjustment policy; determining brightness adjustment information for each pixel point in the first image portion based on the overall brightness of the first image portion, where the brightness adjustment information for each pixel point is a brightness adjustment value for each pixel point; adjusting the luminance of each pixel point in the first image portion based on the luminance adjustment information of the pixel point in the first image portion, wherein adjusting the luminance of each pixel point in the first image portion based on the luminance adjustment information of the pixel point in the first image portion includes taking a sum obtained by adding a current luminance value of the pixel point and the luminance adjustment value of the pixel point as an adjusted luminance of the pixel point; determining brightness adjustment information for each pixel point in the first image portion according to the overall brightness of the first image portion, obtaining a luminance of each pixel point in the first image portion; and determining, for any one pixel point of the first image portion, brightness adjustment information of the pixel point, which is directly proportional to the brightness of the pixel point, based on the brightness of the pixel point and the overall brightness of the first image portion; method.

2. The method of claim 1 , wherein all pixel points in the first image portion correspond to the same brightness adjustment information.

3. before the step of acquiring the first image to be adjusted, obtaining an initial image to be adjusted; and adjusting the brightness of the initial image based on an overall brightness of the initial image to obtain the first image.

4. Dividing the first image into a plurality of image portions includes:

4. The method of claim 1, further comprising dividing the first image into a plurality of image portions according to at least one of the following: a brightness of each pixel point in the image; a position of the pixel point in the image; and an image recognition object.

5. obtaining a second image by replacing the first image portion with the second image portion in the first image, a step of setting the second image portion and each image portion other than the first image portion in the first image as each image to be stitched; Acquiring images with different resolutions, including each stitching-ready image and a downsampled image of each stitching-ready image; Stitching each image with the same resolution to obtain a stitched image corresponding to each resolution; and fusing the stitched images corresponding to each resolution to obtain a second image.

6. The step of fusing the stitched images corresponding to each resolution to obtain a second image includes: determining the stitched image with the lowest resolution as the current image, and performing a fusion operation to obtain a fused image; and repeating the fusion operation until the resolution of the fused image is equal to the maximum resolution. The fusion operation is Upsampling the current image to obtain an upsampled image, where the resolution of the upsampled image is equal to the resolution of an adjacent image of the current image, and the adjacent image is a stitching image whose resolution is greater than the resolution of the current image and has the smallest difference from the resolution of the current image; fusing the upsampled image with the adjacent images to obtain the fused image.

7. 1. An apparatus for adjusting image brightness, the apparatus comprising: an acquisition module for acquiring a first image to be adjusted; a segmentation module for segmenting the first image into a plurality of image portions; an adjustment module for determining a brightness adjustment policy for a first image portion among the plurality of image portions based on a brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy to obtain a second image portion; a replacement module for replacing the first image portion with the second image portion in the first image to obtain a second image; When determining the brightness adjustment policy for a first image portion among the plurality of image portions based on the brightness of the first image portion, and adjusting the brightness of the first image portion according to the brightness adjustment policy, the adjustment module: Determine brightness adjustment information of each pixel point in the first image portion according to the overall brightness of the first image portion, where the brightness adjustment information of each pixel point is a brightness adjustment value of each pixel point; and adjusting the brightness of each pixel point in the first image portion based on the brightness adjustment information of the pixel point in the first image portion; When adjusting the luminance of each pixel point in the first image portion based on the luminance adjustment information of the pixel point in the first image portion, the adjustment module is configured to take, as the adjusted luminance of the pixel point, a sum obtained by adding the current luminance value of the pixel point and the luminance adjustment value of the pixel point; When determining the brightness adjustment information of each pixel point in the first image portion based on the overall brightness of the first image portion, the adjustment module: Obtaining a luminance of each pixel point in the first image portion; For any one pixel point of the first image portion, determine brightness adjustment information of the pixel point, which is directly proportional to the brightness of the pixel point, based on the brightness of the pixel point and the overall brightness of the first image portion; Device.

8. An electronic device, the electronic device comprising: one or more processors; Memory and one or more applications stored in the memory and executed by one or more processors, the applications configured to perform the method of any one of claims 1 to 6; electronic equipment.

9. A computer-readable medium having a computer program stored thereon, A computer readable medium, the computer program being adapted to implement the method of any one of claims 1 to 6 when executed by a processor.

Citation Information

Patent Citations

  • Image processor and image processing method

    JP2007049441A

  • Image stitching method and apparatus, and storage medium

    JP2020533710A