Flashlight triggering method, device, computer-readable storage medium and terminal
By detecting the light intensity changes of background light, the flash switch is solved, and the problem of insufficient exposure of mobile phone or digital camera flash is achieved when there is insufficient light, simplified operation without additional connections and efficient flashing is achieved, improving user experience and shooting effect .
Patent Information
- Application Number
- CN202010083970.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-10
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2040-02-10
AI Technical Summary
The flashes of existing mobile phones or digital cameras are underexposed when there is insufficient light, and traditional methods require additional connection configurations, which are cumbersome and time-consuming, making them difficult to use easily.
The light intensity change of background light is detected by the light detector, and it is determined whether it is greater than the threshold to control the switch of the flash, without additional connection configuration, simplifying the operation process.
It improves the accuracy and user experience of flash operation, avoids energy waste, simplifies structural design, and adapts to different shooting environments.
Smart Images

Figure CN113315922B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a flashlight triggering method, device, computer-readable storage medium and terminal. Background Art
[0002] At present, with the progress of society and the continuous improvement of people's living standards, mobile phone cameras or cameras, especially digital cameras, are used more and more widely as a portable device to record the bits and pieces of people's lives. Any mobile phone camera or digital camera usually has a built-in flash, but its flash is generally small, so the flash coefficient is also low, and the effective flash distance is also very short. In the case of insufficient light and needing a flash to take pictures, the exposure of the mobile phone or digital camera will be insufficient if the flash distance is greater than a certain distance, making the photo bright near and dark far away, which is very unsatisfactory. In addition, the flash of a mobile phone or digital camera can usually only fill in the light at a close distance from the front, and cannot fill in the light at a long distance from the side or the front. Therefore, when taking pictures at night, the brightness of the flash of the mobile phone or digital camera itself is not enough. The usual way is to cooperate with other external flashes (auxiliary flashes) to fill in the light.
[0003] When using a mobile phone or digital camera to shoot, if you want to control the main flash and the sub-flash to flash together or separately, the traditional method is to use a flash cord (i.e., wire control method) or a wireless remote control method to achieve this. However, when using a flash cord, you need to use a flash cord to connect the main flash and the sub-flash, which will seriously hinder the shooting work. When using a wireless remote control method, the sub-flash needs to use a TTL interface protocol or other wireless variants to control, and transmit information including startup information, brightness, and color temperature in turn. It is necessary to establish an additional mechanical, electrical, or data connection circuit to start the flash triggering device. The processing process is cumbersome, the time cost and operating cost are high, and it is inconvenient for non-professional users to use.
[0004] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a flashlight triggering method, device, computer-readable storage medium and terminal, which are simple to operate and do not require additional connections for configuration. At the same time, they reduce the establishment of collaborative links and enhance the triggering efficiency.
[0006] A flashlight triggering method provided according to the present invention includes: obtaining the light intensity of background light; judging whether the light intensity of the background light changes; when the light intensity of the background light changes, judging whether the change in light intensity is greater than or equal to a first threshold; when the change in light intensity is greater than or equal to the first threshold, controlling the flashlight to enter or exit a flashing state according to the change direction of the light intensity.
[0007] Preferably, determining whether the intensity of the background light has changed includes: comparing whether the current intensity of the background light is consistent with the intensity of the background light acquired last time; if not, it indicates that the intensity of the background light has changed, otherwise, it indicates that the intensity of the background light has not changed.
[0008] Preferably, when the light intensity of the background light does not change, or the change in the light intensity is less than a first threshold, the current state of the flash is maintained.
[0009] Preferably, after the change in light intensity is greater than or equal to the first threshold, it also includes: judging whether the time when the light intensity changes is less than or equal to the second threshold; when the time when the light intensity changes is less than or equal to the second threshold, controlling the flash to enter or exit the flash state according to the direction of the light intensity change.
[0010] Preferably, when the time during which the light intensity changes is greater than a second threshold, the current state of the flash is maintained.
[0011] Preferably, controlling the flash to enter or exit the flash state according to the direction of change of light intensity includes: comparing whether the light intensity of the current background light is greater than the light intensity of the background light acquired last time; if the light intensity of the current background light is greater than the light intensity of the background light acquired last time, controlling the flash to enter the flash state; if the light intensity of the current background light is less than the light intensity of the background light acquired last time, controlling the flash to exit the flash state.
[0012] Preferably, the method further comprises: determining whether the time for the flashlight to enter the flash state reaches a third threshold, and if so, controlling the flashlight to exit the flash state.
[0013] A flash triggering device provided according to the present invention includes: a main flash, used to output a first light source; a sub-flash, used to start / stop outputting a second light source according to changes in the light intensity of the first light source; and a light detector, arranged in the sub-flash, used to detect the light intensity of external background light, and output a control signal when a sudden change in the light intensity of the background light is detected, the control signal being used to control the sub-flash to start / stop outputting the second light source.
[0014] Preferably, the light intensity of the background light includes at least one of the light intensity of the first light source and the light intensity of the object image emitted light formed after the first light source irradiates the object image.
[0015] Preferably, the light source area formed by the first light source irradiating the object is the first light source area, the light source area formed by the second light source irradiating the object is the second light source area, and the first light source area and the second light source area at least partially overlap.
[0016] Preferably, the flash triggering device further comprises: a power supply for providing power supply current to the main flash and / or the auxiliary flash.
[0017] Preferably, the flash triggering device also includes: an image sensor, which is used to collect an image of an object based on the object reflected light of the first light source and the second light source, obtain image parameters, and output an adjustment signal based on the image parameters, and the adjustment signal is used to adjust the power supply current.
[0018] Preferably, the cross-sectional shape of the first light source output by the main flash lamp and the second light source output by the auxiliary flash lamp is consistent with the cross-sectional shape of the image sensor receiving the reflected light of the object.
[0019] Preferably, the detector includes: an acquisition unit, used for acquiring the light intensity of the background light in real time; a first judgment unit, connected to the acquisition unit, receiving the light intensity of the background light, and used for judging whether the change in the light intensity of the background light reaches a first threshold when the light intensity of the background light changes, and outputting a first control signal when the change in the light intensity of the background light reaches the first threshold and is a positive change, or outputting a second control signal when the change in the light intensity of the background light reaches the first threshold and is a negative change, the first control signal is used to control the auxiliary flash to start outputting the second light source, and the second control signal is used to control the auxiliary flash to stop outputting the second light source.
[0020] Preferably, the detector also includes: a second judgment unit, located between the first judgment unit and the auxiliary flash, for judging whether the time for the light intensity of the background light to change is less than a second threshold when receiving the first control signal or the second control signal, and outputting a third control signal when the time for the light intensity of the background light to change is less than the second threshold, and the third control signal is used to control the auxiliary flash to start / stop outputting the second light source.
[0021] Preferably, the detector also includes: a reset unit, connected to the auxiliary flash, used to determine the time when the auxiliary flash outputs the second light source, and output a reset signal when the time when the auxiliary flash outputs the second light source reaches a third threshold, and the reset signal is used to control the auxiliary flash to stop outputting the second light source.
[0022] Preferably, the reset unit is a counter, which starts counting when the auxiliary flash lamp starts to output the second light source, and stops counting and is reset when the auxiliary flash lamp stops outputting the second light source.
[0023] According to a computer-readable storage medium provided by the present invention, a computer program is stored on the computer-readable storage medium, and when the computer program is executed, the flashlight triggering method as described above is implemented.
[0024] A terminal provided according to the present invention includes: a memory and a processor and a computer program stored in the memory, and the processor implements the above-mentioned flashlight triggering method when executing the computer program.
[0025] The beneficial effects of the present invention are as follows: the present invention discloses a flash light triggering method, device, computer-readable storage medium and terminal, which triggers a subsequent flash light (auxiliary flash light) through the light output of a preceding flash light (main flash light), without the need for additional connection configuration, thus avoiding the link of establishing coordinated flash between the main flash light and the auxiliary flash light, and enhancing the user experience.
[0026] By judging the increase or decrease of the light intensity, the start / stop flash of the auxiliary flash light is controlled, thereby improving the accuracy of the flash triggering operation.
[0027] By judging the speed of change of light intensity, the start / stop flash of the auxiliary flash can be controlled, avoiding the erroneous judgment caused by the lighting flicker of the background light and the brightness change of the object itself, and further improving the accuracy of the flash triggering operation.
[0028] By determining the time when the auxiliary flash enters the flash state, the auxiliary flash can automatically exit the flash state after a preset time has passed, thereby solving the problem that the auxiliary flash is always on when the main flash is not detected to have exited the flash state, thereby avoiding energy waste.
[0029] By providing a light detection device in the auxiliary flash to detect the increase or decrease in the light intensity of the background light caused by the light intensity of the main flash output, it is achieved that the light output of the preceding flash (main flash) can trigger the subsequent flash (auxiliary flash), thereby simplifying the structure and eliminating the need for additional connection configurations.
[0030] The image parameters of the captured image are acquired in real time through the image sensor, and an adjustment signal is output to change the supply current output by the power supply, so that the flash shooting with the light intensity suitable for the current environment can be automatically acquired, thereby improving the image shooting effect and user experience.
[0031] Using the first light source directly output by the main flash and the reflected light formed by reflection from the object as different initiating flashes can provide the most suitable initiating flashes for different positions of the auxiliary flash or different shooting angles of the object, thereby improving the initiating flash quality of the main flash to the auxiliary flash.
[0032] The cross-sectional shape of the illumination field of the main flash light and the auxiliary flash light is set to be consistent with the shape of the field of the image sensor acquiring the image, thereby improving the light utilization rate and further optimizing the shooting effect.
[0033] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.
[0035] Figure 1 A schematic diagram showing the structure of a flashlight triggering device provided by an embodiment of the present invention is shown;
[0036] Figure 2 A schematic diagram showing a flow chart of a flashlight triggering method provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of the structure of a light detector in a flashlight triggering device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0038] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0040] Flashlights can emit strong light in a very short time. They are photosensitive photography accessories. They store high voltage electricity in capacitors and discharge the flash tubes through pulse triggering to complete instant flash. They are mostly used for instant lighting in dark places, and also for partial fill light for the subject in bright places.
[0041] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
[0042] Figure 1 A schematic structural diagram of a flashlight triggering device provided in an embodiment of the present invention is shown.
[0043] like Figure 1 As shown, in this embodiment, the flash triggering device includes: a main flash 100 , a sub-flash 200 , a light detector 300 and an image sensor 400 .
[0044] The main flash lamp 100 is used to output a first light source.
[0045] The main flash 100 refers to a fill light device built into a terminal device such as a mobile phone or a camera.
[0046] Furthermore, the main flash lamp 100 can be any one of a light emitting diode flash lamp and a xenon flash lamp.
[0047] The sub-flash 200 is used to start or stop outputting a second light source according to a change in the light intensity of the first light source outputted by the main flash 100 .
[0048] In this embodiment, the auxiliary flash 200 is a flash externally mounted on a terminal device (the terminal device is equipped with a main flash 100), and is mainly triggered to enter / exit a flash state by the first light source output by the main flash 100, providing additional flash for photographing an object.
[0049] Furthermore, the triggering flash of the auxiliary flash 200 includes at least one of the first triggering flash and the second triggering flash. The first triggering flash is the first light source directly output by the main flash 100; the second triggering flash is the image emission light formed after the first light source output by the main flash 100 irradiates the object. In this way, the most suitable triggering flash can be provided for different positions of the auxiliary flash 200 or different shooting angles of the object, thereby improving the triggering quality of the main flash 100 to the auxiliary flash 200.
[0050] Optionally, the number of the auxiliary flashlights 200 can be one or more, which is not limited in the present invention. When there are multiple auxiliary flashlights 200, the above-mentioned flash triggering design can be used to achieve simultaneous flash triggering control of multiple auxiliary flashlights 200 located at different positions.
[0051] The light source area formed by the first light source output by the main flash 100 irradiating the object is the first light source area, and the light source area formed by the second light source output by the auxiliary flash 200 irradiating the object is the second light source area, and the first light source area and the second light source area at least partially overlap. It can be understood that the larger the overlap between the first light source area and the second light source area, the higher the utilization rate of light, and the stronger the fill light effect, and the better the shooting effect of the object.
[0052] Furthermore, the flash triggering device also includes a power supply for providing a power supply current to the main flash 100 and / or the auxiliary flash 200. In one embodiment of the present invention, the main flash 100 is powered by a battery of a terminal device, and the auxiliary flash 200 is powered by an external power supply device. In another embodiment of the present invention, the main flash 100 and the auxiliary flash 200 are powered by the same power supply device.
[0053] The light detector 300 is disposed in the auxiliary flash 200 and connected to the auxiliary flash 200 for detecting the intensity of external background light and outputting a control signal when a sudden change in the intensity of the background light is detected. The control signal is used to control the auxiliary flash 200 to start / stop outputting the second light source.
[0054] When the light detector 300 detects the light intensity of the external background light, if the change amount of the light intensity of the background light (i.e., the increase or decrease amount of the light intensity) reaches the first threshold, and the time for the light intensity of the background light to change is less than the second threshold (i.e., the change speed of the light intensity of the background light reaches the preset threshold), it is considered that the light intensity of the background light has changed suddenly, and at this time, the light detector 300 outputs a control signal to the auxiliary flash 200. The first threshold and the second threshold can be specific values or range values.
[0055] In this embodiment, as described above, the change in the light intensity of the external background light is mainly manifested as the change in the light intensity of the first light source output by the main flash lamp 100, that is, it includes at least one of the light intensity of the first light source and the light intensity of the light emitted by the object formed after the first light source irradiates the object. Therefore, by detecting the change in the light intensity of the external background light, the change in the light intensity of the first light source output by the main flash lamp 100 can be detected based on the initial background illumination.
[0056] Further, when the light detector 300 detects that the light intensity of the external background light has increased (a positive change occurs), and the increase reaches the first threshold, the control signal output by the light detector 300 controls the auxiliary flash light 200 to enter the flash state and output the second light source. When the light detector 300 detects that the light intensity of the external background light has decreased (a negative change occurs), and the decrease reaches the first threshold, the control signal output by the light detector 300 controls the auxiliary flash light 200 to exit the flash state and stop outputting the second light source.
[0057] In this embodiment, no matter the main flash lamp 100 and / or the sub-flash lamp 200 are in the lighting state or the non-light output state, the sub-flash lamp 200 can be directly put into the flashing state by using the flash lamp triggering device.
[0058] Furthermore, when the main flash 100 is turned off (does not output the first light source), whether the sub-flash 200 still outputs the second light source depends on whether the detection sensitivity of the light detector 300 in the sub-flash 200 can detect the brightness change of the main flash 100 .
[0059] The image sensor 400 is used to collect an image of an object according to the reflected light of the object from the first light source and the second light source, obtain image parameters, and output an adjustment signal according to the image parameters. The adjustment signal is used to adjust the supply current output by the power supply, thereby automatically obtaining a flash shot with a light intensity suitable for the current environment, thereby improving the image shooting effect and user experience.
[0060] In this embodiment, during the flash process, the image sensor 400 is used to obtain the brightness, color temperature and other parameter information of each frame of the captured image in real time, and then judge whether the output light intensity of the current flash is appropriate according to the parameter information of the current frame image obtained, and can output an adjustment signal according to different shooting requirements to adjust the current of the main flash 100 and / or the auxiliary flash 200, the size of the overlap area of the first light source area and the second light source area, and at least one of the exposure parameters corresponding to the aperture and shutter of the terminal device, so as to control the output light intensity of the main flash 100 and / or the auxiliary flash 200. In this way, it is possible to avoid presetting the flash parameters before flashing, simplify the operation process, and at the same time improve the flash effect according to different shooting requirements and environments, and enhance the quality of the captured image.
[0061] Furthermore, in this embodiment, the cross-sectional shape of the illumination field of the main flash 100 and the auxiliary flash 200 (i.e., the cross-sectional shape of the output first light source and the second light source) is consistent with the shape of the field of the image acquired by the image sensor 400 (i.e., the cross-sectional shape of the image sensor 400 receiving the reflected light of the object). This optical design further improves the light utilization rate and optimizes the shooting effect.
[0062] In this embodiment, the flash triggering device is provided with a light detection device in the auxiliary flash to detect the increase or decrease in the light intensity of the main flash output, and the triggering operation of the auxiliary flash is controlled according to the detection result, which simplifies the device structure and does not require the use of additional connection configuration, making it easy to use.
[0063] Figure 2 A schematic flow chart of a flashlight triggering method provided by an embodiment of the present invention is shown.
[0064] like Figure 2 As shown, in this embodiment, the flash light triggering method is to use the preceding flash light (corresponding to Figure 1 The light output change of the master flash 100 in the flash triggers the subsequent flashes (corresponding to Figure 1 The auxiliary flash 200 in the embodiment specifically comprises the following steps:
[0065] In step S1, the light intensity of the background light is acquired in real time.
[0066] In this embodiment, a light detector is provided in the flash lamp that is subsequently triggered, and the light detector is used to obtain the brightness intensity of the background light of the current shooting environment in real time.
[0067] In step S2, it is determined whether the light intensity of the background light changes.
[0068] In this embodiment, after the light detector collects the light intensity of the background light, it will compare whether the current light intensity of the background light is consistent with the light intensity of the background light acquired last time. If they are consistent, it means that the light intensity of the background light has not changed, and step S1 is repeated at this time, and step S6 is executed (maintaining the current state of the flash). If they are inconsistent, it means that the light intensity of the background light has changed, and then step S3 is continued.
[0069] Furthermore, the light intensity of the background light is mainly determined by the light output state of the preceding flashlight. When the light intensity of the background light remains unchanged, it means that the preceding flashlight is in a non-light output state, i.e., the preceding flashlight does not emit light, or is in an illumination state, i.e., the preceding flashlight is always on. When the light intensity of the background light changes, it means that the brightness of the first light source output by the preceding flashlight has changed.
[0070] In step S3, it is determined whether the change in light intensity is greater than or equal to a first threshold.
[0071] When using a terminal device to shoot an image, if fill light is needed for the image, the main flash on the terminal device needs to be in a flashing state. If an external auxiliary flash is needed to cooperate with the main flash to fill light for the image, the auxiliary flash also needs to be in a flashing state.
[0072] In this embodiment, when the auxiliary flash light is started / stopped by the light output of the main flash light to enter the flash state, it can be easily imagined that the main flash light should also be in the flash state at this time. In other words, in order to ensure high-quality shooting of the object and avoid energy waste, when the main flash light enters the flash state, the auxiliary flash light is also triggered to enter the flash state. Similarly, when the main flash light exits the flash state, it indicates that the shooting is completed at this time, and the auxiliary flash light should also be controlled to exit the flash state accordingly.
[0073] As mentioned above, whether the auxiliary flash can be activated depends on whether the main flash can generate sufficient light intensity increase or decrease or change based on the background light. Therefore, when the main flash triggers the auxiliary flash, it is necessary to first determine whether the main flash is in the state of entering / exiting the flash, that is, to determine whether the change in the light intensity of the background light is greater than or equal to a first threshold value (the first threshold value may also be a threshold range). If the change in the light intensity of the background light is greater than or equal to the first threshold value, it indicates that the main flash is in the state of entering / exiting the flash, and step S5 can be executed (controlling the flash to enter or exit the flash state according to the direction of the change in light intensity), or step S4 can be continued. If the change in the light intensity of the background light is less than the first threshold value, it indicates that the main flash is an invalid flash, or the light intensity change is caused by other interference factors, and step S1 is executed again, and step S6 is executed (maintaining the current state of the flash).
[0074] Furthermore, in step S5, controlling the flashlight to enter or exit the flash state according to the direction of change in light intensity includes: comparing whether the light intensity of the current background light is greater than the light intensity of the background light acquired last time; if the light intensity of the current background light is greater than the light intensity of the background light acquired last time, that is, the light intensity change of the background light is a positive change, and the main flashlight enters the flash state, then the flashlight is controlled to enter the flash state. If the light intensity of the current background light is less than the light intensity of the background light acquired last time, that is, the light intensity change of the background light is a negative change, and the main flashlight is exiting the flash state, then the flashlight is controlled to exit the flash state. The flash triggering method is simple and easy to operate.
[0075] Furthermore, when the main flash light is turned off, that is, when it exits the flash state, whether the auxiliary flash light can detect the change in light intensity caused by the turning off of the main flash light depends on the detection sensitivity of the light detector inside it, that is, when the light detector collects the light intensity of the background light, the shorter the time interval between two adjacent collections, the higher the detection sensitivity, and the auxiliary flash light can exit the flash state sooner when the main flash light is turned off.
[0076] In step S4, it is determined whether the time during which the light intensity changes is less than or equal to a second threshold.
[0077] In this embodiment, since the background light may cause flickering or brightness changes of the object itself, when judging the change in the light intensity of the background light, it is also necessary to additionally judge whether the speed of change in the light intensity of the background light reaches a preset threshold, to ensure that the secondary flash can be triggered only when the light intensity output by the main flash changes rapidly, so as to avoid misjudgment and affect the user experience.
[0078] Furthermore, the method for determining whether the speed of change of the light intensity of the background light reaches a preset threshold is: determining whether the time for the light intensity of the background light to reach a first threshold is less than or equal to a second threshold. If the time for the light intensity of the background light to reach the first threshold is less than or equal to the second threshold, it further indicates that the change of the light intensity of the main flash light is indeed a process of entering / exiting the flash state, and step S5 can be continued (controlling the flash light to enter or exit the flash state according to the direction of the change of the light intensity). If the time for the light intensity of the background light to reach the first threshold is greater than the second threshold, it indicates that the change of the light intensity of the main flash light is caused by other factors, and step S6 is executed at this time (maintaining the current state of the flash light).
[0079] Furthermore, if the light detector in the auxiliary flash lamp does not detect that the main flash lamp exits the flash state, that is, does not detect that the light intensity of the background light changes negatively and the change in light intensity reaches the first threshold, the auxiliary flash lamp will automatically exit the flash state after exceeding the preset time. Specifically, it is determined whether the time when the auxiliary flash lamp enters the flash state reaches the third threshold. If so, the auxiliary flash lamp is controlled to exit the flash state. In this way, the problem of the auxiliary flash lamp being always on when the main flash lamp is not detected to exit the flash state is solved, and energy waste can be avoided.
[0080] In this embodiment, no matter the main flash lamp 100 and / or the sub-flash lamp 200 are in the lighting state or the non-light output state, the sub-flash lamp 200 can be directly put into the flashing state by using the flash lamp triggering method.
[0081] In this embodiment, the flash triggering device triggers the subsequent flash (sub-flash) through the light output of the preceding flash (main flash), thus simplifying the structure and eliminating the need for additional connection configurations. At the same time, the start / stop flash of the sub-flash is controlled by parameters such as the increase or decrease amount and change speed of the light intensity, thereby avoiding erroneous judgments caused by illumination flickering in the background light and brightness changes of the object itself, and avoiding the link of the main flash and the sub-flash to establish coordinated flash, thereby improving the accuracy of the triggering operation and enhancing the user experience.
[0082] Figure 3 A schematic diagram of the structure of a light detector in a flashlight triggering device provided by an embodiment of the present invention is shown.
[0083] like Figure 3 As shown, in this embodiment, the light detector 300 includes: an acquisition unit 301 and a first judgment unit 302 .
[0084] The acquisition unit 301 is used to acquire the light intensity of the background light in real time.
[0085] The first judgment unit 302 is connected to the acquisition unit 301, receives the light intensity of the background light, and is used to judge the direction of change of the light intensity of the background light and whether the change amount reaches the first threshold when the light intensity of the background light changes, and outputs a first control signal when the light intensity of the background light changes positively and the change amount reaches the first threshold, or outputs a second control signal when the light intensity of the background light changes negatively and the change amount reaches the first threshold. The first control signal is used to control the auxiliary flash 200 to enter the flash state, and the second control signal is used to control the auxiliary flash 200 to exit the flash state. The light detector 300 has a simple structure, can directly trigger the auxiliary flash according to the change of the light intensity of the background light, and is easy to operate.
[0086] In a preferred embodiment, the light detector 300 further includes a second judgment unit 303. The second judgment unit 303 is located between the first judgment unit 302 and the auxiliary flash 200, and is used to judge whether the time for the light intensity of the background light to change is less than the second threshold when receiving the first control signal or the second control signal, and output a third control signal when the time for the light intensity of the background light to change is less than the second threshold, and the third control signal is used to control the auxiliary flash 200 to enter or exit the flash state. By adding the time parameter, the speed at which the light intensity of the background light changes can be judged, which further ensures the judgment of whether the light intensity change of the background light is the previous flash (main flash) entering or exiting the flash state, which can well avoid misjudgment.
[0087] Furthermore, in a preferred embodiment, the light detector 300 further includes a reset unit 304. The reset unit 304 is connected to the auxiliary flash lamp 200 and is used to determine the time when the auxiliary flash lamp 200 enters the flash state, and output a reset signal when the time when the auxiliary flash lamp 200 enters the flash state reaches a third threshold value, so as to control the auxiliary flash lamp 200 to exit the flash state. This can avoid energy waste caused by the light detector 300 failing to detect changes in the light intensity of the background light for a long time.
[0088] Optionally, the reset unit 304 is a counter, which starts counting when the auxiliary flash lamp 200 enters the flash state, and controls the auxiliary flash lamp 200 to exit the flash state when the count reaches a preset threshold, and the count is reset to zero.
[0089] It is understandable that the above-mentioned judgment units and reset units can be realized by corresponding software circuit control, the circuit structure is simple, and full automatic judgment can be achieved, which is convenient to use.
[0090] Based on the same inventive concept, the present invention further discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the flashlight triggering method as described above can be implemented.
[0091] Among them, computer-readable storage media may include, but are not limited to, any type of floppy disk, optical disk, DVD, CD-ROM, micro drive and magneto-optical disk, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory device, magnetic card or optical card, nano system (including molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0092] Based on the same inventive concept, the present invention also discloses a terminal, including a memory, a processor and a computer program stored in the memory, and the processor can implement the flash light triggering method as described above when executing the computer program.
[0093] In summary, the flash triggering device and method disclosed in the present invention realizes that the light output of the preceding flash (main flash) triggers the subsequent flash (sub-flash) by arranging a light detection device in the sub-flash to detect the increase or decrease in the light intensity of the background light caused by the light intensity of the main flash output, thereby simplifying the structure and eliminating the need for additional connection configurations. At the same time, the start / stop flash of the sub-flash is controlled by parameters such as the increase or decrease in light intensity and the speed of change, thereby avoiding erroneous judgments caused by the illumination flicker of the background light and the brightness change of the object itself, and avoiding the link of the main flash and the sub-flash to establish a coordinated flash, thereby improving the accuracy of the flash triggering operation and enhancing the user experience.
[0094] On the other hand, the auxiliary flash can provide the most suitable triggering light for different positions of the auxiliary flash or different shooting angles of the object by detecting the output light of the main flash and / or the light reflected by the object to trigger the flash, thereby improving the triggering effect and quality. The cross-sectional shape of the illumination field of the main flash and the auxiliary flash is consistent with the shape of the field of image acquisition. With this optical design, the light utilization rate is further improved.
[0095] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0096] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.
Claims
1. A flashlight triggering method, characterized in that: The invention is applied to a flash triggering device, the flash triggering device comprises: a main flash, a sub-flash and a light detector, the main flash is used to output a first light source; the sub-flash is used to start / stop outputting a second light source according to the change of the light intensity of the first light source; the light detector is arranged in the sub-flash, The flashlight triggering method comprises: Get the light intensity of the background light; Determining whether the light intensity of the background light changes, wherein the light intensity change of the background light is manifested as a change in the light intensity of the first light source output by the main flash lamp; When the light intensity of the background light changes, determining whether the change in light intensity is greater than or equal to a first threshold; When the change in light intensity is greater than or equal to the first threshold, determining whether the time for which the light intensity changes is less than or equal to a second threshold; When the time during which the light intensity changes is less than or equal to the second threshold, the auxiliary flash lamp is controlled to enter or exit the flash state according to the direction of the light intensity change, Wherein, controlling the flashlight to enter or exit the flash state according to the change direction of the light intensity includes: Comparing whether the current light intensity of the background light is greater than the light intensity of the background light acquired last time; If the current light intensity of the background light is greater than the light intensity of the background light acquired last time, the auxiliary flash light is controlled to enter a flashing state, If the current light intensity of the background light is less than the light intensity of the background light acquired last time, the auxiliary flash light is controlled to exit the flash state.
2. The flashlight triggering method according to claim 1, characterized in that: Determining whether the light intensity of the background light changes includes: Compare whether the current background light intensity is consistent with the background light intensity acquired last time; If they are inconsistent, it means that the light intensity of the background light has changed, otherwise, it means that the light intensity of the background light has not changed.
3. The flashlight triggering method according to claim 2, characterized in that: When the light intensity of the background light does not change, or the change in light intensity is less than the first threshold, the current state of the flash is maintained.
4. The flashlight triggering method according to claim 1, characterized in that: When the time during which the light intensity changes is greater than the second threshold, the current state of the flash is maintained.
5. The flashlight triggering method according to claim 1 or 4, characterized in that: Also includes: It is determined whether the time for the flashlight to enter the flash state reaches a third threshold, and if so, the flashlight is controlled to exit the flash state.
6. A flashlight triggering device, characterized in that: include: A main flash lamp, used for outputting a first light source; A secondary flashlight, used to start / stop outputting a second light source according to changes in the light intensity of the first light source; as well as a light detector, arranged in the auxiliary flash lamp, for detecting the light intensity of external background light, and outputting a control signal when detecting a sudden change in the light intensity of the background light, wherein the control signal is used to control the auxiliary flash lamp to start / stop outputting the second light source, wherein the change in the light intensity of the background light is manifested as a change in the light intensity of the first light source output by the main flash lamp; When the change in light intensity is greater than or equal to the first threshold, and the time for the light intensity to change is less than or equal to the second threshold, it is determined that a sudden change in light intensity occurs. Wherein, the detector comprises: An acquisition unit, used for acquiring the light intensity of the background light in real time; a first judging unit connected to the acquiring unit, receiving the light intensity of the background light, and used for judging whether the change amount of the light intensity of the background light reaches a first threshold value when the light intensity of the background light changes, and outputting a first control signal when the change amount of the light intensity of the background light reaches the first threshold value and changes in a positive direction, or outputting a second control signal when the change amount of the light intensity of the background light reaches the first threshold value and changes in a negative direction, The first control signal is used to control the auxiliary flash light to start outputting the second light source, and the second control signal is used to control the auxiliary flash light to stop outputting the second light source.
7. The flash triggering device according to claim 6, characterized in that: The light intensity of the background light includes at least one of the light intensity of the first light source and the light intensity of the object emission light formed after the first light source irradiates the object.
8. The flash triggering device according to claim 6, characterized in that: The light source area formed by the first light source irradiating the object is the first light source area, and the light source area formed by the second light source irradiating the object is the second light source area. The first light source region at least partially overlaps with the second light source region.
9. The flash triggering device according to claim 6, characterized in that: The flashlight triggering device also includes: A power supply is used to provide a power supply current to the main flash light and / or the auxiliary flash light.
10. The flash triggering device according to claim 9, characterized in that: The flashlight triggering device also includes: an image sensor, configured to collect an image of an object according to the reflected light of the object from the first light source and the second light source, obtain image parameters, and output an adjustment signal according to the image parameters, The regulating signal is used to regulate the supply current.
11. The flash triggering device according to claim 10, characterized in that: The cross-sectional shape of the main flash lamp outputting the first light source and the sub-flash lamp outputting the second light source is consistent with the cross-sectional shape of the image sensor receiving the reflected light of the object.
12. The flash triggering device according to claim 6, characterized in that: The detector also includes: a second judgment unit, located between the first judgment unit and the auxiliary flash, for judging whether the time during which the light intensity of the background light changes is less than a second threshold upon receiving the first control signal or the second control signal, and outputting a third control signal when the time during which the light intensity of the background light changes is less than the second threshold, The third control signal is used to control the auxiliary flash to start / stop outputting the second light source.
13. The flash triggering device according to claim 12, characterized in that: The detector also includes: a reset unit connected to the auxiliary flash lamp, and configured to determine a time when the auxiliary flash lamp outputs the second light source, and output a reset signal when the time when the auxiliary flash lamp outputs the second light source reaches a third threshold, The reset signal is used to control the auxiliary flash lamp to stop outputting the second light source.
14. The flash triggering device according to claim 13, characterized in that: The reset unit is a counter, which starts counting when the auxiliary flash light starts to output the second light source, and stops counting and is reset when the auxiliary flash light stops outputting the second light source.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the flash triggering method according to any one of claims 1 to 5 is implemented.
16. A terminal, characterized in that: include: Memory and processor; The memory stores a computer program, and when the processor executes the computer program, the flash triggering method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Photographing apparatus
CN103402296A
Flash module and shooting system using flash module
CN105991917A
Method of controlling flashing time of external flash lamp
CN106303268A
Terminal, supplementary lighting adjustment method of terminal and computer readable storage medium
CN107613222A
Flash light control method and control system based on intelligent terminal
CN107888842A
