CN117156283A - Image brightness adjusting method, device, equipment and storage medium - Google Patents

Image brightness adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN117156283A
CN117156283A CN202311032587.XA CN202311032587A CN117156283A CN 117156283 A CN117156283 A CN 117156283A CN 202311032587 A CN202311032587 A CN 202311032587A CN 117156283 A CN117156283 A CN 117156283A
Authority
CN
China
Prior art keywords
image
current
brightness
target camera
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311032587.XA
Other languages
Chinese (zh)
Inventor
刘强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202311032587.XA priority Critical patent/CN117156283A/en
Publication of CN117156283A publication Critical patent/CN117156283A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses an image brightness adjusting method, an image brightness adjusting device, image brightness adjusting equipment and a storage medium, and relates to the technical field of image processing. The method comprises the following steps: acquiring image information of a current environment image acquired by a target camera; determining a current environment brightness value according to the image information; and adjusting the brightness of the current image to be displayed according to the current environment brightness value. The method completes the adjustment of the brightness of the image by means of software and does not use an ambient light sensor as in the conventional technology. Therefore, the image brightness adjusting method provided by the application avoids the introduction of hardware, so that the hardware cost of the electronic equipment can be reduced. In addition, control of the brightness of the screen of the electronic device can be avoided, which can extend the lifetime of the screen of the electronic device.

Description

Image brightness adjusting method, device, equipment and storage medium
Technical Field
The present application relates to the field of image processing technology, and more particularly, to an image brightness adjustment method, an image brightness adjustment device, an electronic apparatus, and a computer-readable storage medium.
Background
Currently, mixed Reality (MR) devices, also known as video perspective devices, typically employ ambient light sensors to detect the brightness value of ambient light. Further, the MR device adjusts the brightness of the image to be displayed in dependence on the brightness value of the ambient light.
However, since an ambient light sensor needs to be provided on the MR device to complete the adjustment of the brightness of the image to be displayed, the MR device has a problem of high hardware cost.
Disclosure of Invention
It is an object of the present application to provide a new solution for image brightness adjustment.
According to a first aspect of the present application, there is provided an image brightness adjustment method comprising:
acquiring image information of a current environment image acquired by a target camera;
determining a current environment brightness value according to the image information;
and adjusting the brightness of the current image to be displayed according to the current environment brightness value.
Optionally, the determining the current ambient brightness value according to the image information includes:
determining a current exposure value of the target camera according to the image information;
and determining a current environment brightness value according to the current exposure value.
Optionally, the adjusting the brightness of the current image to be displayed according to the current ambient brightness value includes:
generating a brightness adjustment layer according to the current environment brightness value, wherein the brightness adjustment layer has the same size as the current image to be displayed;
and mixing the brightness adjustment image with the current image to be displayed for display.
Optionally, the generating a brightness adjustment layer according to the current ambient brightness value includes:
drawing a YUV format layer with the same size as the current image to be displayed;
setting any Y value in the YUV format layer as the current ambient brightness value, and setting any U value and any V value as 0 respectively.
Optionally, the acquiring the image information of the current environment image acquired by the target camera includes:
and acquiring image information of the current environment image acquired by the target camera according to the set time interval.
Optionally, the acquiring the image information of the current environmental image acquired by the target camera according to the set time interval includes:
according to the set time interval, controlling the starting of the target camera;
acquiring image information of a current environment image acquired by a target camera;
and under the condition that the image information of the current environment image acquired by the target camera is acquired, controlling the target camera to be closed.
According to a second aspect of the present application, there is provided an image brightness adjustment device comprising:
the acquisition module is used for acquiring the image information of the current environment image acquired by the target camera;
the determining module is used for determining a current environment brightness value according to the image information;
and the adjusting module is used for adjusting the brightness of the current image to be displayed according to the current environment brightness value.
Optionally, the determining module is specifically configured to:
determining a current exposure value of the target camera according to the image information;
and determining a current environment brightness value according to the current exposure value.
According to a third aspect of the present application, there is provided an electronic apparatus including the image brightness adjustment device as in any one of the second aspects; or,
the electronic device includes a memory, a processor, and a target camera;
the target camera is used for collecting a current environment image;
the memory is used for storing computer instructions;
the processor is configured to invoke the computer instructions from the memory to perform the image brightness adjustment method according to any of the first aspects.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the image brightness adjustment method according to any one of the first aspects.
The embodiment of the application provides an image brightness adjusting method, which comprises the following steps: acquiring image information of a current environment image acquired by a target camera; determining a current environment brightness value according to the image information; and adjusting the brightness of the current image to be displayed according to the current environment brightness value. The method completes the adjustment of the brightness of the image by means of software and does not use an ambient light sensor as in the conventional technology. Therefore, the image brightness adjusting method provided by the embodiment of the application avoids the introduction of hardware, so that the hardware cost of the electronic equipment can be reduced. In addition, control of the brightness of the screen of the electronic device can be avoided, which can extend the lifetime of the screen of the electronic device.
Other features of the present application and its advantages will become apparent from the following detailed description of exemplary embodiments of the application, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a block diagram one of a hardware configuration of an electronic device implementing an image brightness adjustment method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for implementing image brightness adjustment according to an embodiment of the present application;
fig. 3 is a second flowchart of a method for implementing image brightness adjustment according to an embodiment of the present application;
fig. 4 is a schematic structural view of an apparatus for adjusting brightness of an image according to an embodiment of the present application;
fig. 5 is a block diagram two of a hardware configuration of an electronic device for implementing an image brightness adjustment method according to an embodiment of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Fig. 1 is a block diagram of a hardware configuration of an electronic device for implementing an image brightness adjustment method according to an embodiment of the present application.
The electronic device 1000 is illustratively a headset device such as AR, MR, VR or XR. And the head-mounted device can be a split type head-mounted device or an integrated head-mounted device. The split-type head-mounted device is provided with a head-mounted display device (such as AR glasses or helmets) and an adaptive control device, and the control device is specifically a data processing unit of the head-mounted display device. The control device and the integrated head-mounted device are devices having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not particularly limited in this embodiment of the present application.
The electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and so forth. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 can perform wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display, a touch display, or the like. The input device 1600 may include, for example, a touch screen, keyboard, etc. A user may input/output voice information through the speaker 1700 and microphone 1800.
Although a plurality of devices are shown for the electronic apparatus 1000 in fig. 1, the present application may relate to only some of the devices, for example, the electronic apparatus 1000 relates to only the memory 1200, the processor 1100, and the display device 1500.
In an embodiment of the present application, the memory 1200 of the electronic device 1000 is used for storing instructions for controlling the processor 1100 to execute the image brightness adjustment method provided by the embodiment of the present application.
In the above description, the skilled person may design instructions according to the disclosed solution. How the instructions control the processor to operate is well known in the art and will not be described in detail here.
The embodiment of the application provides an image brightness adjusting method, as shown in fig. 2, which comprises the following steps of S2100-S2300:
s2100, acquiring image information of a current environment image acquired by a target camera.
In an embodiment of the application, the target camera is used for acquiring an environmental image. The target camera may be any camera on the electronic device that can capture an image of the environment. Further, the target camera is a camera that captures an image of the environment in the direction of the user's field of view of the electronic device. And recording the environment image acquired by the target camera at the current moment as the current environment image.
The image information of the current environment image includes at least parameter values including imaging parameters of the target camera at the time of capturing the current environment image. The parameter values of the shooting parameters of the target camera when the current environment image is acquired comprise: the aperture value of the aperture of the target camera, and the duration of the exposure time when the current environmental image is acquired. Of course, the image information of the current environment image may also include the current environment image itself.
In one embodiment of the application, the target camera is connected with an image signal processing (Image Signal Processing, ISP) unit, and the ISP unit can directly acquire the image information of the image currently acquired by the target camera. Based on this, the image information of the image currently acquired by the target camera can be read directly from the ISP.
S2200, determining a current environment brightness value according to the current environment image.
In the embodiment of the application, the camera automatically performs adaptive exposure according to the current environment brightness when acquiring the image. Therefore, according to the environment information of the current environment image acquired by the target camera, the brightness value of the current environment can be determined.
In one embodiment of the present application, the above S2200 may be implemented by the following S2210 and S2211:
s2210, determining the current exposure value of the target camera according to the image information.
In one embodiment of the present application, taking an example that the image information includes a parameter value of an imaging parameter of the target camera when the current environment image is acquired, the above S2210 can be implemented by the following formula:
the EV in the above formula represents the exposure value of the target camera, N is the aperture value of the target camera, and t is the duration of the exposure time when the target camera collects the current environmental image.
In one embodiment of the present application, the above S2210 may also be implemented by an ISP. Based on this, the current exposure value of the target camera is obtained by the ISP. The ISP sends the current exposure value of the target camera to a processor executing the image brightness adjusting method of the embodiment of the application under the condition that the current exposure value of the target camera is obtained.
S2211, determining a current environment brightness value according to the current exposure value.
In the embodiment of the application, a mapping relationship exists between an Exposure Value (EV) and an ambient Brightness Value (BV). On the basis, the current environment brightness value corresponding to the current exposure value can be determined through the mapping relation.
Of course, the above S2200 may be implemented in other ways. For example, the current ambient brightness value may be predicted from the image information of the current ambient image by means of deep learning. Specifically, a large number of training samples can be used for training the deep learning model, wherein one group of training samples comprises image information of an environment image and an actual brightness value of the environment corresponding to the environment image; and inputting the image information of the current environment image into a trained deep learning model, and taking the environment brightness value output by the deep learning model as the current environment brightness value.
S2300, adjusting the brightness value of the current image to be displayed according to the current environmental intensity value.
In the embodiment of the application, the current image to be displayed is at least one frame. Based on S2300 above, after the image to be displayed is displayed on the screen, the user can view a display image with an optimal visual effect.
In one embodiment of the present application, the specific implementation of S2300 may be: and adding a brightness channel in each pixel of the current image to be displayed, and setting the brightness value of the brightness channel as the current environment brightness value.
In another embodiment of the present application, the above S2300 may be implemented by the following S2310 and S2311:
s2310, generating a brightness adjustment layer according to the current environment brightness value, wherein the brightness adjustment layer has the same size as the current image to be displayed.
In one embodiment of the present application, the above-mentioned S2310 may be implemented by specifically using the following S2310-1 and S2310-2:
s2310-1, drawing a YUV format layer with the same size as the current image to be displayed.
It is understood that, before executing S2310-1 described above, the image brightness adjustment method provided by the embodiment of the present application further includes a step of obtaining a size of an image to be displayed.
S2310-2, setting any Y value in the YUV layer as the current ambient brightness value, and setting any U value and any V value as 0 respectively.
In the implementation of the present application, the Y value in each pixel in the YUV layer is set to the current ambient brightness value obtained based on S2200, and the U value and the V value in each pixel are set to 0, respectively. Thus, the YUV layer is an image that contains only current ambient brightness information.
Of course, other layers containing luminance information in formats (e.g., YCbCr) may be rendered based on the same principles as described above for S2310-1 and S2310-2.
S2311, mixing the brightness adjustment image with the current image to be displayed.
In the embodiment of the application, the brightness adjusting image and the current image to be displayed are mixed for display, which is equivalent to adding the brightness channel in the current image to be displayed, wherein the channel value of the brightness channel is the current environment brightness.
In the embodiment of the application, the specific implementation of the mixed display is that the mixed images are output to a display screen of the electronic equipment, and the display screen displays the mixed images. And, at the time of blending, the brightness adjustment images may be blended in such a manner that the brightness adjustment images are displayed on the upper layer of the current image to be displayed, or the brightness adjustment images may be displayed on the lower layer of the current image to be displayed.
In one embodiment of the present application, S2311 described above may be implemented by a display processor (Display Processor Unit, DPU). I.e. the DPU displays the luminance adjustment image mixed with the current image to be displayed.
In view of the foregoing, it can be seen that the embodiment of the present application accomplishes the adjustment of the brightness of the image by means of software, and does not use an ambient light sensor as in the conventional art. Therefore, the image brightness adjusting method provided by the embodiment of the application avoids the introduction of hardware, so that the hardware cost of the electronic equipment can be reduced.
In addition, on the basis of completing the adjustment of the brightness of the image in a software mode, the embodiment of the application can also avoid the control of the brightness of the screen of the electronic equipment, and can prolong the service life of the screen of the electronic equipment.
The embodiment of the application provides an image brightness adjusting method, which comprises the following steps: acquiring image information of a current environment image acquired by a target camera; determining a current environment brightness value according to the image information; and adjusting the brightness of the current image to be displayed according to the current environment brightness value. The method completes the adjustment of the brightness of the image by means of software and does not use an ambient light sensor as in the conventional technology. Therefore, the image brightness adjusting method provided by the embodiment of the application avoids the introduction of hardware, so that the hardware cost of the electronic equipment can be reduced. In addition, control of the brightness of the screen of the electronic device can be avoided, which can extend the lifetime of the screen of the electronic device.
In one embodiment of the present application, the above S2100 may be specifically implemented by the following S2110:
s2110, acquiring image information of a current environment image acquired by a target camera according to a set time interval.
In the embodiment of the present application, the set time interval may be set empirically, for example, 10min. The application is not limited in this regard.
Based on S2110 described above, a determination of the current ambient brightness value at a fixed period is achieved. This avoids the problem of large power consumption of the electronic device caused by determining the current ambient brightness value in real time.
It can be understood that, in the time period corresponding to the set time interval, the current ambient brightness value defaults to the current ambient brightness value determined newly. That is, the current ambient brightness value is a fixed one within a period corresponding to a set time interval.
In one embodiment of the present application, the above S2210 may be specifically the same as the following S2210-1 to S2210-3:
s2210-1, controlling the target camera to be started according to the set time interval.
S2210-2, acquiring image information of a current environment image acquired by a target camera.
S2210-3, when the image information of the current environment image acquired by the target camera is acquired, the target camera is controlled to be closed.
In the embodiment of the application, when the set time interval is reached, the target camera is controlled to be started. At this time, the target camera acquires the current environment image, and acquires the image information of the current ring image. And after the image information of the current environment image is acquired, the target camera is controlled to be closed. Thus, the target camera can be prevented from being started in real time. This may further reduce the power consumption of the electronic device.
On the basis of the above embodiment, taking an operating system provided in an electronic device as an Android system as an example, and combining with an Android Camera architecture, a flow chart of the image brightness adjustment method provided in the embodiment of the present application may also be as shown in fig. 3, including: the ISP acquires image information of a current environment image acquired by the target Camera Sensor from the target Camera Sensor; ISP determines the current exposure value EV of the target Camera Sensor according to the image information; ISP inputs the current exposure value EV to Camera application APP through Camera HAL and Camera Service in turn; the camera application determines a current ambient brightness value BV according to the current exposure value EV; the camera application APP draws a YUV format layer with the same size as the current image to be displayed, any Y value in the YUV format layer is set as the current environment brightness value, and any U value and any V value are respectively 0; the camera application APP inputs a YUV format image layer with a Y value as a current ambient brightness value and U and V as 0 into the DPU; the DPU receives the current images Layer0, layer1 and … … layerY to be displayed at the same time; the DPU mixes the brightness adjustment image with the current image to be displayed and then inputs the mixed brightness adjustment image and the current image to be displayed into the Display screen Display, and the Display screen Display displays the mixed brightness adjustment image and the current image to be displayed.
The present application also provides an image brightness adjustment device 400, as shown in fig. 4, the image brightness adjustment device 400 comprising:
an acquisition module 410, configured to acquire image information of a current environmental image acquired by a target camera;
a determining module 420, configured to determine a current ambient brightness value according to the image information;
and the adjusting module 430 is configured to adjust the brightness of the current image to be displayed according to the current ambient brightness value.
The embodiment of the application provides an image brightness adjusting device, which comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring image information of a current environment image acquired by a target camera; the determining module is used for determining the current environment brightness value according to the image information; and the adjusting module is used for adjusting the brightness of the current image to be displayed according to the current environment brightness value. The device accomplishes the adjustment of the brightness of the image by means of software, and without the aid of an ambient light sensor as in conventional techniques. Therefore, the image brightness adjusting device provided by the embodiment of the application avoids the introduction of hardware, so that the hardware cost of the electronic equipment can be reduced. In addition, control of the brightness of the screen of the electronic device can be avoided, which can extend the lifetime of the screen of the electronic device.
In one embodiment of the present application, the determining module 420 is specifically configured to determine, according to the environmental image information, a current exposure value of the target camera;
and determining a current environment brightness value according to the current exposure value.
In one embodiment of the application, the adjustment module 430 includes:
the generation unit is used for generating a brightness adjustment layer according to the current environment brightness value, wherein the brightness adjustment layer has the same size as the current image to be displayed;
and the display unit is used for mixing the brightness adjustment image with the current image to be displayed for display.
In one embodiment of the application, the generating unit is specifically configured to draw a YUV format layer with the same size as the current image to be displayed;
setting any Y value in the YUV format layer as the current ambient brightness value, and setting any U value and any V value as 0 respectively.
In one embodiment of the present application, the acquiring module 410 is specifically configured to acquire, at a set time interval, image information of a current environmental image acquired by the target camera.
In one embodiment of the present application, the obtaining module 410 is specifically configured to control the target camera to be turned on at a set time interval;
acquiring image information of a current environment image acquired by a target camera;
and under the condition that the image information of the current environment image acquired by the target camera is acquired, controlling the target camera to be closed.
The embodiment of the application also provides an electronic device 500, where the electronic device 500 includes any one of the image brightness adjustment devices 400 provided in the above device embodiments.
Alternatively, as shown in fig. 5, the electronic device 500 includes a memory 510, a processor 520, and a target camera 530;
wherein the target camera 530 is used for acquiring a current environment image;
the memory 510 is used for storing computer instructions;
the processor 520 is configured to invoke the computer instructions from the memory to perform the image brightness adjustment method according to any of the method embodiments described above.
Embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the image brightness adjustment method according to any of the above-described method embodiments.
The present application may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present application.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present application may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present application are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the application has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.

Claims (10)

1. An image brightness adjustment method, comprising:
acquiring image information of a current environment image acquired by a target camera;
determining a current environment brightness value according to the image information;
and adjusting the brightness of the current image to be displayed according to the current environment brightness value.
2. The method of claim 1, wherein determining a current ambient brightness value from the image information comprises:
determining a current exposure value of the target camera according to the image information;
and determining a current environment brightness value according to the current exposure value.
3. The method of claim 1, wherein said adjusting the brightness of the current image to be displayed according to the current ambient brightness value comprises:
generating a brightness adjustment layer according to the current environment brightness value, wherein the brightness adjustment layer has the same size as the current image to be displayed;
and mixing the brightness adjustment image with the current image to be displayed for display.
4. A method according to claim 3, wherein generating a brightness adjustment layer from the current ambient brightness value comprises:
drawing a YUV format layer with the same size as the current image to be displayed;
setting any Y value in the YUV format layer as the current ambient brightness value, and setting any U value and any V value as 0 respectively.
5. The method according to claim 1, wherein the acquiring the image information of the current environmental image acquired by the target camera includes:
and acquiring image information of the current environment image acquired by the target camera according to the set time interval.
6. The method according to claim 5, wherein the acquiring the image information of the current environmental image acquired by the target camera at the set time interval includes:
according to the set time interval, controlling the starting of the target camera;
acquiring image information of a current environment image acquired by a target camera;
and under the condition that the image information of the current environment image acquired by the target camera is acquired, controlling the target camera to be closed.
7. An image brightness adjustment device, characterized by comprising:
the acquisition module is used for acquiring the image information of the current environment image acquired by the target camera;
the determining module is used for determining a current environment brightness value according to the image information;
and the adjusting module is used for adjusting the brightness of the current image to be displayed according to the current environment brightness value.
8. The apparatus of claim 7, wherein the determining module is specifically configured to:
determining a current exposure value of the target camera according to the image information;
and determining a current environment brightness value according to the current exposure value.
9. An electronic device, characterized in that the electronic device comprises the image brightness adjustment device according to claim 7 or 8; or,
the electronic device includes a memory, a processor, and a target camera;
the target camera is used for collecting a current environment image;
the memory is used for storing computer instructions;
the processor is configured to invoke the computer instructions from the memory to perform the image brightness adjustment method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the image brightness adjustment method according to any one of claims 1-6.
CN202311032587.XA 2023-08-16 2023-08-16 Image brightness adjusting method, device, equipment and storage medium Pending CN117156283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311032587.XA CN117156283A (en) 2023-08-16 2023-08-16 Image brightness adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311032587.XA CN117156283A (en) 2023-08-16 2023-08-16 Image brightness adjusting method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117156283A true CN117156283A (en) 2023-12-01

Family

ID=88907151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311032587.XA Pending CN117156283A (en) 2023-08-16 2023-08-16 Image brightness adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117156283A (en)

Similar Documents

Publication Publication Date Title
US9019415B2 (en) Method and apparatus for dual camera shutter
US10809879B2 (en) Displaying simulated media content item enhancements on mobile devices
US9742995B2 (en) Receiver-controlled panoramic view video share
KR20200017072A (en) Electronic device and method for providing notification relative to image displayed via display and image stored in memory based on image analysis
WO2019091486A1 (en) Photographing processing method and device, terminal, and storage medium
US11470294B2 (en) Method, device, and storage medium for converting image from raw format to RGB format
US20160112630A1 (en) Camera capture recommendation for applications
AU2013345516B2 (en) Photographing apparatus and method for controlling thereof
TW202027033A (en) Image processing method and apparatus, electronic device and storage medium
CN104010124A (en) Method and device for displaying filter effect, and mobile terminal
KR20190051594A (en) Electronic device for recording image using a plurality of cameras and method of operating the same
CN114640783B (en) Photographing method and related equipment
WO2018184260A1 (en) Correcting method and device for document image
CN108986117B (en) Video image segmentation method and device
EP4203459A1 (en) Method, apparatus, and device for determining exposure parameter of head-mounted device
KR20210105975A (en) Use of scene changes to trigger automatic image capture
KR102339223B1 (en) Electronic device and method for providing contents related camera
CN117156283A (en) Image brightness adjusting method, device, equipment and storage medium
JP2017191144A (en) Display control apparatus, control method thereof, and program
JP2014085716A (en) Image editing processing device and computer program
CN115396740B (en) Panoramic video playing method and device, electronic equipment and readable storage medium
CN117499609A (en) Media content color adjustment method, device, equipment, storage medium and product
CN115599217A (en) Display control method, display control device, head-mounted display equipment and medium
KR20100001269A (en) Method and apparatus for compensating an image
JP2018194818A (en) Display device and display method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination