CN115002357B - Optical signal processing method, electronic device, and storage medium - Google Patents

Optical signal processing method, electronic device, and storage medium Download PDF

Info

Publication number
CN115002357B
CN115002357B CN202210888847.2A CN202210888847A CN115002357B CN 115002357 B CN115002357 B CN 115002357B CN 202210888847 A CN202210888847 A CN 202210888847A CN 115002357 B CN115002357 B CN 115002357B
Authority
CN
China
Prior art keywords
brightness
processing
electric signal
signal
environment
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.)
Active
Application number
CN202210888847.2A
Other languages
Chinese (zh)
Other versions
CN115002357A (en
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.)
LCFC Hefei Electronics Technology Co Ltd
Original Assignee
LCFC Hefei Electronics Technology 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 LCFC Hefei Electronics Technology Co Ltd filed Critical LCFC Hefei Electronics Technology Co Ltd
Priority to CN202210888847.2A priority Critical patent/CN115002357B/en
Publication of CN115002357A publication Critical patent/CN115002357A/en
Application granted granted Critical
Publication of CN115002357B publication Critical patent/CN115002357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase

Abstract

The application discloses a processing method of optical signals, electronic equipment and a storage medium, wherein the method is applied to the electronic equipment and comprises the following steps: acquiring an optical signal of a shooting object; converting the acquired optical signal into an electrical signal; carrying out normalization processing on the electric signal so that the electric signal simultaneously meets the requirements of image processing and brightness processing; when a first instruction for carrying out image processing on the electric signal is received, carrying out image processing on the electric signal to generate a target image of the shooting object; and when a second instruction of brightness processing on the electric signal is received, the brightness processing is carried out on the electric signal to generate brightness data so as to determine the brightness of the environment. The method uses a separate module to collect optical signals, converts the optical signals into electric signals, and then sends the electric signals to an image processing module and a brightness processing module for image processing and brightness processing.

Description

Optical signal processing method, electronic device, and storage medium
Technical Field
The present disclosure relates to the field of optical signal processing, and in particular, to a method for processing an optical signal, an electronic device, and a storage medium.
Background
On present electronic equipment such as cell-phone and notebook computer, can embed light sensor and camera module respectively usually, the camera module realizes the function of shooing, and light sensor realizes ambient brightness response function, in order to realize these two functions, need settle two modules simultaneously, and electronic equipment's structural a plurality of holes of need opening come daylighting, to electronic equipment's overall configuration, the restriction is more.
Disclosure of Invention
In order to achieve the above object, embodiments of the present application provide a method for processing an optical signal, an electronic device, and a storage medium, which are capable of collecting an optical signal by using a separate module, converting the optical signal into an electrical signal, and then sending the electrical signal to an image processing module and a brightness processing module for image processing and brightness processing.
In order to solve the technical problem, the embodiment of the application adopts the following technical scheme: a method for processing optical signals, which is applied to electronic equipment, comprises the following steps:
acquiring an optical signal of a shooting object;
converting the acquired optical signal into an electrical signal;
carrying out normalization processing on the electric signal so that the electric signal simultaneously meets the requirements of image processing and brightness processing;
when a first instruction for carrying out image processing on the electric signal is received, carrying out image processing on the electric signal to generate a target image of the shooting object;
and when a second instruction of brightness processing on the electric signal is received, the brightness processing is carried out on the electric signal to generate brightness data so as to determine the brightness of the environment.
Preferably, the normalizing the electric signal to make the electric signal meet the requirements of image processing and brightness processing simultaneously includes:
carrying out amplification processing and analog-to-digital conversion processing on the electric signal; and/or
And clearing the interference current in the electric signal.
Preferably, the image processing the electric signal to generate a target image of the photographic subject when receiving a first instruction to perform image processing on the electric signal includes:
imaging and converting the electrical signal after the normalization processing to generate an image data packet;
and sending the image data packet to a system end.
Preferably, when receiving a second instruction for performing brightness processing on the electrical signal, performing brightness processing on the electrical signal to generate brightness data to determine brightness of an environment includes:
calculating the average value of the electric signal data of the pixels contained in the electric signal after the normalization processing;
and comparing the calculation result with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment.
Preferably, the calculating of the average value of the electrical signal data of the pixels included in the electrical signal after the normalization processing includes:
acquiring the electronic number of pixels contained in the electric signal under the current brightness environment;
summing the number of electrons of the pixel;
and dividing the addition calculation result by the number of pixels to obtain the average value of the electric signal data in the current brightness environment.
Preferably, the method further comprises:
and comparing the average value of the electrical signal data under the current brightness environment with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment when the average value of the electrical signal data is matched with the current value corresponding to the preset brightness.
Preferably, before acquiring the optical signal of the photographic subject, the method further includes:
detecting whether a host control end has an image requirement and/or a test environment brightness requirement, and acquiring a light signal of a shooting object when the host control end is determined to have the image requirement and/or the test environment brightness requirement.
An object of an embodiment of the present application is to provide an electronic device, including:
the optical signal sensing module is configured to acquire an optical signal of a shooting object, convert the acquired optical signal into an electric signal and perform standardized processing on the electric signal so as to enable the electric signal to simultaneously meet the requirements of image processing and brightness processing;
an image processing module configured to perform image processing on the electric signal and generate a target image of the photographic subject when receiving a first instruction to perform image processing on the electric signal;
and the brightness processing module is configured to perform brightness processing on the electric signal to generate brightness data so as to determine the brightness of the environment when receiving a second instruction of performing brightness processing on the electric signal.
An object of an embodiment of the present application is to provide an electronic device, which includes a memory and a processor, where the memory stores an executable program, and the processor executes the executable program to implement the steps of the method described above.
It is an object of embodiments of the present application to provide a storage medium, which is a computer-readable medium, storing a computer program, which when executed by a processor performs the steps of the above-mentioned method.
Compared with the prior art, the beneficial effects of the embodiment of the application lie in that: the processing method of the optical signal can utilize the independent optical signal sensing module to collect the optical signal, then carry out conversion processing on the optical signal, and after converting the optical signal into the electric signal, send the electric signal to the image processing module and the brightness processing module to carry out image processing and brightness processing. By using the optical signal processing method, the optical signal acquisition functions of the light sensor and the camera module can be realized only by arranging one photoelectric sensing device, the acquired optical signal has higher quality, and more accurate environment brightness information can be obtained. The electronic equipment can save the space of a module, glass openings, a cable and the like are reduced, the electronic equipment can be designed to be more compact, and the generation cost is reduced.
Drawings
Fig. 1 is a flowchart of a method for processing an optical signal according to an embodiment of the present application;
FIG. 2 is a flowchart of one embodiment of step S500 in FIG. 1 according to an embodiment of the present application;
FIG. 3 is a flowchart of one embodiment of step S510 in FIG. 2 according to an embodiment of the present application;
FIG. 4 is a flowchart of an embodiment of a method for processing an optical signal according to the present disclosure;
FIG. 5 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a block diagram of another electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above, and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It is also to be understood that although the present application has been described with reference to some specific examples, those skilled in the art are able to ascertain many other equivalents to the practice of the present application.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
The embodiment of the application provides a method for processing an optical signal, which is applied to electronic equipment and comprises the following steps:
s100: an optical signal of a photographic subject is acquired.
In the present embodiment, as shown in fig. 1 and 4, a single optical signal sensing module is used to acquire an optical signal, for example, an optical sensing device is used to acquire an optical signal, and since the optical signal is substantially collected by a common optical sensor and a camera module, the optical signal sensing module in the present embodiment is disposed on a camera to collect an optical signal. For example, when a picture is taken, the light signal of the picture is acquired to obtain imaging data; or collect the light signal of the indoor light, in order to adjust the luminance according to the light signal collected. The optical signal sensing module of this embodiment has the optical signal collection function of light sensor and camera module simultaneously, and the formation of image is more accurate, and the optical signal quality of gathering is higher, can obtain more accurate ambient brightness information.
S200: the acquired optical signal is converted into an electrical signal.
In the present embodiment, as shown in fig. 1 and 4, after the optical signal is acquired by using a separate optical signal sensing module, the optical signal sensing module converts the acquired optical signal into an electrical signal. Specifically, since the general optical sensor and the camera module respectively convert the collected optical signals into electrical signals after collecting the optical signals, the optical signal sensing module in this embodiment is disposed on one camera and has the optical signal conversion function of the optical sensor and the camera module. For example, after a picture is taken, an optical signal of the acquired picture is converted into an electrical signal; or converting the collected light signal of the indoor light into an electric signal.
S300: and carrying out normalization processing on the electric signal so that the electric signal simultaneously meets the requirements of image processing and brightness processing.
In this embodiment, as shown in fig. 1 and 4, after the acquired optical signal is converted into an electrical signal by using a separate optical signal sensing module, since the electrical signal needs to be sent to the image processing module and the brightness processing module to perform image processing and brightness processing, respectively, the optical signal sensing module performs normalization processing on the electrical signal, so that the electrical signal meets the requirements of both image processing and brightness processing.
S400: and when a first instruction for carrying out image processing on the electric signal is received, carrying out image processing on the electric signal to generate a target image of the shooting object.
In this embodiment, as shown in fig. 1 and 4, after the optical signal sensing module normalizes the electrical signal, the optical signal sensing module sends the electrical signal to two different modules, one of which is the image processing module. When the image processing module receives a first instruction for performing image processing on the electrical signal, that is, when the host at the back end has a requirement for image processing, the image processing module performs image processing on the received electrical signal. For example, pixels included in the electric signal are subjected to division and scanning processing, and then the processed pixels are sequentially output to generate image data to form a target image of a photographic subject.
S500: and when a second instruction for performing brightness processing on the electric signal is received, performing brightness processing on the electric signal to generate brightness data so as to determine the brightness of the environment.
In this embodiment, as shown in fig. 1 and 4, after the optical signal sensing module normalizes the electrical signal, the optical signal sensing module sends the electrical signal to two different modules, one of which is a brightness processing module. When the brightness processing module receives a second instruction for performing brightness processing on the electrical signal, that is, when the host at the rear end has a requirement for brightness processing, the brightness processing module performs brightness processing on the received electrical signal. For example, the current values corresponding to the pixels included in the electrical signal are calculated, and then corresponding luminance data is obtained according to the calculation result to determine the luminance of the environment.
The optical signal processing method of this embodiment can utilize a single optical signal sensing module to collect an optical signal, then perform conversion processing on the optical signal, and after converting the optical signal into an electrical signal, send the electrical signal to the image processing module and the brightness processing module to perform image processing and brightness processing. By using the method for processing the optical signal of the embodiment, the optical signal acquisition functions of the light sensor and the camera module can be realized only by arranging one photoelectric sensing device, and the acquired optical signal has higher quality. The optical signal sensing module in this embodiment can process the electrical signal, so that the electrical signal simultaneously meets the requirements of image processing and brightness processing, and the image processing module and the brightness processing module can respectively perform image processing and brightness processing on the electrical signal as required to generate a target image and determine the brightness of an environment.
In an embodiment of the present application, the normalizing the electrical signal to make the electrical signal meet requirements of image processing and brightness processing at the same time includes:
carrying out amplification processing and analog-to-digital conversion processing on the electric signal; and/or
And clearing the interference current in the electric signal.
In this embodiment, as shown in fig. 4, since the electrical signal needs to be sent to the image processing module and the brightness processing module to perform image processing and brightness processing, respectively, the optical signal sensing module performs normalization processing on the electrical signal, so that the electrical signal simultaneously meets the requirements of image processing and brightness processing. The method for performing normalization processing on the electrical signal specifically includes: amplifying the electric signal and performing analog-to-digital conversion; and/or to clean up disturbing currents in the electrical signal. Specifically, the electrical signal data is transmitted to a back-end circuit for amplification processing and analog-to-digital conversion processing, interference current in the electrical signal is eliminated, and dark current and noise filtering are removed. After the above operations, the processed electrical signal will meet the requirements of image processing and brightness processing, and then the optical signal sensing module will send the processed electrical signal to the image processing module and the brightness processing module through two paths to perform image processing and brightness processing, respectively.
In an embodiment of the application, the image processing the electric signal to generate a target image of the photographic object when receiving a first instruction of image processing the electric signal includes:
imaging and converting the electrical signal after the normalization processing to generate an image data packet;
and sending the image data packet to a system end.
In this embodiment, as shown in fig. 4, when the image processing module receives a first instruction for performing image processing on the electrical signal, that is, when the host at the back end has a requirement for image processing, the image processing module performs image processing on the received electrical signal. For example, the image processing module performs a division process on pixels included in the electric signal into small-sized pixel units, and then sequentially performs a scanning process on the processed pixels, for example, a scanning process is performed on the pixels in a left-to-right and a top-to-bottom manner. And after the scanning is finished, outputting the processed pixels in sequence to finish imaging conversion and generate an image data packet, and after the image data packet is sent to a system end by the image processing module, forming a target image of the shooting object.
In an embodiment of the application, when receiving a second instruction to perform brightness processing on the electrical signal, the performing brightness processing on the electrical signal to generate brightness data to determine brightness of an environment includes:
s510: calculating the average value of the electric signal data of the pixels contained in the electric signal after the normalization processing;
s520: and comparing the calculation result with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment.
In this embodiment, as shown in fig. 2 and 4, when the brightness processing module receives the second instruction for performing brightness processing on the electrical signal, that is, when the host at the back end has a requirement for brightness processing, the brightness processing module performs brightness processing on the received electrical signal. The brightness processing module calculates current values corresponding to pixels included in the electric signals, and then obtains corresponding brightness data according to the calculation result to determine the brightness of the environment. The brightness processing module firstly carries out electric signal data average value calculation on pixels contained in the electric signals after the normalization processing, and then compares the calculation result with a current value corresponding to preset brightness to determine the brightness corresponding to the current environment. Specifically, when the host at the back end has a requirement for brightness processing, and the brightness processing module performs brightness processing on the received electrical signal, the brightness corresponding to the current environment can be determined by using a preset brightness and induced current value correspondence table. This table was made as follows: the electronic number of each pixel corresponding to the electric signal under any brightness environment is measured by using the optical signal sensing module, the data of all the pixels are superposed, then the data are divided by the number of the pixels, the average value of the electric signal data is obtained, and the average value forms a corresponding relation with the environment brightness, namely, the brightness under different environments corresponds to the average value of the electric signal data of the pixels one by one. And under the current brightness, calculating the average value of the electric signal data of pixels contained in the electric signal after the normalization processing, and comparing the calculation result with a current value corresponding to the preset brightness to determine the brightness corresponding to the current environment.
In an embodiment of the application, the performing an electric signal data average calculation on the pixels included in the normalized electric signal includes:
s5101: acquiring the electronic number of pixels contained in the electric signal under the current brightness environment;
s5102: summing the number of electrons of the pixel;
s5103: and dividing the addition calculation result by the number of pixels to obtain the average value of the electric signal data in the current brightness environment.
In the present embodiment, as shown in fig. 3 and 4, when the host at the back end has a requirement for luminance processing, the luminance processing module performs luminance processing on the electrical signal. The brightness processing module calculates the average value of the electric signal data of the pixels contained in the electric signal after the standardized processing, firstly obtains the electronic number of each pixel contained in the electric signal under the current brightness environment, then sums the electronic numbers of each pixel contained in the electric signal to obtain a sum calculation result, and divides the sum calculation result by the number of the pixels to obtain the average value of the electric signal data under the current brightness environment. In a specific calculation, in order to reduce the amount of calculation, decimation calculation may be performed on pixels included in the electric signal, for example, every few pixels, a value is decimated, and then summation calculation is performed.
In one embodiment of the present application, the method further comprises: and comparing the average value of the electrical signal data under the current brightness environment with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment when the average value of the electrical signal data is matched with the current value corresponding to the preset brightness.
In this embodiment, after the brightness processing module calculates the average value of the electrical signal data in the current brightness environment, the average value of the electrical signal data in the current brightness environment is compared with the current value corresponding to the preset brightness. Specifically, the calculated average value of the electrical signal data in the current brightness environment is compared with a current value corresponding to the preset brightness, the current value corresponding to the preset brightness is obtained from a corresponding table of the preset brightness and the induced current value, and the current value corresponding to the preset brightness is a value measured in different brightness environments to represent the brightness in different environments. Because the brightness under different environments corresponds to the average value of the electrical signal data of the pixel one by one, when the average value of the electrical signal data is matched with the current value corresponding to the preset brightness, the brightness corresponding to the current environment can be determined according to the brightness represented by the current value corresponding to the matched preset brightness.
In one embodiment of the present application, before acquiring the optical signal of the photographic subject, the method further includes:
whether the host control end has image requirements and/or test environment brightness requirements is detected, and when the host control end is determined to have the image requirements and/or the test environment brightness requirements, light signals of a shot object are obtained.
In this embodiment, as shown in fig. 4, before acquiring the optical signal of the photographic subject, the host at the back end first issues a requirement detection to detect whether the host control end has an image requirement and/or a test environment brightness requirement, and when the host at the back end determines that the host control end has the image requirement and/or the test environment brightness requirement, the optical signal of the photographic subject is acquired. Specifically, when the host at the back end detects that the host control end has an image requirement, the subsequent processing of the electric signal needs to be performed by the image processing module for image processing; when the host computer at the rear end detects that the host computer control end has the test environment brightness requirement, the subsequent processing of the electric signal needs to be performed brightness processing through the brightness processing module; when the host computer at the back end detects that the host computer control end has image requirements and test environment brightness requirements, the subsequent processing of the electric signals needs to be carried out through the image processing module and the brightness processing module so as to carry out image processing and brightness processing.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, as shown in fig. 5, including:
an optical signal sensing module configured to acquire an optical signal of a photographic subject, convert the acquired optical signal into an electrical signal, and normalize the electrical signal so that the electrical signal simultaneously meets requirements of image processing and brightness processing;
an image processing module configured to perform image processing on the electric signal and generate a target image of the photographic subject when receiving a first instruction to perform image processing on the electric signal;
and the brightness processing module is configured to perform brightness processing on the electric signal to generate brightness data so as to determine the brightness of the environment when receiving a second instruction for performing brightness processing on the electric signal.
Based on the same inventive concept, an electronic device is further provided in the embodiments of the present application, as shown in fig. 6, and includes a memory and a processor, where the memory stores an executable program, and the processor executes the executable program to implement the steps of the method.
Embodiments of the present application provide a storage medium, which is a computer-readable medium and stores a computer program, where the computer program is executed by a processor to implement the method provided in any embodiment of the present application, including the method steps described above.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes. Optionally, in this embodiment, the processor executes the method steps described in the above embodiments according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again. It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (9)

1. A method for processing an optical signal, applied to an electronic device, the method comprising:
acquiring an optical signal of a shooting object;
converting the acquired optical signal into an electrical signal;
carrying out normalization processing on the electric signal so that the electric signal simultaneously meets the requirements of image processing and brightness processing;
when a first instruction for carrying out image processing on the electric signal is received, carrying out image processing on the electric signal to generate a target image of the shooting object;
when a second instruction for performing brightness processing on the electric signal is received, performing brightness processing on the electric signal to generate brightness data so as to determine the brightness of the environment;
when receiving a second instruction for performing brightness processing on the electric signal, performing brightness processing on the electric signal to generate brightness data to determine the brightness of the environment, including:
calculating the average value of the electric signal data of the pixels contained in the electric signal after the normalization processing;
and comparing the calculation result with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment.
2. The method of claim 1, wherein the normalizing the electrical signal to conform the electrical signal to image processing and brightness processing simultaneously comprises:
carrying out amplification processing and analog-to-digital conversion processing on the electric signal; and/or
And clearing the interference current in the electric signal.
3. The method according to claim 1, wherein the image processing the electric signal to generate a target image of the photographic object when receiving a first instruction to image process the electric signal comprises:
imaging and converting the electrical signal after the normalization processing to generate an image data packet;
and sending the image data packet to a system end.
4. The method according to claim 1, wherein the performing an electric signal data average calculation on the pixels included in the normalized electric signal comprises:
acquiring the electronic number of pixels contained in the electric signal under the current brightness environment;
summing the number of electrons of the pixel;
and dividing the addition calculation result by the number of pixels to obtain the average value of the electric signal data in the current brightness environment.
5. The method of claim 1, further comprising:
and comparing the average value of the electrical signal data under the current brightness environment with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment when the average value of the electrical signal data is matched with the current value corresponding to the preset brightness.
6. The method according to claim 1, wherein before acquiring the optical signal of the photographic subject, the method further comprises:
detecting whether a host control end has an image requirement and/or a test environment brightness requirement, and acquiring a light signal of a shooting object when the host control end is determined to have the image requirement and/or the test environment brightness requirement.
7. An electronic device, comprising:
an optical signal sensing module configured to acquire an optical signal of a photographic subject, convert the acquired optical signal into an electrical signal, and normalize the electrical signal so that the electrical signal simultaneously meets requirements of image processing and brightness processing;
an image processing module configured to perform image processing on the electric signal and generate a target image of the photographic subject when receiving a first instruction to perform image processing on the electric signal;
a brightness processing module configured to perform brightness processing on the electrical signal to generate brightness data to determine brightness of an environment when receiving a second instruction to perform brightness processing on the electrical signal;
the brightness processing module is further configured to perform electric signal data average calculation on pixels included in the electric signal after the normalization processing;
and comparing the calculation result with a current value corresponding to preset brightness, and determining the brightness corresponding to the current environment.
8. An electronic device comprising a memory having an executable program stored therein and a processor executing the executable program to implement the steps of the method of any one of claims 1 to 6.
9. A storage medium, characterized in that the storage medium is a computer-readable medium, in which a computer program is stored which, when being executed by a processor, performs the steps of the method according to one of the claims 1 to 6.
CN202210888847.2A 2022-07-27 2022-07-27 Optical signal processing method, electronic device, and storage medium Active CN115002357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210888847.2A CN115002357B (en) 2022-07-27 2022-07-27 Optical signal processing method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210888847.2A CN115002357B (en) 2022-07-27 2022-07-27 Optical signal processing method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN115002357A CN115002357A (en) 2022-09-02
CN115002357B true CN115002357B (en) 2022-11-18

Family

ID=83021038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210888847.2A Active CN115002357B (en) 2022-07-27 2022-07-27 Optical signal processing method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN115002357B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336470A (en) * 2006-06-19 2007-12-27 Sony Corp Imaging apparatus and imaging method
JP2008148180A (en) * 2006-12-13 2008-06-26 Sony Corp Imaging apparatus, image processing device and method, and computer program
CN108495056A (en) * 2018-06-12 2018-09-04 努比亚技术有限公司 Photographic method, mobile terminal and computer readable storage medium
CN110602380B (en) * 2019-08-15 2022-11-04 深圳壹账通智能科技有限公司 Video shooting method, device, equipment and medium based on ambient light detection
CN112399682B (en) * 2020-10-27 2022-07-08 江汉大学 Light source control method and device for automatically identifying and adjusting ambient brightness
CN113556477B (en) * 2021-09-23 2021-12-14 南昌龙旗信息技术有限公司 Ambient brightness determination method and device, medium and camera

Also Published As

Publication number Publication date
CN115002357A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
US8199229B2 (en) Color filter, image processing apparatus, image processing method, image-capture apparatus, image-capture method, program and recording medium
JP5744437B2 (en) TRACKING DEVICE, TRACKING METHOD, AND PROGRAM
CN108737815B (en) Quality detection method and system of image sensor
CN110766621A (en) Image processing method, image processing device, storage medium and electronic equipment
US8861843B2 (en) Image processing apparatus, image processing method and program
CN108156452A (en) A kind of method, apparatus of detection sensor, equipment and storage medium
US7936948B2 (en) System and method for merging differently focused images
EP0855678B1 (en) Method and apparatus for sensing an image
CN113362253B (en) Image shading correction method, system and device
CN110188684B (en) Face recognition device and method
CN115002357B (en) Optical signal processing method, electronic device, and storage medium
CN107550505A (en) X-ray detector, x-ray camera system and x-ray image capture method
CN110740266A (en) Image frame selection method and device, storage medium and electronic equipment
CN113639881A (en) Color temperature testing method and device, computer readable medium and electronic equipment
US7983867B2 (en) Multi-gain data processing
CN116129102A (en) Water meter identification method and related device based on improved image processing algorithm
CN114041769A (en) Heart rate measuring method and device, electronic equipment and computer readable storage medium
JP3496563B2 (en) Object detection device, object detection method, and recording medium recording object detection program
JP2021093694A (en) Information processing apparatus and method for controlling the same
CN117041531B (en) Mobile phone camera focusing detection method and system based on image quality evaluation
CN112087622B (en) TDI-CCD camera reflectivity resolution index simulation test method and system
CN112862798B (en) Method and device for detecting imaging condition of black-and-white camera
CN117690552A (en) Image processing method, cooking device, image processing system, and readable storage medium
CN114663955A (en) Face recognition method and device
JP3914013B2 (en) Temperature distribution measuring system, temperature distribution measuring apparatus and 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
GR01 Patent grant
GR01 Patent grant