Illumination device, illumination device control method, control device, medium, and product
By using an adjustable aperture stop and controller in the security monitoring system to adjust the aperture and light distribution curve, the problems of glare and overexposure caused by supplementary lighting equipment were solved, and high-quality monitoring of the image acquisition device in low-light environments was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-22
- Publication Date
- 2026-04-14
AI Technical Summary
In nighttime or low-light environments, the light emitted by the supplementary lighting equipment of a security monitoring system may be reflected by the environment or objects within the monitored area onto the camera lens, causing glare and affecting image quality.
An adjustable aperture and controller are used to adjust the aperture and light distribution curve of the aperture according to the current image brightness of the image acquisition device, thereby reducing local image brightness and avoiding glare and overexposure.
Without changing the light source intensity, improve the image quality of the image acquisition device, ensure consistent brightness in different local areas, reduce glare and overexposure, and enhance the monitoring effect.
Smart Images

Figure CN121865080A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical technology, and in particular to a lighting device, a control method for the lighting device, a control device for the lighting device, a computer-readable storage medium, and a computer program product. Background Technology
[0002] In related technologies, security monitoring systems typically need to operate 24 / 7. Therefore, in nighttime or low-light environments, supplementary lighting equipment is often required to ensure image clarity. However, the light emitted by the supplementary lighting equipment may be reflected by objects in the environment or within the monitored area onto the camera lens, causing glare, severely interfering with image quality, and consequently affecting the normal monitoring effect on the main monitored area. Summary of the Invention
[0003] This application provides a lighting device, a control method for the lighting device, a control device for the lighting device, a computer-readable storage medium, and a computer program product.
[0004] This application provides a lighting device for an image acquisition device, the device comprising: light source; An aperture stop is provided on the aperture stop, and the light emitted by the light source passes through the aperture stop to form illumination light for illuminating the image acquisition area of the image acquisition device; The controller is configured to determine the brightness state of the current image based on the current image acquired by the image acquisition device, and, when the current image is in a local image high brightness state, adjust the aperture of the through hole to change the light distribution curve of the illumination light, so as to reduce the brightness of the local image.
[0005] Thus, in this embodiment, the brightness state of the current image can be determined based on the current image captured by the image acquisition device. When the current image is in a state of local image overexposure, the aperture of the through hole can be adjusted to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image. This can improve or eliminate the overexposure state of the local image without changing the light intensity of the light source, thereby ensuring the brightness consistency between different local areas in the current image captured by the image acquisition device. This improves the glare phenomenon caused by the light emitted by the lighting device being reflected by objects in the environment or monitoring area to the lens of the image acquisition device, and can also improve the local overexposure phenomenon of the current image caused by excessive light emitted by the lighting device. This ensures that the lighting effect of the lighting device and the image acquisition effect of the image acquisition device can both be guaranteed.
[0006] In some embodiments of this application, the lighting device further includes a light guide, wherein the light emitted by the light source passes sequentially through the through hole of the aperture and the light guide to form illumination light for illuminating the image acquisition area.
[0007] Thus, in this embodiment of the application, the light emitted by the light source can pass through the aperture of the aperture and the light guide in sequence to form illumination light. The optical guiding effect of the light guide can ensure the uniform distribution of illumination light in the image acquisition area, thereby ensuring the illumination effect of the lighting device on the image acquisition area.
[0008] In some embodiments of this application, the light guide includes a lamp cup.
[0009] In some embodiments of this application, the light source includes a driving unit and a light-emitting unit. The controller is connected to the driving unit, and the driving unit is connected to the light-emitting unit. The driving unit drives the light-emitting unit to emit light when it receives a light-emitting driving command from the controller.
[0010] Thus, in this embodiment, the light source can be implemented through a driving unit and a light-emitting unit. When the driving unit in the light source receives the light-emitting driving command from the controller, it drives the light-emitting unit in the light source to emit light, thereby ensuring the stable light emission of the light source to a certain extent.
[0011] This application provides a method for controlling a lighting device, the method being applied to the aforementioned lighting device, the method comprising: The brightness state of the current image is determined based on the current image captured by the image acquisition device. When the current image is in a state of local image highlighting, the aperture of the through hole is adjusted to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image.
[0012] Thus, in this embodiment, the brightness state of the current image can be determined based on the current image captured by the image acquisition device. When the current image is in a state of local image overexposure, the aperture of the through hole can be adjusted to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image. This can improve or eliminate the overexposure state of the local image without changing the light intensity of the light source, thereby ensuring the brightness consistency between different local areas in the current image captured by the image acquisition device. This improves the glare phenomenon caused by the light emitted by the lighting device being reflected by objects in the environment or monitoring area to the lens of the image acquisition device, and can also improve the local overexposure phenomenon of the current image caused by excessive light emitted by the lighting device. This ensures that the lighting effect of the lighting device and the image acquisition effect of the image acquisition device can both be guaranteed.
[0013] In some embodiments of this application, determining the brightness state of the current image based on the current image acquired by the image acquisition device includes: The current image is split into multiple sub-region images; Determine the brightness of each of the sub-region images; When there is a target sub-region image with a brightness higher than a preset threshold, the current image is determined to be in a local image highlight state.
[0014] Thus, in this embodiment of the application, the current image can be split into multiple sub-region images, and the brightness of each sub-region image can be determined. When there is a target sub-region image with a brightness higher than a preset threshold, it is determined that the current image is in a local image bright state, thereby realizing the determination of the brightness state of the current image. This allows for accurate judgment of whether the current image is in a local image bright state, thereby ensuring the robust triggering of the subsequent aperture adjustment logic.
[0015] In some embodiments of this application, when the current image is in a locally bright state, adjusting the aperture of the via to change the light distribution curve of the illumination light, thereby reducing the brightness of the locally bright image, includes: When the current image is in a locally bright state, the aperture of the through hole is adjusted according to the relative distance between the target sub-region image and the center point of the current image to change the light distribution curve of the illumination light, thereby reducing the brightness of the target sub-region image.
[0016] Thus, in this embodiment of the application, when the current image is in a locally bright state, the aperture of the aperture can be adjusted according to the relative distance between the target sub-region image and the image center point of the current image to change the light distribution curve of the illumination light, thereby reducing the brightness of the target sub-region image and achieving robust adjustment of the aperture.
[0017] In some embodiments of this application, the method further includes: When preset lighting conditions are met, the light source is controlled to emit light, wherein the preset lighting conditions include at least one of the following: The current time is within the preset time period; The ambient light intensity is less than or equal to the preset light intensity threshold; The brightness parameter of the current image is less than or equal to a preset brightness threshold; A target object was detected in the current image.
[0018] Thus, in this embodiment, the light source can be controlled to emit light when preset lighting conditions are met, thereby achieving stable start-up and shutdown of the light source in the lighting device. Simultaneously, to avoid energy consumption caused by controlling the light source to emit light in well-lit environments, This application provides a control device for a lighting device, the device being applied to the aforementioned lighting device, the device comprising: The status determination module is used to determine the brightness status of the current image based on the current image acquired by the image acquisition device. An aperture adjustment module is used to adjust the aperture of the through hole to change the light distribution curve of the illumination light when the current image is in a local image highlight state, thereby reducing the brightness of the local image.
[0019] This application provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the above-described control method for a lighting device.
[0020] This application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-described control method for a lighting device.
[0021] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein: Figure 1 This is a schematic diagram of a lighting device in some embodiments of this application; Figure 2 This is a flowchart illustrating the control method of the lighting device in some embodiments of this application; Figure 3 This is a flowchart illustrating the control method of the lighting device in some embodiments of this application; Figure 4 This is a flowchart illustrating the control method of the lighting device in some embodiments of this application; Figure 5 This is a flowchart illustrating the control method of the lighting device in some embodiments of this application. Detailed Implementation
[0023] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0024] In the field of security monitoring, to meet the needs of 24 / 7 monitoring, external supplementary lighting devices are required at night or in low ambient light conditions to ensure monitoring effectiveness. Common supplementary lighting devices typically consist of LED (Light Emitting Diode) chips and fixed lamp cups or covers. To cover the entire screen at night, the light distribution curve is usually designed to match the monitoring angle, but the overall brightness can only be adjusted via PWM (Pulse Width Modulation), and the angle itself is not adjustable. However, external supplementary lighting may be reflected back to the camera lens by the environment or objects in the monitored area, causing abnormal glare that significantly affects monitoring effectiveness, or triggering overexposure protection, leading to a decrease in the brightness of the supplementary lighting device and thus affecting the monitoring effect of the main monitored area.
[0025] Specifically, in practical applications, when an IPC (Internet Protocol Camera) is installed under eaves or surrounded by obstructions, its large field of view means that even adjusting the installation angle generally cannot completely prevent the surrounding environment from entering the frame. Therefore, during nighttime monitoring, the light emitted by the supplementary lighting device may shine on the eaves or obstructions, reflecting off the IPC lens and causing abnormal glare and blurring, severely impacting monitoring effectiveness. The conventional solution is to reduce the brightness of the supplementary lighting device to alleviate the glare problem. However, reducing the brightness of the supplementary lighting device also reduces the monitoring distance and the image quality.
[0026] Meanwhile, a small number of supplemental lighting devices employ an array-style combination of multiple LEDs and lamp cups. This array-style combination achieves a variable light distribution curve by adjusting the on / off state or brightness of each array of LEDs. However, this array-style solution requires a large number of LEDs to form an array, necessitating a large structural area to meet the array requirements. It also involves the combination of numerous sub-optical systems, making optical design highly complex. Furthermore, it may require a significant amount of hardware materials such as LEDs, LED drivers, and lamp cups, resulting in higher costs.
[0027] Based on the issues mentioned above, please refer to Figure 1This application provides an illumination device for an image acquisition device. The device includes: a light source; an aperture with an adjustable aperture, through which light emitted from the light source passes to form illumination light for illuminating the image acquisition area of the image acquisition device; and a controller 130 configured to determine the brightness state of the current image acquired by the image acquisition device, and, when the current image is in a locally bright state, adjust the aperture of the aperture to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image.
[0028] Corresponding to the above-described lighting device, this application also provides a control method for the above-described lighting device; please refer to the details below. Figure 2 , Figure 2 This is a flowchart illustrating a control method for a lighting device in certain embodiments of this application. Specifically, the control method may include: 21: Determine the brightness state of the current image based on the image captured by the image acquisition device; 22: When the current image is in a state of local image brightness, adjust the aperture of the through hole to change the light distribution curve of the illumination light, so as to reduce the brightness of the local image.
[0029] This application provides a control device for a lighting apparatus. The control method of the lighting apparatus according to this application can be implemented by the control device of the lighting apparatus according to this application. Specifically, the control device includes a state determination module and an aperture adjustment module. The state determination module is used to determine the brightness state of the current image based on the current image acquired by the image acquisition device. The aperture adjustment module is used to adjust the aperture of the through-hole to change the light distribution curve of the illumination light when the current image is in a locally bright state, thereby reducing the brightness of the local image.
[0030] Specifically, considering that image acquisition devices such as IPCs (Internet Protocol Cameras) can be supplemented with external lighting to ensure image acquisition when operating at night or in low-light environments, the supplementary light is easily reflected by obstructions (such as eaves) or environmental objects in the monitored area, resulting in abnormally bright phenomena such as glare and overexposure in some parts of the image, affecting the clarity of the image. Therefore, this application provides a lighting device adapted to the image acquisition device. Through the coordinated work of a light source, an adjustable aperture, and a controller, when it is determined that the image acquired by the image acquisition device is in a locally bright state based on the real-time image of the image acquisition device, the aperture size of the aperture is adjusted to change the light distribution curve of the illumination light, and finally reduce the brightness of the locally bright area, thereby improving abnormally bright phenomena such as glare and overexposure in the image.
[0031] In some implementations, the lighting device can be understood as a device that provides supplementary lighting support for the image acquisition device to ensure that the image acquisition device can stably acquire clear images in low-light environments such as at night.
[0032] In some implementations, the image acquisition device can be understood as an IPC or other device with image capture capabilities, which can perform real-time image acquisition of a preset area and output a real-time image of that area.
[0033] In some implementations, the lighting device may be integrated into the image acquisition device.
[0034] In some implementations, the lighting device may be a device that is set up independently of the image acquisition device, and the lighting device and the image acquisition device are connected by wired or wireless means.
[0035] In some implementations, the light source can be understood as a light-emitting component of an illumination device, capable of emitting light to provide necessary illumination supplementation to the image acquisition area.
[0036] In some implementations, the light source can be an LED fill light, that is, a fill light that uses an LED (Light Emitting Diode) as its light source.
[0037] In some implementations, the aperture can be understood as a field aperture with a specific through-hole, and the size of the through-hole can be adjusted. The through-hole can be understood as a channel on the aperture that allows light to pass through, and the size of the aperture is related to the total amount and distribution pattern of the light passing through. Therefore, by adjusting the size of the through-hole, the total amount and distribution pattern of the light passing through the aperture can be controlled accordingly, thereby changing the light distribution curve of the output light.
[0038] For example, with the distance between the lighting device and the image plane remaining constant, a larger aperture of the aperture allows more light from the light source to pass through it. This light, emitted from a larger area, forms a wider beam angle, resulting in a wider illumination range and higher overall average illuminance on the image plane, ultimately producing a broad and bright image with a smoother brightness transition from the center to the edge. Conversely, a smaller aperture allows less light from the light source to pass through it. This light, emitted from a larger area, forms a narrower beam angle, resulting in a narrower illumination range and lower overall average illuminance on the image plane, ultimately producing a narrow and dark image with a more abrupt brightness transition from the center to the edge.
[0039] In some implementations, illumination light can be understood as light emitted by a light source that, after being filtered through an aperture, is finally projected onto the image acquisition area of the image acquisition device to illuminate that image acquisition area.
[0040] In some implementations, the controller can be understood as a component with data processing, status judgment and command sending capabilities, which can be responsible for brightness analysis of the image output by the image acquisition device and for adjusting the size of the aperture.
[0041] In some implementations, the controller is a CPU (Central Processing Unit).
[0042] In some implementations, the lighting device can be integrated into the image acquisition device, and the controller of the lighting device and the controller of the image acquisition device can be the same component. Specifically, the image acquisition device can control the light source to emit light to form illumination light for illuminating the image acquisition area, and then acquire images of the image acquisition area in real time. Based on the acquired images, the aperture size of the aperture can be adjusted to avoid abnormally bright phenomena such as glare and overexposure in the acquired images.
[0043] In some implementations, the lighting device can be a device that is set up independently of the image acquisition device, and the lighting device and the image acquisition device are connected by wired or wireless means. Then, after the lighting device controls the light source to emit light to form illumination light for illuminating the image acquisition area, the image acquisition device can acquire images of the image acquisition area in real time and send the acquired images to the controller of the lighting device. The controller of the lighting device then adjusts the aperture size of the aperture according to the acquired images to avoid abnormal bright phenomena such as glare and overexposure in the acquired images.
[0044] In some implementations, the current image acquired by the image acquisition device can be understood as the image data that the image acquisition device captures and transmits in real time, reflecting the current status of the monitored area.
[0045] In some implementations, the brightness state of the current image can be understood as the overall and local brightness characteristics of the current image.
[0046] In the graphical implementation, the brightness state of the current image may include a local image bright state and an overall normal brightness state. The local image bright state can be understood as an abnormal brightness situation such as overexposure or glare in a local part of the current image, while the overall normal brightness state can be understood as no abnormal brightness situation such as overexposure or glare in any part of the current image.
[0047] In some implementations, a localized image highlight state can be understood as a situation where the brightness of certain areas in the current image is significantly higher than the normal range, resulting in a blurred image and loss of detail. It is understood that a localized image highlight state may be caused by light reflection, glare from obstructions, or other factors.
[0048] In some implementations, the light distribution curve (or light distribution curve) can be understood as a curve describing the light intensity distribution pattern of illumination light (or light source) in different directions and areas of space (i.e., the image acquisition area). The shape of the curve can directly reflect the illumination intensity and uniformity of each area in the space.
[0049] To more clearly illustrate the working principle of the image acquisition device provided in this application and the control method of the lighting device provided in this application, please refer to the following exemplary description: First, the controller activates the light source to emit light. The light emitted by the light source passes through the aperture on the aperture, forming illumination that covers the acquisition area of the image acquisition device, thus providing sufficient lighting for image acquisition.
[0050] At the same time or after the light source is turned on, the controller continuously acquires (or receives) the current image transmitted by the image acquisition device and performs real-time analysis on the current image to determine the brightness status of the image.
[0051] Furthermore, when the controller detects that there is a local bright state in the current image, it sends an adjustment command to the aperture to change the aperture size without adjusting the light intensity of the light source. This adjusts the range and intensity distribution of the light passing through the aperture, thereby changing the light distribution curve of the illumination light. As a result, the intensity of the illumination light received by the local area that was originally in a bright state will be reduced accordingly, while the illumination of other normal areas will not be affected, thus achieving efficient adjustment of the illumination light.
[0052] For example, if overexposure or glare occurs in the upper left edge area of the current image, it indicates that the overexposure or glare may be due to the beam angle of the fill light being too wide, causing excessive light to cover the edge area, or there is stray light directly hitting the lens in the edge area. In this case, the aperture can be reduced, such as by 10%, thereby reducing the total amount of light generated by the light source and passing through the aperture, thus narrowing the beam angle, and ultimately reducing the illuminance in the edge area, so that the brightness of the area returns to the normal range, while making the light more concentrated in the center area of the image, avoiding excessive brightness at the edges.
[0053] Thus, in this embodiment, the brightness state of the current image can be determined based on the current image captured by the image acquisition device. When the current image is in a state of local image overexposure, the aperture of the through hole can be adjusted to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image. This can improve or eliminate the overexposure state of the local image without changing the light intensity of the light source, thereby ensuring the brightness consistency between different local areas in the current image captured by the image acquisition device. This improves the glare phenomenon caused by the light emitted by the lighting device being reflected by objects in the environment or monitoring area to the lens of the image acquisition device, and can also improve the local overexposure phenomenon of the current image caused by excessive light emitted by the lighting device. This ensures that the lighting effect of the lighting device and the image acquisition effect of the image acquisition device can both be guaranteed.
[0054] Furthermore, since there is no need to reduce the brightness of the light source to alleviate glare, the image acquisition distance and image quality of the image acquisition device can be guaranteed. At the same time, because local overexposure and glare are improved by adjusting the aperture, compared to solutions using arrays of multiple LEDs and lamp cups, the lighting device provided in this application has a simpler structure and lower design difficulty, thus effectively controlling material, production, and design costs. This allows it to adapt to different installation scenarios (such as under eaves or in environments with obstructions), and by adaptively adjusting the supplementary lighting distribution, it improves the image clarity and acquisition reliability of the image acquisition device at night or in low-light environments, meeting the needs of high-quality 24-hour monitoring.
[0055] Please refer to it again. Figure 1 In some embodiments provided in this application, the lighting device further includes a light guide, wherein the light emitted by the light source passes sequentially through the aperture of the aperture and the light guide to form illumination light for illuminating the image acquisition area.
[0056] Specifically, in order to ensure that the light generated by the light source and passing through the through hole can be accurately projected onto the image acquisition area of the image acquisition device to form illumination light, in some embodiments provided in this application, the lighting device is also provided with a light guide, so that the light emitted by the light source can pass through the through hole of the aperture and the light guide in sequence to form illumination light. Thus, the optical guiding effect of the light guide can ensure the uniform distribution of illumination light in the image acquisition area, thereby ensuring the illumination effect of the lighting device on the image acquisition area.
[0057] In some implementations, a light guide can be understood as a functional component in an illumination device used to guide the propagation path of light and optimize the distribution pattern of light. It can further directional, focus, or diverge the light after it has been filtered by the aperture, so that the illumination light can be evenly distributed in the image acquisition area of the image acquisition device.
[0058] In some embodiments provided in this application, the light guide includes a lamp cup.
[0059] In one example, after the controller starts the light source to emit light, the propagation logic of the light projected onto the video acquisition area by the lighting device can be "light source → aperture → light guide → video acquisition area".
[0060] Thus, in this embodiment of the application, the light emitted by the light source can pass through the aperture of the aperture and the light guide in sequence to form illumination light. The optical guiding effect of the light guide can ensure the uniform distribution of illumination light in the image acquisition area, thereby ensuring the illumination effect of the lighting device on the image acquisition area.
[0061] Please refer to it again. Figure 1 In some embodiments provided in this application, the light source includes a driving unit and a light-emitting unit. The controller is connected to the driving unit, and the driving unit is connected to the light-emitting unit. The driving unit drives the light-emitting unit to emit light when it receives a light-emitting driving command from the controller.
[0062] Specifically, to ensure the stable emission of the light source, in some embodiments provided in this application, the light source may be composed of a driving unit and an emission unit, and the light source and the driving unit shall be connected, and the driving unit and the emission unit shall be connected. Then, the driving unit shall receive the emission driving command from the controller and drive the emission unit to emit light, thereby realizing the stable execution of the emission process.
[0063] In some implementations, the driving unit can be understood as being responsible for receiving electrical signal commands sent by the controller and converting them into adaptive signals (such as current and voltage signals) that can drive the light-emitting unit to work.
[0064] In some implementations, the light-emitting unit can be understood as the component that actually generates light, and can emit light under the signal drive of the driving unit.
[0065] In some implementations, the light-emitting unit includes components with light-emitting functions such as LED beads.
[0066] In some implementations, the light-emitting drive command can be understood as an electrical signal command generated by the controller and sent to the drive unit according to the working requirements, such as the lighting requirements for image acquisition and the brightness adjustment requirements.
[0067] In one example, the controller can generate a light emission driving command based on a pre-set command generation logic. This command is generated and sent to the driving unit when conditions such as the current time being within a preset time period, the ambient light intensity being lower than a preset light intensity threshold, the brightness parameter of the current image being lower than a preset brightness threshold, or a target object being detected in the current image, or at least two of these conditions are met. The driving unit converts the command signal into an adapted driving signal, driving the light emission unit to emit light stably. The light emitted by the light emission unit passes through an adjustable aperture on the aperture stop, forming illumination light for the image acquisition area.
[0068] Thus, in this embodiment, the light source can be implemented through a driving unit and a light-emitting unit. When the driving unit in the light source receives the light-emitting driving command from the controller, it drives the light-emitting unit in the light source to emit light, thereby ensuring the stable light emission of the light source to a certain extent.
[0069] Please see Figure 3 In some embodiments provided in this application, step 21 includes: 210: The current image is split into multiple sub-region images; 211: Determine the brightness of each sub-region image; 212: When there is a target sub-region image with brightness higher than the preset threshold, determine that the current image is in a local image highlight state.
[0070] The state determination module in this embodiment is also used to split the current image to obtain multiple sub-region images, determine the brightness of each sub-region image, and determine that the current image is in a local image high-brightness state when there is a target sub-region image with a brightness higher than a preset threshold.
[0071] The processor in this embodiment is further configured to perform segmentation processing on the current image to obtain multiple sub-region images, determine the brightness of each sub-region image, and determine that the current image is in a local image highlight state when there is a target sub-region image with a brightness higher than a preset threshold.
[0072] Specifically, in order to accurately identify whether the current image is in a local image bright state, in some embodiments provided in this application, the current image acquired by the image acquisition device can be split into multiple independent sub-region images, and the brightness of each sub-region image can be detected one by one and compared with a preset threshold. If there is a target sub-region image with excessive brightness, it is determined that the current image is in a local image bright state, thereby triggering the subsequent aperture adjustment logic.
[0073] In some implementations, splitting can be understood as the operation of dividing the complete current image into multiple independent image blocks of equal size, with clear boundaries and no overlap (or overlap).
[0074] In some implementations, a sub-region image can be understood as each independent image block formed after splitting and processing, with each sub-region image corresponding to a fixed local region in the original current image.
[0075] In some implementations, the preset threshold can be understood as a pre-set brightness value used to define whether the sub-region image is in an excessively bright state.
[0076] In some implementations, the target sub-region image can be understood as a sub-region image with a brightness value higher than a preset threshold.
[0077] In one example, the process of determining whether the current image is in a locally highlighted state can be represented by the following two formulas:
[0078]
[0079] In the formula, For the current image located in Brightness of the sub-region image at the location; The size of the sub-region image; for Central The brightness of the pixels; For a preset function, when When true, the function value is 1; when true, the function value is 1. Output 0 if the condition is not met; This represents the current brightness state of the image. The preset threshold; This represents the number of sub-region images in the current image.
[0080] Specifically, the current image from the video capture device is a single frame, or in other words, a frame extracted from the video stream output by the video capture device. The controller can then divide this frame into equal-sized image blocks, such as 16x16 image blocks, thereby obtaining sub-region images. .
[0081] Then, based on the image of each sub-region The brightness of each pixel in Calculate the average brightness of pixels in each image block. That is, sub-region image of .
[0082] Finally, the overall brightness of each image patch is determined sequentially. Is it greater than the preset threshold? T Specifically, if so, that is, if there exists a... Greater than Therefore If the value is greater than 0, this frame of the image is in a locally highlighted state. If not, that is, any one All less than or equal to T Therefore A value of 0 indicates that this frame of the image is not in a local image highlight state.
[0083] Thus, in this embodiment, the current image can be split to obtain multiple sub-region images, and the brightness of each sub-region image can be determined. When there is a target sub-region image with a brightness higher than a preset threshold, it is determined that the current image is in a local image bright state. This realizes the determination of the brightness state of the current image, thereby accurately judging whether the current image is in a local image bright state, thus ensuring the robust triggering of the subsequent aperture adjustment logic.
[0084] Please see Figure 4 In some embodiments provided in this application, step 22 includes: 220: When the current image is in a locally bright state, adjust the aperture of the via according to the relative distance between the target sub-region image and the center point of the current image to change the light distribution curve of the illumination light, thereby reducing the brightness of the target sub-region image.
[0085] The aperture adjustment module in this application embodiment is also used to adjust the aperture of the through hole according to the relative distance between the target sub-region image and the center point of the current image when the current image is in a local image highlight state, so as to change the light distribution curve of the illumination light and reduce the brightness of the target sub-region image.
[0086] The processor in this embodiment is further configured to, when the current image is in a locally bright state, adjust the aperture of the via to change the light distribution curve of the illumination light based on the relative distance between the target sub-region image and the image center point of the current image, thereby reducing the brightness of the target sub-region image.
[0087] Specifically, to ensure the effectiveness of aperture adjustment, in some embodiments provided in this application, the aperture of the aperture can be adjusted based on the relative distance between the target sub-region image and the center point of the current image, thereby changing the light distribution curve of the illumination light to achieve directional brightness reduction of the target sub-region image while avoiding affecting the illumination effect of non-high-brightness areas.
[0088] In some implementations, the relative distance between the target sub-region image and the center point of the current image can be understood as the spatial distance between the geometric center of the target sub-region image and the geometric center point of the current image.
[0089] In some implementations, the relative distance between the target sub-region image and the image center point of the current image is inversely proportional to the aperture adjustment size.
[0090] To more clearly illustrate the aperture adjustment logic in the embodiments of this application, please refer to the following exemplary description: First, if the controller confirms that the current image is overexposed, it locates the target sub-region image whose brightness value is higher than a preset threshold in the current image.
[0091] Next, the controller calculates the average value of the coordinates of all pixels within the sub-region to obtain the geometric center coordinates of the target sub-region image.
[0092] Subsequently, based on formulas such as Euclidean distance and equidistant distance, the relative distance between the geometric center coordinates of the target sub-region image and the center point coordinates of the current image is calculated to obtain the specific distance value D.
[0093] Then, the controller can retrieve the aperture adjustment amount AC that matches the distance value D from the pre-defined aperture adjustment logic, such as a pre-determined "relative distance-aperture adjustment amount" mapping table.
[0094] Finally, based on the aperture adjustment amount A, the controller sends a control command to the drive mechanism of the aperture to adjust the aperture size of the aperture from the current A0 to A0-AC. This causes an adaptive change in the light distribution curve of the illumination light, reducing the intensity of the illumination light obtained by the monitoring area corresponding to the target sub-region image, while keeping the brightness of the target sub-region image unchanged or slightly decreasing, thereby improving the glare or overexposure phenomenon of the target sub-region image.
[0095] Thus, in this embodiment, when the current image is in a locally bright state, the aperture of the aperture can be adjusted according to the relative distance between the target sub-region image and the center point of the current image to change the light distribution curve of the illumination light, thereby reducing the brightness of the target sub-region image and achieving robust adjustment of the aperture.
[0096] In some embodiments provided in this application, the control method of the lighting device further includes: controlling the light source to emit light when preset lighting conditions are met, wherein the preset lighting conditions include at least one of the following: the current time is within a preset time period; the ambient light intensity is less than or equal to a preset light intensity threshold; the brightness parameter of the current image is less than or equal to a preset brightness threshold; and a target object is detected in the current image.
[0097] The control module in this embodiment further includes a light emission control module. The light emission control module controls the light source to emit light when preset lighting conditions are met. The preset lighting conditions include at least one of the following: the current time is within a preset time period; the ambient light intensity is less than or equal to a preset light intensity threshold; the brightness parameter of the current image is less than or equal to a preset brightness threshold; and a target object is detected in the current image.
[0098] The processor in this embodiment is further configured to control the light source to emit light when preset lighting conditions are met. The preset lighting conditions include at least one of the following: the current time is within a preset time period; the ambient light intensity is less than or equal to a preset light intensity threshold; the brightness parameter of the current image is less than or equal to a preset brightness threshold; and a target object is detected in the current image.
[0099] Specifically, in order to achieve stable start-up and shutdown of the light source in the lighting device, and to avoid the power consumption caused by controlling the light source to emit light in a well-lit environment, in some embodiments provided in this application, the light source in the lighting device can be determined to emit light at the current moment based on the lighting conditions achieved by at least one of the four factors: time, ambient light intensity, current image brightness parameters, and target object detection, thereby realizing on-demand triggering of light source emission.
[0100] In some implementations, the preset time period can be understood as a time interval pre-set according to the image acquisition requirements. The ambient light intensity is low within this interval, so an illumination device is needed to provide illumination to ensure the clarity of the video acquisition images.
[0101] In one example, the preset time period is from 5:30 p.m. to 6:30 a.m.
[0102] In one example, the preset duration is from the first moment to the second moment in the area where the lighting device is located. The first moment is the sunset time of the day, or a moment earlier than the sunset time of the day, such as half an hour before sunset; the second moment is the sunrise time of the next day, or a moment later than the sunrise time of the next day, such as half an hour after sunrise.
[0103] In some implementations, ambient light intensity can be understood as the intensity of natural light or ambient lighting around the image acquisition area.
[0104] In some implementations, a preset light intensity threshold can be used to determine whether the ambient light intensity meets the image acquisition requirements of the image acquisition device.
[0105] In some implementations, the brightness parameters of the current image can be understood as quantitative indicators obtained after performing brightness analysis on the current image acquired by the image acquisition device, such as the average brightness of the image and the variance of the brightness distribution.
[0106] In some implementations, the preset brightness threshold can be understood as a brightness threshold pre-set based on the imaging standard of the image acquisition device, used to determine whether the current image brightness is sufficient to guarantee the image acquisition requirements. If it is lower than the threshold, the light source needs to be controlled to emit light to provide illumination.
[0107] In some implementations, the target object can be understood as the object that needs to be monitored in the monitoring scene, such as a human body or a vehicle, and the specific setting can be determined according to the actual situation.
[0108] To more clearly illustrate the control method of the lighting device provided in the embodiments of this application, please refer to [link / reference needed]. Figure 5 Figure 5 The diagram below illustrates a flow chart of a control method for a lighting device in certain embodiments of this application. Please also refer to the following exemplary description: The controller can confirm that the preset lighting conditions are met, thus determining that it is nighttime, and then control the lighting device to enter nighttime monitoring mode to activate the light source. Simultaneously, the image acquisition device synchronously acquires images of the acquisition area for monitoring and outputs the monitoring images in real time.
[0109] During the real-time output of the monitoring screen by the image acquisition device, the controller can analyze and determine the brightness status of the current frame (i.e. the current image) of the monitoring screen. For example, the current image can be divided into multiple sub-regions, and the brightness of each sub-region can be detected one by one to determine whether there is a target image area (i.e. the target sub-region image) with a brightness higher than a preset threshold. This determines whether the current image is abnormally overexposed, that is, whether the current image is in a local bright state.
[0110] If no abnormal overexposed areas are found after the inspection, it means that the current intensity and current light distribution of the lighting output device match the nighttime environment, and the quality of the monitoring image meets the requirements. Therefore, the current emission parameters of the light source will continue to be maintained, and the image will be inspected again.
[0111] If an abnormally overexposed area is detected, adjust the aperture size of the aperture. For example, adjust the aperture size based on the distance of the overexposed area from the center of the image. This will adjust the illumination distribution curve, specifically reducing the fill light intensity in the overexposed area and resolving the localized overexposure problem. After adjustment, wait for the next image inspection.
[0112] Thus, in this embodiment, the light source can be controlled to emit light when preset lighting conditions are met, thereby achieving stable start-up and shutdown of the light source in the lighting device. Simultaneously, to avoid energy consumption caused by controlling the light source in well-lit environments, This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the above-described control method for the lighting device.
[0113] This application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the above-described control method for the lighting device.
[0114] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0115] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0116] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A lighting device, characterized in that, An image acquisition device, the device comprising: light source; An aperture stop is provided on the aperture stop, and the light emitted by the light source passes through the aperture stop to form illumination light for illuminating the image acquisition area of the image acquisition device; The controller is configured to determine the brightness state of the current image based on the current image acquired by the image acquisition device, and, when the current image is in a local image high brightness state, adjust the aperture of the through hole to change the light distribution curve of the illumination light, so as to reduce the brightness of the local image.
2. The lighting device according to claim 1, characterized in that, The lighting device also includes a light guide, and the light emitted by the light source passes sequentially through the through hole of the aperture and the light guide to form illumination light for illuminating the image acquisition area.
3. The lighting device according to claim 2, characterized in that, The light guide includes a lamp cup.
4. The lighting device according to claim 1, characterized in that, The light source includes a driving unit and a light-emitting unit. The controller is connected to the driving unit, and the driving unit is connected to the light-emitting unit. The driving unit drives the light-emitting unit to emit light when it receives a light-emitting driving command from the controller.
5. A method for controlling a lighting device, characterized in that, The method is applied to the lighting device according to any one of claims 1-4, and the method includes: The brightness state of the current image is determined based on the current image captured by the image acquisition device. When the current image is in a state of local image highlighting, the aperture of the through hole is adjusted to change the light distribution curve of the illumination light, thereby reducing the brightness of the local image.
6. The control method for the lighting device according to claim 5, characterized in that, Determining the brightness state of the current image based on the current image acquired by the image acquisition device includes: The current image is split into multiple sub-region images; Determine the brightness of each of the sub-region images; When there is a target sub-region image with a brightness higher than a preset threshold, the current image is determined to be in a local image highlight state.
7. The control method for the lighting device according to claim 6, characterized in that, When the current image is in a locally bright state, adjusting the aperture of the through-hole to change the light distribution curve of the illumination light, thereby reducing the brightness of the locally bright image, includes: When the current image is in a locally bright state, the aperture of the through hole is adjusted according to the relative distance between the target sub-region image and the center point of the current image to change the light distribution curve of the illumination light, thereby reducing the brightness of the target sub-region image.
8. The control method for the lighting device according to claim 5, characterized in that, The method further includes: When preset lighting conditions are met, the light source is controlled to emit light, wherein the preset lighting conditions include at least one of the following: The current time is within the preset time period; The ambient light intensity is less than or equal to the preset light intensity threshold; The brightness parameter of the current image is less than or equal to a preset brightness threshold; The target object was detected in the current image.
9. A control device for a lighting apparatus, characterized in that, The device is used in the lighting device according to any one of claims 1-4, the device comprising: The status determination module is used to determine the brightness status of the current image based on the current image acquired by the image acquisition device. An aperture adjustment module is used to adjust the aperture of the through hole to change the light distribution curve of the illumination light when the current image is in a local image highlight state, thereby reducing the brightness of the local image.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method of any one of claims 5-8.
11. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method described in any one of claims 5-8.