WO2019000848A1 - 一种控制方法及处理装置 - Google Patents

一种控制方法及处理装置 Download PDF

Info

Publication number
WO2019000848A1
WO2019000848A1 PCT/CN2017/115226 CN2017115226W WO2019000848A1 WO 2019000848 A1 WO2019000848 A1 WO 2019000848A1 CN 2017115226 W CN2017115226 W CN 2017115226W WO 2019000848 A1 WO2019000848 A1 WO 2019000848A1
Authority
WO
WIPO (PCT)
Prior art keywords
time information
image
output
gate circuit
flash
Prior art date
Application number
PCT/CN2017/115226
Other languages
English (en)
French (fr)
Inventor
陈杰峰
Original Assignee
联想(北京)有限公司
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 联想(北京)有限公司 filed Critical 联想(北京)有限公司
Priority to US16/627,468 priority Critical patent/US11039080B2/en
Publication of WO2019000848A1 publication Critical patent/WO2019000848A1/zh

Links

Images

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/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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/72Combination of two or more compensation controls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith

Definitions

  • the present disclosure relates to the field of control technologies, and in particular, to a control method and a processing device.
  • the flash lamps in the existing mobile terminals have the following problems. If the brightness of the flash is set small, the collected images may be unclear, and the brightness setting is Larger, it will stimulate the eyes of the subject. Moreover, since the existing mobile terminal does not have a mechanical shutter, in order to ensure that the light emitted by the flash can be captured by the camera chip, the turn-on time of the flash is prolonged, thus further aggravating the eye of the subject. Reduced user experience.
  • the embodiments of the present disclosure provide a control method and a processing device.
  • a first aspect of the disclosed embodiments of the present disclosure provides a control method.
  • the method includes: acquiring output time information of an image, the output time information characterizing time information of the image capturing device outputting the target image when the image capturing device acquires the target object; acquiring exposure time information of the image, the exposure time Information characterization of exposure time information of the image acquisition device when the image acquisition device acquires the target object; generating an opening time for controlling the flash to be in an active state based on the output time information and the exposure time information Information, the opening time information is indicative of time information that the image capturing device turns on the flash when the target object is collected, and outputs the opening time information, so that the flash corresponds to the opening time information. It is working during the time period.
  • the time period corresponding to the open time information belongs to a first time period between the adjacent two target image images and belongs to a second time after the end of the first line and before the last line in the image of one frame. segment.
  • the generating, according to the output time information and the exposure time information, opening time information for controlling a flash to be in an operating state comprising: inputting the output time information and the exposure time information into the image And acquiring a logic gate circuit of the device, and generating the opening time information by using the logic gate circuit.
  • the logic gate circuit includes at least a logic AND gate circuit; correspondingly, the output time information and the exposure time information are input to a logic gate circuit of the image acquisition device, and pass through the logic gate
  • the generating, by the circuit, the opening time information comprising: inputting the exposure time information acquired from the photosensitive component into the logic AND gate circuit, and inputting the output time information acquired from the image output interface into the logic AND gate circuit; Using the logic and gate circuit Performing a small process on the exposure time information and the output time information to obtain a target time range that is within a time period corresponding to the exposure time information and a time period corresponding to the output time information; The opening time information is selected in the target time range.
  • the outputting the opening time information includes: outputting a pulse signal of the opening time information by using the pin of the image capturing device, so that the flash corresponds to the opening time information In the working period of time.
  • a second aspect of an embodiment of the present disclosure provides a processing apparatus.
  • the processing device includes: an image acquisition component, configured to acquire output time information of the image, the output time information characterizing time information of the image acquisition device outputting the target image when the image collection device acquires the target object; and Exposure time information of the image, the exposure time information characterizing exposure time information of the image acquisition device when the image acquisition device acquires the target object; a processor configured to: based on the output time information and the Exposing time information, generating opening time information for controlling the flash to be in an active state, the opening time information characterizing time information that the image capturing device turns on the flash in an active state when acquiring the target object; correspondingly, the image
  • the acquisition component is further configured to output the opening time information, so that the flash is in an operating state during a time period corresponding to the opening time information.
  • the time period corresponding to the open time information belongs to a first time period between the adjacent two target image images and belongs to a second time after the end of the first line and before the last line in the image of one frame. segment.
  • the processor is further configured to input the output time information and the exposure time information into a logic gate circuit of the image collection device, and generate the opening time information by using the logic gate circuit.
  • the logic gate circuit at least includes a logic AND gate circuit; correspondingly, the processor is further configured to: input exposure time information acquired from the photosensitive component into the logic AND gate circuit, and The output time information acquired in the image output interface is input to the logic AND gate circuit; the exposure time information and the output time information are subjected to small processing by using the logic AND gate circuit to obtain the exposure time information at the same time a target time range within the corresponding time period and the time period corresponding to the output time information; and the opening time information is selected from the target time range.
  • the processor is further configured to: input exposure time information acquired from the photosensitive component into the logic AND gate circuit, and The output time information acquired in the image output interface is input to the logic AND gate circuit; the exposure time information and the output time information are subjected to small processing by using the logic AND gate circuit to obtain the exposure time information at the same time a target time range within the corresponding time period and the time period corresponding to the output time information; and the opening time information is selected from the target time range.
  • the image acquisition component is further configured to output a pulse signal of the open time information by using a pin, so that the flash is in an active state during a time period corresponding to the open time information.
  • a third aspect of an embodiment of the present disclosure provides a processing apparatus including at least a processor and a memory for storing a computer program executable on a processor, wherein when the processor is configured to run the computer program, Perform the steps of the method described above.
  • a fourth aspect of an embodiment of the present disclosure provides a computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the steps of the method described above.
  • the control method and the processing device provided by the embodiments of the present disclosure use the image acquisition device to collect the target object
  • the output time information of the image and the exposure time information of the image determine the opening time information for controlling the flash to be in the working state, and since the determined opening time information is determined based on the output time information and the opening time information, the control can be determined.
  • the opening time information is in the time period corresponding to the output time information and the exposure time information, thus laying a foundation for shortening the opening time of the flash, and further avoiding the problem of uneven brightness due to the long turn-on time of the flash. It lays the foundation for improving the user experience.
  • FIG. 1 is a view schematically showing a control timing chart of a flash in a related art mobile phone
  • Figure 2 is a schematic diagram showing the relationship of the brightness of the flash lamp as a function of temperature
  • FIG. 3 schematically illustrates an implementation flow diagram of a control method in accordance with an embodiment of the present disclosure
  • FIG. 4 schematically illustrates a timing diagram of controlling a flash lamp by a control method according to an embodiment of the present disclosure
  • FIG. 5 is a view schematically showing an internal structure of a chip of a conventional image capturing device
  • FIG. 6 is a view schematically showing an internal structure of a chip of an image pickup device according to an embodiment of the present disclosure
  • FIG. 7 schematically shows a compositional structural diagram of a processing apparatus according to an embodiment of the present disclosure.
  • the prior art In order to ensure that the light of the flash can be captured by the chip of the camera in the mobile phone, the prior art generally extends the turn-on time of the flash.
  • the driving time of the flash-off lamp covers 3 frames of images, and the 3 frames The images are completely exposed, and the best image can be selected from the 3 frames of images for output.
  • the time for the flash to illuminate is usually around 200ms.
  • FIG. 2 is a schematic diagram showing the relationship between the brightness of the flash and the temperature change, and it can be seen from the variation diagram shown in FIG. 2 that the brightness decreases as the temperature increases.
  • the flashing mode of the existing three-frame image may cause the brightness of the flash to decrease, that is, the three-frame image may have different brightness and uneven brightness, and it is difficult to select the best image from the three-frame image. Therefore, in order to solve the above problems, embodiments of the present disclosure provide a control method and a processing apparatus.
  • the present invention is described in detail with reference to the accompanying drawings. It should be understood, however, that the description is only illustrative, and is not intended to limit the scope of the disclosure. In addition, descriptions of well-known structures and techniques are omitted in the following description in order to avoid unnecessarily obscuring the concept of the present disclosure.
  • the techniques of this disclosure may be implemented in the form of hardware and/or software (including firmware, microcode, etc.). Additionally, the techniques of this disclosure may take the form of a computer program product on a computer readable medium storing instructions for use by or in connection with an instruction execution system.
  • a computer readable medium can be any medium that can contain, store, communicate, propagate or transport the instructions.
  • a computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium.
  • the computer readable medium include: a magnetic storage device such as a magnetic tape or a hard disk (HDD); an optical storage device such as a compact disk (CD-ROM); a memory such as a random access memory (RAM) or a flash memory; and/or a wired /Wireless communication link.
  • a magnetic storage device such as a magnetic tape or a hard disk (HDD)
  • an optical storage device such as a compact disk (CD-ROM)
  • a memory such as a random access memory (RAM) or a flash memory
  • RAM random access memory
  • the embodiment provides a control method, and the method is applied to a processing device, and the processing device may be specifically an image capturing device, such as a camera, or a specific processing device including the image capturing device, for example, a mobile phone. , electronic devices such as tablets.
  • the present embodiment will be explained by taking a processing device as a camera as an example.
  • a special flash sync signal is added to the chip of the camera to control the turn-on time of the flash, and then the flash is turned on.
  • the start time is shortened from about 200ms to less than 10ms, and the purpose of shortening the turn-on time of the flash is achieved.
  • the embodiment shortens the turn-on time of the flash, it can be determined based on the principle shown in FIG. 2 that the present embodiment can increase the brightness of the flash while shortening the turn-on time of the flash, thereby avoiding the flash being turned on.
  • the problem of uneven brightness caused by long time has laid the foundation for improving user experience.
  • FIG. 3 is a schematic flowchart of an implementation method of a control method according to Embodiment 1 of the present disclosure; as shown in FIG. 3, the method includes:
  • Step 301 Acquire output time information of the image, and the output time information represents time information of the image acquisition device outputting the target image by the image collection device when acquiring the target object.
  • FIG. 4 is a timing diagram of controlling the flash by the control method provided by the embodiment of the present disclosure.
  • the output time information, the exposure time information, and the opening time information described in the present disclosure are further explained in detail below with reference to FIG. 4 .
  • the output time information according to the embodiment of the present disclosure may specifically correspond to the image output time shown in FIG. 4 . Further, as can be seen from the image output time of FIG. 4 , the output time information may specifically include an image of each frame.
  • the output time, and the interval time when the adjacent two frames of images are output, such as the time interval between two points of A and B is the output of two frames of images.
  • Step 302 Acquire exposure time information of the image, and the exposure time information represents exposure time information of the image collection device when the image collection device collects the target object.
  • the exposure time information may specifically correspond to the exposure time shown in FIG. 4.
  • the exposure time information includes the time from the first line of scanning to the last. The time at which a line of scanning ends.
  • the content of one frame of image during the exposure time between the two points A and B is all exposed, that is, the exposure time between the two points of A and B is specifically one frame image from the first The time period from the end of the line scan to the start of the last line of scanning, during which the entire contents of the frame image will be fully exposed.
  • Step 303 Generate, according to the output time information and the exposure time information, opening time information for controlling the flash to be in an active state, the opening time information indicating that the image capturing device turns on the flash when acquiring the target object Time information of the working status.
  • the time period corresponding to the open time information may be specifically located in a first time period between the adjacent two target image images included in the output time information, for example, the first time period may be specifically The output time shown in Figure 4 corresponds to the time period between the two points A and B.
  • the time period corresponding to the opening time information is further located in a frame period image included in the exposure time information, from a time before the end of the scanning of the first line to a second time period after the start of the scanning of the last line, for example, the second time period It can be specifically the time period between the two points A and B corresponding to the exposure time shown in FIG. That is to say, the opening time information is located in a time period between two points A and B corresponding to the exposure time, and a time period between two points A and B corresponding to the output time.
  • the time period between the two points A and B corresponding to the exposure time corresponds to the output time
  • the time period between the two points A and B may be the same (as shown in FIG. 4), or may be different.
  • the time period between the two points A and B corresponding to the output time is greater than the A and B corresponding to the exposure time.
  • the time period between points, that is, the former is different from the latter, but the former includes the latter.
  • Step 304 Output the opening time information, so that the flash is in an operating state during a time period corresponding to the opening time information.
  • the open time information may be output in such a manner that the opening of the image capture device is performed by using the pin of the image capture device.
  • the pulse signal of the time information is output such that the flash is in an operating state during a time period corresponding to the opening time information.
  • a pin for controlling the flash can be added to the chip of the camera, and the pin of the control flash is used to control the flash to be in a working state during the time period corresponding to the opening time information, thereby solving the short flashing time. The problem of not being able to use the software for precise control.
  • the output time information of the image when the target object is acquired by the image capturing device, and the exposure time information of the image are used to determine the opening time information for controlling the flash to be in the working state, because the determined opening time information is determined. It is determined based on the output time information and the opening time information, so the determined opening time information can be controlled within the time period corresponding to the output time information and the exposure time information, thus laying a foundation for shortening the opening time of the flash. In order to avoid the problem of uneven brightness caused by the long turn-on time of the flash, it lays a foundation for improving the user experience.
  • the embodiment provides a specific method for determining the opening time information, that is, using the logic gate circuit to determine the opening time information, specifically, the output time information and the exposure time information. And inputting a logic gate circuit of the image acquisition device, and then generating the opening time information by using the logic gate circuit.
  • the logic gate circuit includes at least a logic AND gate circuit; correspondingly, the method of determining the turn-on time information may be specifically: inputting exposure time information acquired from the photosensitive component to the logic AND gate circuit And inputting the output time information acquired from the image output interface into the logic AND gate circuit; using the logic AND gate circuit to perform the small processing on the exposure time information and the output time information to obtain simultaneous a target time range within a time period corresponding to the exposure time information and a time period corresponding to the output time information; and the opening time information is selected from the target time range.
  • FIG. 5 is a schematic diagram showing the internal structure of a chip of a conventional image capturing device.
  • the chip of the existing image acquisition device mainly includes a photosensitive component, that is, an Image sensor core, for converting an optical signal into an electrical signal; an image processing group The image sensor process is used to temporarily store the electrical signals generated by the photosensitive components; the image output interface, that is, the Image output interface, is used to output the images according to the MIPI protocol according to the output protocol.
  • FIG. 6 is a schematic diagram of the internal structure of the chip of the image capture device according to the embodiment of the present disclosure. As can be seen from FIG. 5 and FIG. 6 , the present embodiment adds a logic gate circuit and a pin to the chip of the existing image capture device, for example, at time.
  • the generation and system control logic add a pin, so as to control the logic gate circuit to obtain the exposure time information in the Row select in the photosensitive component, and obtain the output time information from the MIPI of the image output interface, and then through its own logic operation Obtaining the opening time information, and outputting the opening time information by using the pin, thus achieving the purpose of shortening the opening time of the flash, and since the opening time of the flash is determined based on the exposure time information, the opening time of the flash can be ensured The entire contents of the target image are exposed.
  • the logic gate circuit shown in FIG. 6 may be specifically a logic AND circuit, that is, selecting the shortest time period included in both from the output time information and the exposure time information, and from the shortest time period. Select the opening time information.
  • the embodiment provides a processing device.
  • the processing device may be an image capturing device, such as a camera, or a specific processing device including the image capturing device, for example, an electronic device such as a mobile phone or a tablet computer.
  • the flash activation time is controlled by adding a special flash synchronization signal to the chip of the camera, thereby shortening the flash activation time from about 200 ms to 10 ms. Within the limit, the purpose of shortening the turn-on time of the flash is achieved. Further, since the embodiment shortens the turn-on time of the flash, it can be determined based on the principle shown in FIG. 2 that the present embodiment can improve the brightness of the flash while shortening the turn-on time of the flash, thereby avoiding The problem of uneven brightness caused by the long turn-on time of the flash has laid the foundation for improving the user experience.
  • the processing device includes an image acquisition component 71 and a processor 72. among them:
  • the image capturing component 71 is configured to acquire output time information of the image, where the output time information represents time information of the image capturing device outputting the target image when the image capturing device acquires the target object; and an exposure time for acquiring the image Information, the exposure time information characterizing exposure time information of the image acquisition device when the image acquisition device acquires the target object.
  • the processor 72 is configured to generate, according to the output time information and the exposure time information, on time information for controlling the flash to be in an active state, the open time information characterizing the image capturing device when collecting the target object Turn on the time information that the flash is working.
  • the image capturing component 71 is further configured to output the opening time information, so that the flash is in the The time period corresponding to the opening time information is in a working state.
  • FIG. 4 is a timing diagram of controlling the flash by the control method according to the embodiment of the present disclosure.
  • the output time information, the exposure time information, and the opening time information described in the present disclosure are further explained in detail below with reference to FIG. 4 .
  • the output time information may specifically correspond to the image output time shown in FIG. 4 . Further, as can be seen from the image output time of FIG. 4 , the output time information may specifically include each frame image. The output time, and the interval time when two adjacent frames of images are output, such as the time interval between two points of A and B is output.
  • the exposure time information may specifically correspond to the exposure time shown in FIG. 4.
  • the exposure time information includes the time from the first line of scanning to the last. The time at which a line of scanning ends.
  • the content of one frame of image during the exposure time between the two points A and B is all exposed, that is, the exposure time between the two points of A and B is specifically one frame image from the first The time period from the end of the line scan to the start of the last line of scanning, during which the entire contents of the frame image will be fully exposed.
  • the time period corresponding to the opening time information belongs to a first time period between the adjacent two target image images and belongs to a frame image from before the end of the first line to after the last line.
  • the second time period may be specifically a time period between two points A and B corresponding to the output time shown in FIG. 4, and the second time period may be specifically two points A and B corresponding to the exposure time shown in FIG.
  • the time period between That is to say, the opening time information is located in a time period between two points A and B corresponding to the exposure time, and a time period between two points A and B corresponding to the output time.
  • the time period between the two points A and B corresponding to the exposure time may be the same as the time period between the two points A and B corresponding to the output time (as shown in FIG. 4 ), or Different, for example, the time period between the two points A and B corresponding to the output time is greater than the time period between the two points A and B corresponding to the exposure time, that is, the former is different from the latter, but the former includes the latter.
  • the processor 72 is further configured to input the output time information and the exposure time information into a logic gate circuit of the image collection device, and generate the opening by using the logic gate circuit Time information.
  • the logic gate circuit includes at least a logic AND gate circuit; correspondingly, the processor 72 is further configured to: input exposure time information acquired from the photosensitive component into the logic AND gate circuit And outputting the time information obtained from the image output interface into the logic AND gate circuit; using the logic and gate circuit to perform the small processing on the exposure time information and the output time information a target time range within a time period corresponding to the exposure time information and a time period corresponding to the output time information; and the opening time information is selected from the target time range.
  • the outputting time information may be outputted in the following manner, that is, the image capturing component 71 is further configured to output a pulse signal of the opening time information by using a pin, so that the flash corresponds to the opening time information. In the working period of time.
  • the chip of the existing image capturing device mainly includes a photosensitive component, that is, an Image sensor core, for converting an optical signal into an electrical signal;
  • the processing component that is, the Image sensor process, is used for temporarily storing the electrical signals generated by the photosensitive components;
  • the image output interface that is, the Image output interface, is used to output the images according to the MIPI protocol according to the output protocol.
  • FIG. 6 is a schematic diagram of the internal structure of the chip of the image capture device according to the embodiment of the present disclosure. As can be seen from FIG. 5 and FIG. 6 , the present embodiment adds a logic gate circuit and a pin to the chip of the existing image capture device, for example, at time.
  • the generation and system control logic add a pin, so as to control the logic gate circuit to obtain the exposure time information in the Row select in the photosensitive component, and obtain the output time information from the MIPI of the image output interface, and then through its own logic operation Obtaining the opening time information, and outputting the opening time information by using the pin, thus achieving the purpose of shortening the opening time of the flash, and since the opening time of the flash is determined based on the exposure time information, the opening time of the flash can be ensured The entire contents of the target image are exposed.
  • the logic gate circuit shown in FIG. 6 may be specifically a logic AND circuit, that is, selecting the shortest time period included in both from the output time information and the exposure time information, and from the shortest time period. Select the opening time information.
  • the image acquisition component may be integrated in a processor, and the processor integrated with the image acquisition component may be specifically implemented by a chip structure similar to the image acquisition device shown in FIG. 6.
  • the output time information of the image when the target object is acquired by the image capturing device, and the exposure time information of the image are used to determine the opening time information for controlling the flash to be in an active state, where the determined opening is performed.
  • the time information is determined based on the output time information and the opening time information, so the determined opening time information can be controlled within the time period corresponding to the output time information and the exposure time information, thus laying a foundation for shortening the flash opening time.
  • the basis in order to avoid the problem of uneven brightness caused by the long turn-on time of the flash, lays the foundation for improving the user experience.
  • Embodiments of the present disclosure are improvements to a processing chip of a camera module that limits an on-time of a flash to a first time period belonging to an interval between adjacent two-frame target images and belongs to a frame image before ending from the first line The second time period after the start of the last line.
  • the turn-on time of the flash can be reduced relative to the related art, thereby reducing power consumption.
  • it ensures that the light provided by the flash in a short time is also the most suitable for photo imaging.
  • the image acquisition component 71 and the processor 72 can be implemented in one module, or any one of the modules can be split into multiple modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of the other modules and implemented in one module.
  • at least one of image acquisition component 71 and processor 72 may be implemented at least in part as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, The system on the substrate, the system on the package, the application specific integrated circuit (ASIC), or hardware or firmware in any other reasonable manner to integrate or package the circuit, or in software, hardware, and firmware. The appropriate combination is to achieve.
  • at least one of image acquisition component 71 and processor 72 may be implemented at least in part as a computer program module that, when executed by a computer, may perform the functions of the corresponding module.
  • the above described methods, apparatus, units and/or modules in accordance with various embodiments of the present disclosure may be implemented by a computing enabled electronic device executing software comprising computer instructions.
  • the system can include storage devices to implement the various storages described above.
  • the computing capable electronic device can include, but is not limited to, a general purpose processor, a digital signal processor, a dedicated processor, a reconfigurable processor, etc., capable of executing computer instructions. Execution of such instructions causes the electronic device to be configured to perform the operations described above in accordance with the present disclosure.
  • Each of the above devices and/or modules may be implemented in one electronic device or in different electronic devices.
  • the software can be stored in a computer readable storage medium.
  • the computer readable storage medium stores one or more programs (software modules), the instructions including instructions that, when executed by one or more processors in an electronic device, cause the electronic device to perform the present disclosure method.
  • the software can be stored in the form of volatile memory or non-volatile storage (such as a storage device such as a ROM), whether erasable or rewritable, or stored in the form of a memory (eg, RAM, memory).
  • volatile memory or non-volatile storage such as a storage device such as a ROM
  • a memory eg, RAM, memory
  • the chip, device or integrated circuit is either stored on an optically readable medium or a magnetically readable medium (eg, CD, DVD, magnetic or magnetic tape, etc.).
  • the storage device and the storage medium are embodiments of a machine-readable storage device adapted to store one or more programs, the program or programs comprising instructions that, when executed, implement the practice of the present disclosure example.
  • the embodiment provides a program and a machine readable storage device storing such a program, the program comprising code for implementing the apparatus or method of any of the claims of the present disclosure.
  • these programs can be routed via any medium, such as a communication signal carried via a wired connection or a wireless connection, and various embodiments suitably include such programs.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated Go to another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage medium includes: a mobile storage device, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. The medium in which the program code is stored.
  • the above-described integrated unit of the present disclosure may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions for making
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes: a removable storage device, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本公开实施例公开了一种控制方法,包括:获取图像的输出时间信息,输出时间信息表征图像采集装置在对目标对象进行采集时图像采集装置输出目标图像的时间信息;获取图像的曝光时间信息,曝光时间信息表征图像采集装置在对目标对象进行采集时图像采集装置的曝光时间信息;基于输出时间信息以及曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,开启时间信息表征图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息;输出开启时间信息,以使得闪光灯在开启时间信息所对应的时间段内处于工作状态。本公开实施例还公开了一种处理装置。

Description

一种控制方法及处理装置 技术领域
本公开涉及控制技术领域,尤其涉及一种控制方法及处理装置。
背景技术
目前手机、平板电脑等移动终端中的闪光灯应用越来越多,但是,现有移动终端中的闪光灯存在如下问题,如若闪光灯亮度设置的较小,会导致采集到的图像不清楚,而亮度设置的较大,又会刺激到被拍摄对象的眼睛。而且,由于现有移动终端并未设置机械快门,所以,为了保证闪光灯发出的光能够被摄像头芯片所捕捉到,会延长闪光灯的开启时间,这样,进一步加重了对被拍摄对象的眼睛的刺激,降低了用户体验。
发明内容
为解决现有存在的技术问题,本公开实施例提供了一种控制方法及处理装置。
公开本公开实施例的第一方面提供了一种控制方法。该方法包括:获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息;获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息;基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息;输出所述开启时间信息,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
可选地,所述开启时间信息所对应的时间段属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始之后的第二时间段。
可选地,所述基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,包括:将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息。
可选地,所述逻辑门电路至少包括逻辑与门电路;对应地,所述将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息,包括:将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;利用所述逻辑与门电路 对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;从所述目标时间范围中选取出开启时间信息。
可选地,所述输出所述开启时间信息,包括:利用所述图像采集装置的所述管脚将所述开启时间信息的脉冲信号输出,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
本公开实施例的第二方面提供了一种处理装置。该处理装置包括:图像采集组件,用于获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息;以及用于获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息;处理器,用于基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息;对应地,所述图像采集组件,还用于输出所述开启时问信息,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
可选地,所述开启时间信息所对应的时间段属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始之后的第二时间段。
可选地,所述处理器,还用于将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息。
可选地,所述逻辑门电路至少包括逻辑与门电路;对应地,所述处理器,还用于:将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;利用所述逻辑与门电路对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;从所述目标时间范围中选取出开启时间信息。
可选地,所述图像采集组件,还用于利用管脚将所述开启时间信息的脉冲信号输出,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
本公开实施例的第三方面提供了一种处理装置,至少包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行以上所述方法的步骤。
本公开实施例的第四方面提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现以上所述方法的步骤。
本公开实施例所提供的控制方法及处理装置,利用图像采集装置在对目标对象进行采集 时图像的输出时间信息以及图像的曝光时间信息来确定出控制闪光灯处于工作状态的开启时间信息,由于确定出的开启时间信息是基于输出时间信息以及开启时间信息而确定的,所以,可以控制确定出的开启时间信息处于输出时间信息以及曝光时间信息所对应的时间段内,如此,为缩短闪光灯的开启时间奠定了基础,进而为避免由于闪光灯开启时间较长而导致的亮度不均匀的问题,为提升用户体验奠定了基础。
附图说明
根据结合示例性附图对示例性实施例的以下描述,本公开的其他细节、方面和优点将变得显而易见,在附图中:
图1示意性地示出了相关技术手机中闪光灯的控制时序图;
图2示意性地示出了闪光灯的亮度随温度变化的变化关系图;
图3示意性地示出了根据本公开实施例的控制方法的实现流程图;
图4示意性地示出了根据本公开实施例的控制方法对闪光灯进行控制的时序图;
图5示意性地示出了现有图像采集装置的芯片内部结构图;
图6示意性地示出了根据本公开实施例的图像采集装置的芯片内部结构图;
图7示意性地示出了根据本公开实施例的处理装置的组成结构图。
具体实施方式
为了保证闪光灯的光,能够被手机中摄像头的芯片捕捉到,现有技术通常会延长闪光灯的开启时间,例如,如图1所示,闪关灯的驱动时间涵盖3帧图像,且该3帧图像均完全被曝光,可以从3帧图像中选取最佳图像进行输出,这种方式下,闪光灯发光的时间通常会在200ms左右。进一步地,随着闪光灯开启时间的延长,温度会增加;图2为闪光灯的亮度随温度变化的变化关系示意图,从图2所示的变化示意图中可以看出,随着温度的增加亮度反而降低,也就是说,现有3帧图像的闪光灯开启方式,会导致闪光灯亮度降低,即3帧图像会出现亮度不同,亮度不均匀的问题,难以从3帧图像中选取中最佳图像。因此,为解决上述问题,本公开实施例提供了一种控制方法及处理装置。为了能够更加详尽地了解本公开的特点与技术内容,下面结合附图对本公开的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开。但是应该理解,这些描述只是示例性的,而并非要限制本公开的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。
在此使用的术语“包括”、“包含”等表明了所述特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。
在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。
在使用类似于“A、B和C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B和C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。在使用类似于“A、B或C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B或C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。本领域技术人员还应理解,实质上任意表示两个或更多可选项目的转折连词和/或短语,无论是在说明书、权利要求书还是附图中,都应被理解为给出了包括这些项目之一、这些项目任一方、或两个项目的可能性。例如,短语“A或B”应当被理解为包括“A”或“B”、或“A和B”的可能性。
附图中示出了一些方框图和/或流程图。应理解,方框图和/或流程图中的一些方框或其组合可以由计算机程序指令来实现。这些计算机程序指令可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,从而这些指令在由该处理器执行时可以创建用于实现这些方框图和/或流程图中所说明的功能/操作的装置。
因此,本公开的技术可以硬件和/或软件(包括固件、微代码等)的形式来实现。另外,本公开的技术可以采取存储有指令的计算机可读介质上的计算机程序产品的形式,该计算机程序产品可供指令执行系统使用或者结合指令执行系统使用。在本公开的上下文中,计算机可读介质可以是能够包含、存储、传送、传播或传输指令的任意介质。例如,计算机可读介质可以包括但不限于电、磁、光、电磁、红外或半导体系统、装置、器件或传播介质。计算机可读介质的具体示例包括:磁存储装置,如磁带或硬盘(HDD);光存储装置,如光盘(CD-ROM);存储器,如随机存取存储器(RAM)或闪存;和/或有线/无线通信链路。
实施例一
本实施例提供了一种控制方法,所述方法应用于处理装置中,所述处理装置可以具体为图像采集装置,如摄像头,或为包含有所述图像采集装置的具体处理装置,例如,手机、平板电脑等电子设备。这里,以处理装置是摄像头为例对本实施例做解释。本实施例通过在摄像头的芯片中增加一特殊的闪光灯同步信号,来控制闪光灯的开启时间,进而将闪光灯的开 启时间从200ms左右缩短到10ms以内,实现缩短闪光灯的开启时间的目的。进一步地,由于本实施例缩短了闪光灯的开启时间,基于如图2所示的原理可以确定出,本实施例在缩短闪光灯的开启时间的同时,能够提升闪光灯的亮度,进而避免了由于闪光灯开启时间较长而导致的亮度不均匀的问题,为提升用户体验奠定了基础。
图3为本公开实施例一控制方法的实现流程示意图;如图3所示,所述方法包括:
步骤301:获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息。
具体地,图4为本公开实施例提供的控制方法对闪光灯进行控制的时序图,以下结合图4对本公开所述的输出时间信息、曝光时间信息以及开启时间信息做进一步详细解释。
根据本公开的实施例所述输出时间信息可以具体对应图4所示的图像输出时间,进一步地,从图4的图像输出时间中可以看出,所述输出时间信息可以具体包括每帧图像的输出时间,以及相邻两帧图像进行输出时的间隔时间,如A和B两点之间即为两帧图像进行输出的时间间隔。
步骤302:获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息。
继续以图4为例,所述曝光时间信息可以具体对应图4所示的曝光时间,从图4的曝光时间中可以看出,所述曝光时间信息包含从第一行开启扫描的时间至最后一行扫描结束的时间。根据本公开的实施例,A和B两点之间的曝光时间内一帧图像的内容才会全部被曝光,也即A和B两点之间的曝光时间具体为一帧图像中从第一行扫描结束之前到最后一行扫描开始之后所对应的时间段,在该时间段内,该帧图像的全部内容才会被全部曝光。
步骤303:基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息。
根据本公开的实施例,所述开启时间信息所对应的时间段可以具体位于输出时间信息所包含的相邻两帧目标图像之间间隔的第一时间段,例如,第一时间段可以具体为图4所示的输出时间对应的A和B两点之间的时间段。进一步地,所述开启时间信息所对应的时间段还位于曝光时间信息所包含的一帧图像中从第一行扫描结束之前到最后一行扫描开始之后的第二时间段,例如,第二时间段可以具体为图4所示的曝光时间对应的A和B两点之间的时间段。也就是说,所述开启时间信息位于曝光时间对应的A和B两点之间的时间段内,以及位于输出时间对应的A和B两点之间的时间段。
根据本公开的实施例,所述曝光时间对应的A和B两点之间的时间段与输出时间对应的 A和B两点之间的时间段可以相同(如图4所示),也可能不相同,例如,输出时间对应的A和B两点之间的时间段大于曝光时间对应的A和B两点之间的时间段,即前者与后者不同,但前者包含后者。
步骤304:输出所述开启时间信息,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
根据本公开的实施例,若闪光灯的开启时间变的很短,则难以通过软件精确控制,基于此,可以采用如下方式输出开启时间信息,即利用所述图像采集装置的管脚将所述开启时间信息的脉冲信号输出,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。例如,可以在摄像头的芯片中增加一个控制闪光灯的管脚,利用该控制闪光灯的管脚来控制闪光灯在所述开启时间信息所对应的时间段内处于工作状态,进而解决了闪光灯开启时间较短而无法使用软件进行精确控制的问题。
根据本公开的实施例,利用图像采集装置在对目标对象进行采集时图像的输出时间信息,以及图像的曝光时间信息来确定出控制闪光灯处于工作状态的开启时间信息,由于确定出的开启时间信息是基于输出时间信息以及开启时间信息而确定的,所以,确定出的开启时间信息可以控制处于输出时间信息以及曝光时间信息所对应的时间段内,如此,为缩短闪光灯的开启时间奠定了基础,进而为避免由于闪光灯开启时间较长而导致的亮度不均匀的问题,为提升用户体验奠定了基础。
实施例二
基于实施例一所述的方法,本实施例提供了一种确定开启时间信息的具体方法,即利用逻辑门电路来确定开启时间信息,具体地,将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,进而通过所述逻辑门电路生成所述开启时间信息。
根据本公开的实施例,所述逻辑门电路至少包括逻辑与门电路;对应地,确定开启时间信息的方法则可具体为:将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;利用所述逻辑与门电路对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;从所述目标时间范围中选取出开启时间信息。
结合图5和图6所示,对本实施例做进一步详细说明。
图5为现有图像采集装置的芯片内部结构示意图。如图5所示,现有图像采集装置的芯片内部主要包括感光组件,也即Image sensor core,用于将光信号转换为电信号;图像处理组 件,也即Image sensor process,用于将感光组件产生的电信号暂时存储;图像输出接口,也即Image output interface,用于按照输出的协议,将图像按照以MIPI协议进行输出。
图6为本公开实施例图像采集装置的芯片内部结构示意图,对比图5和图6可以看出,本实施例在现有图像采集装置的芯片上增加逻辑门电路以及管脚,如,在时间产生和系统控制逻辑中增加管脚,如此,来控制逻辑门电路向感光组件中的Row select中去获取曝光时间信息,以及向图像输出接口的MIPI去获取输出时间信息,进而通过自身的逻辑运算得到开启时间信息,并利用管脚输出该开启时间信息,如此,实现缩短闪光灯的开启时间的目的,且由于闪光灯的开启时间是基于曝光时间信息确定出的,所以,能够确保闪光灯的开启时间内目标图像的全部内容均被曝光。
根据本公开的实施例,图6所示的逻辑门电路可以具体为逻辑与电路,即从输出时间信息和曝光时间信息中选取出两者均包含的最短时间段,并从该最短时间段中选取出开启时间信息。
实施例三
本实施例提供了一种处理装置,所述处理装置可以具体为图像采集装置,如摄像头,或为包含有所述图像采集装置的具体处理装置,例如,手机、平板电脑等电子设备。以处理装置是摄像头为例对本实施例做解释,即本实施例通过在摄像头的芯片中增加一特殊的闪光灯同步的信号,来控制闪光灯开启时间,进而将闪光灯的开启时间从200ms左右缩短到10ms以内,实现缩短闪光灯的开启时间的目的。进一步地,由于本实施例缩短了闪光灯的开启时间,所以,基于如图2所示的原理可以确定出,本实施例在缩短闪光灯的开启时间的同时,能够提升闪光灯的亮度,进而避免了由于闪光灯开启时间较长而导致的亮度不均匀的问题,为提升用户体验奠定了基础。
如图7所示,所述处理装置包括图像采集组件71和处理器72。其中:
图像采集组件71,用于获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息;以及用于获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息。
处理器72,用于基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息。
对应地,所述图像采集组件71,还用于输出所述开启时间信息,以使得所述闪光灯在所 述开启时间信息所对应的时间段内处于工作状态。
具体地,图4为本公开实施例控制方法对闪光灯进行控制的时序图,以下结合图4对本公开所述的输出时间信息、曝光时间信息以及开启时间信息做进一步详细解释。
根据本公开的实施例,所述输出时间信息可以具体对应图4所示的图像输出时间,进一步地,从图4的图像输出时间中可以看出,所述输出时间信息可以具体包括每帧图像的输出时间,以及相邻两帧图像进行输出时的间隔时间,如A和B两点之间即为两帧图像进行输出的时间间隔。
继续以图4为例,所述曝光时间信息可以具体对应图4所示的曝光时间,从图4的曝光时间中可以看出,所述曝光时间信息包含从第一行开启扫描的时间至最后一行扫描结束的时间。根据本公开的实施例,A和B两点之间的曝光时间内一帧图像的内容才会全部被曝光,也即A和B两点之间的曝光时间具体为一帧图像中从第一行扫描结束之前到最后一行扫描开始之后所对应的时间段,该时间段内,该帧图像的全部内容才会被全部曝光。
在一具体实施例中,所述开启时间信息所对应的时间段属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始之后的第二时间段。例如,第一时间段可以具体为图4所示的输出时间对应的A和B两点之间的时间段,第二时间段可以具体为图4所示的曝光时间对应的A和B两点之间的时间段。也就是说,所述开启时间信息位于曝光时间对应的A和B两点之间的时间段内,以及位于输出时间对应的A和B两点之间的时间段。
根据本公开的实施例,所述曝光时间对应的A和B两点之间的时间段与输出时间对应的A和B两点之间的时间段可以相同(如图4所示),也可能不相同,例如,输出时间对应的A和B两点之间的时间段大于曝光时间对应的A和B两点之间的时间段,即前者与后者不同,但前者包含后者。
根据本公开的实施例,所述处理器72,还用于将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息。
根据本公开的实施例,所述逻辑门电路至少包括逻辑与门电路;对应地,所述处理器72,还用于:将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;利用所述逻辑与门电路对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;从所述目标时间范围中选取出开启时间信息。
根据本公开的实施例,若闪光灯的开启时间变的很短,则难以通过软件精确控制,基于 此,可以采用如下方式输出开启时间信息,即,所述图像采集组件71,还用于利用管脚将所述开启时间信息的脉冲信号输出,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
结合图5和图6所示,对本实施例做进一步详细说明。
图5为现有图像采集装置的芯片内部结构示意图,如图5所示,现有图像采集装置的芯片内部主要包括感光组件,也即Image sensor core,用于将光信号转换为电信号;图像处理组件,也即Image sensor process,用于将感光组件产生的电信号暂时存储;图像输出接口,也即Image output interface,用于按照输出的协议,将图像按照以MIPI协议进行输出。
图6为本公开实施例图像采集装置的芯片内部结构示意图,对比图5和图6可以看出,本实施例在现有图像采集装置的芯片上增加逻辑门电路以及管脚,如,在时间产生和系统控制逻辑中增加管脚,如此,来控制逻辑门电路向感光组件中的Row select中去获取曝光时间信息,以及向图像输出接口的MIPI去获取输出时间信息,进而通过自身的逻辑运算得到开启时间信息,并利用管脚输出该开启时间信息,如此,实现缩短闪光灯的开启时间的目的,且由于闪光灯的开启时间是基于曝光时间信息确定出的,所以,能够确保闪光灯的开启时间内目标图像的全部内容均被曝光。
根据本公开的实施例,图6所示的逻辑门电路可以具体为逻辑与电路,即从输出时间信息和曝光时间信息中选取出两者均包含的最短时间段,并从该最短时间段中选取出开启时间信息。
根据本公开的实施例,所述图像采集组件可以集成于处理器中,集成有图像采集组件的处理器可以具体通过类似图6所示的图像采集装置的芯片结构实现。
根据本公开的实施例,利用图像采集装置在对目标对象进行采集时图像的输出时间信息,以及图像的曝光时间信息来确定出控制闪光灯处于工作状态的开启时间信息,这里,由于确定出的开启时间信息是基于输出时间信息以及开启时间信息而确定的,所以,确定出的开启时间信息可以控制处于输出时间信息以及曝光时间信息所对应的时间段内,如此,为缩短闪光灯的开启时间奠定了基础,进而为避免由于闪光灯开启时间较长而导致的亮度不均匀的问题,为提升用户体验奠定了基础。
本公开的实施例是针对摄像头模组的处理芯片的改进,将闪光灯的开启时间限定在属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始时候之后的第二时间段。从而相对于相关技术能够减少闪光灯的开启时间从而降低了功耗。同时从而保证闪光灯在短时间内所提供的光亮也是最适合拍照成像的。至少部分解决了现有技术中闪光灯亮着的时间长,温度增加,亮度反而降低的技术问题。
可以理解的是,图像采集组件71和处理器72可以合并在一个模块中实现,或者其中的任意一个模块可以被拆分成多个模块。或者,这些模块中的一个或多个模块的至少部分功能可以与其他模块的至少部分功能相结合,并在一个模块中实现。根据本发明的实施例,图像采集组件71和处理器72中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以以对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式的适当组合来实现。或者,图像采集组件71和处理器72中的至少一个可以至少被部分地实现为计算机程序模块,当该程序被计算机运行时,可以执行相应模块的功能。
这里需要指出的是:以上电子设备实施例项的描述,与上述方法描述是类似的,具有同方法实施例相同的有益效果,因此不做赘述。对于本公开电子设备实施例中未披露的技术细节,本领域的技术人员请参照本公开方法实施例的描述而理解,为节约篇幅,这里不再赘述。
根据本公开各实施例的上述方法、装置、单元和/或模块可以通过有计算能力的电子设备执行包含计算机指令的软件来实现。该系统可以包括存储设备,以实现上文所描述的各种存储。该有计算能力的电子设备可以包含通用处理器、数字信号处理器、专用处理器、可重新配置处理器等能够执行计算机指令的装置,但不限于此。执行这样的指令使得电子设备被配置为执行根据本公开的上述各项操作。上述各设备和/或模块可以在一个电子设备中实现,也可以在不同电子设备中实现。这些软件可以存储在计算机可读存储介质中。计算机可读存储介质存储一个或多个程序(软件模块),该一个或多个程序包括指令,当电子设备中的一个或多个处理器执行该指令时,该指令使得电子设备执行本公开的方法。
这些软件可以存储为易失性存储器或非易失性存储装置的形式(比如类似ROM等存储设备),不论是可擦除的还是可重写的,或者存储为存储器的形式(例如RAM、存储器芯片、设备或集成电路),或者被存储在光可读介质或磁可读介质上(比如,CD、DVD、磁盘或磁带等等)。应该意识到,存储设备和存储介质是适于存储一个或多个程序的机器可读存储装置的实施例,该一个程序或多个程序包括指令,当该指令被执行时,实现本公开的实施例。实施例提供程序和存储这种程序的机器可读存储装置,该程序包括用于实现本公开的任何一项权利要求所述的装置或方法的代码。此外,可以经由任何介质(比如,经由有线连接或无线连接携带的通信信号)来电传递这些程序,多个实施例适当地包括这些程序。
在本公开所提供的实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成 到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
或者,本公开上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本公开各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (10)

  1. 一种控制方法,其中,所述方法包括:
    获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息;
    获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息;
    基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息;
    输出所述开启时间信息,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
  2. 根据权利要求1所述的方法,其中,所述开启时间信息所对应的时间段属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始之后的第二时间段。
  3. 根据权利要求2所述的方法,其中,所述基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,包括:
    将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息。
  4. 根据权利要求3所述的方法,其中,所述逻辑门电路至少包括逻辑与门电路;对应地,所述将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息,包括:
    将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;
    利用所述逻辑与门电路对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;
    从所述目标时间范围中选取出开启时间信息。
  5. 根据权利要求1所述的方法,其中,所述输出所述开启时间信息,包括:
    利用所述图像采集装置的管脚将所述开启时间信息的脉冲信号输出。
  6. 一种处理装置,其中,所述处理装置包括:
    图像采集组件,用于获取图像的输出时间信息,所述输出时间信息表征图像采集装置在对目标对象进行采集时所述图像采集装置输出目标图像的时间信息;以及用于获取图像的曝光时间信息,所述曝光时间信息表征所述图像采集装置在对所述目标对象进行采集时所述图像采集装置的曝光时间信息;
    处理器,用于基于所述输出时间信息以及所述曝光时间信息,产生用于控制闪光灯处于工作状态的开启时间信息,所述开启时间信息表征所述图像采集装置在对目标对象进行采集时开启闪光灯处于工作状态的时间信息;
    对应地,所述图像采集组件,还用于输出所述开启时间信息,以使得所述闪光灯在所述开启时间信息所对应的时间段内处于工作状态。
  7. 根据权利要求6所述的处理装置,其中,所述开启时间信息所对应的时间段属于相邻两帧目标图像之间间隔的第一时间段且属于一帧图像中从第一行结束之前到最后一行开始之后的第二时间段。
  8. 根据权利要求7所述的处理装置,其中,所述处理器,还用于将所述输出时间信息以及所述曝光时间信息输入所述图像采集装置的逻辑门电路,并通过所述逻辑门电路生成所述开启时间信息。
  9. 根据权利要求8所述的处理装置,其中,所述逻辑门电路至少包括逻辑与门电路;对应地,所述处理器,还用于:
    将从感光组件中获取到的曝光时间信息输入至逻辑与门电路中,以及将从图像输出接口中获取到的输出时间信息输入至逻辑与门电路中;
    利用所述逻辑与门电路对所述曝光时间信息和所述输出时间信息进行取小处理,得到同时处于所述曝光时间信息所对应的时间段内以及所述输出时间信息所对应的时间段内的目标时间范围;
    从所述目标时间范围中选取出开启时间信息。
  10. 根据权利要求6所述的处理装置,其中,所述图像采集组件,还用于利用管脚将所述开启时间信息的脉冲信号输出。
PCT/CN2017/115226 2017-06-30 2017-12-08 一种控制方法及处理装置 WO2019000848A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/627,468 US11039080B2 (en) 2017-06-30 2017-12-08 Control method and processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710526821.2A CN107205126B (zh) 2017-06-30 2017-06-30 一种控制方法及处理装置
CN201710526821.2 2017-06-30

Publications (1)

Publication Number Publication Date
WO2019000848A1 true WO2019000848A1 (zh) 2019-01-03

Family

ID=59911888

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/115226 WO2019000848A1 (zh) 2017-06-30 2017-12-08 一种控制方法及处理装置

Country Status (3)

Country Link
US (1) US11039080B2 (zh)
CN (1) CN107205126B (zh)
WO (1) WO2019000848A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107205126B (zh) 2017-06-30 2020-04-24 联想(北京)有限公司 一种控制方法及处理装置
WO2019084806A1 (zh) * 2017-10-31 2019-05-09 深圳市大疆创新科技有限公司 用于闪光灯亮度补偿的方法、无人机及存储介质
CN108419345B (zh) * 2018-03-19 2019-08-16 深圳前海华夏智信数据科技有限公司 基于图像分析的控灯方法及装置
CN112351184B (zh) * 2019-08-07 2021-11-12 杭州海康威视数字技术股份有限公司 一种摄像机补光方法及装置
CN112351214B (zh) * 2020-09-22 2022-05-06 智博汽车科技(上海)有限公司 辅助人脸图像采集的方法、装置、可读存储介质及车辆

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040179832A1 (en) * 2003-03-11 2004-09-16 Pentax Corporation Light emission control system for a flash device
CN102932603A (zh) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 一种补光控制方法及摄像机
CN104702850A (zh) * 2014-03-20 2015-06-10 杭州海康威视数字技术股份有限公司 一种互补金属氧化物半导体摄像机及其补光方法
CN105723697A (zh) * 2013-09-16 2016-06-29 英特尔公司 用于对象跟踪的相机和光源同步
CN107205126A (zh) * 2017-06-30 2017-09-26 联想(北京)有限公司 一种控制方法及处理装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4574185B2 (ja) * 2004-02-17 2010-11-04 キヤノン株式会社 撮像装置及び閃光装置の制御方法
JP2011114558A (ja) * 2009-11-26 2011-06-09 Fujifilm Corp 撮像装置及び撮像方法
CN102427509A (zh) * 2011-09-16 2012-04-25 杭州海康威视数字技术股份有限公司 一种控制补光灯同步摄像机的装置及方法
US9154708B1 (en) * 2014-11-06 2015-10-06 Duelight Llc Image sensor apparatus and method for simultaneously capturing flash and ambient illuminated images
CN104660898B (zh) * 2013-11-25 2018-05-29 华为终端(东莞)有限公司 全局快门处理方法及装置
CN105657284A (zh) * 2014-11-19 2016-06-08 力钜电子股份有限公司 控制外挂闪光灯闪光时间的方法
US9674465B2 (en) * 2015-06-03 2017-06-06 Omnivision Technologies, Inc. Non-visible illumination scheme
CN204761557U (zh) * 2015-07-07 2015-11-11 广东安居宝数码科技股份有限公司 摄像机补光灯控制电路

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040179832A1 (en) * 2003-03-11 2004-09-16 Pentax Corporation Light emission control system for a flash device
CN102932603A (zh) * 2012-08-16 2013-02-13 浙江宇视科技有限公司 一种补光控制方法及摄像机
CN105723697A (zh) * 2013-09-16 2016-06-29 英特尔公司 用于对象跟踪的相机和光源同步
CN104702850A (zh) * 2014-03-20 2015-06-10 杭州海康威视数字技术股份有限公司 一种互补金属氧化物半导体摄像机及其补光方法
CN107205126A (zh) * 2017-06-30 2017-09-26 联想(北京)有限公司 一种控制方法及处理装置

Also Published As

Publication number Publication date
US20200329186A1 (en) 2020-10-15
CN107205126A (zh) 2017-09-26
CN107205126B (zh) 2020-04-24
US11039080B2 (en) 2021-06-15

Similar Documents

Publication Publication Date Title
WO2019000848A1 (zh) 一种控制方法及处理装置
US10372208B2 (en) Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system
US10353574B2 (en) Photographic apparatus, control method thereof, and non-transitory computer-readable recording medium
US7630015B2 (en) Light emission control method of flash device, light emission control program, and image sensing apparatus
US9191571B2 (en) Image capture apparatus that controls photographing according to photographic scene
US20130155253A1 (en) Apparatus and method for controlling a camera and infrared illuminator in an electronic device
WO2019007191A1 (zh) 控制方法、电子装置和计算机可读存储介质
US10735646B2 (en) Image-processing microprocessor for supporting an application processor
KR20170009089A (ko) 사용자의 제스쳐를 이용하여 기능을 제어하는 방법 및 촬영 장치.
JP6006083B2 (ja) 撮像装置および撮像方法
US20170026584A1 (en) Image processing apparatus and method of operating the same
JP6196105B2 (ja) 撮像装置および電子内視鏡装置
US11405551B2 (en) Imaging apparatus
JP6214229B2 (ja) 撮像装置、撮像装置の制御方法、画像処理装置および画像処理方法
JP2015016096A (ja) 電子内視鏡
EP3099059A1 (en) Camera having hdr during pre-flash
CN102970476A (zh) 用于显示全景图像的数字拍摄设备及其控制方法
JP6447595B2 (ja) 制御装置、処理実行装置、制御方法、処理実行方法及び制御システム
JP2015171139A (ja) 固体撮像装置及び適正露出の推定方法
JP2014011502A (ja) 撮像装置およびその制御方法
TW201803335A (zh) 影像處理裝置與方法及計算機可讀存儲介質
KR101575628B1 (ko) 디지털 영상신호 처리장치에서 플래시 광량을 제어하는 방법
JP6789672B2 (ja) 撮像装置、その制御方法とプログラム
JP6343191B2 (ja) 撮像装置及びその制御方法、コンピュータプログラム
JP6372697B2 (ja) 撮像装置、撮像制御方法及びプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17915655

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20/05/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17915655

Country of ref document: EP

Kind code of ref document: A1