CN118018830B - Automatic light matching method for IR-CUT double-filter camera - Google Patents

Automatic light matching method for IR-CUT double-filter camera Download PDF

Info

Publication number
CN118018830B
CN118018830B CN202410400587.9A CN202410400587A CN118018830B CN 118018830 B CN118018830 B CN 118018830B CN 202410400587 A CN202410400587 A CN 202410400587A CN 118018830 B CN118018830 B CN 118018830B
Authority
CN
China
Prior art keywords
value
camera
state
ircut
white
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410400587.9A
Other languages
Chinese (zh)
Other versions
CN118018830A (en
Inventor
黄德超
帅慧琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jijia Innovation Technology Co ltd
Original Assignee
Shenzhen Jijia Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jijia Innovation Technology Co ltd filed Critical Shenzhen Jijia Innovation Technology Co ltd
Priority to CN202410400587.9A priority Critical patent/CN118018830B/en
Publication of CN118018830A publication Critical patent/CN118018830A/en
Application granted granted Critical
Publication of CN118018830B publication Critical patent/CN118018830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)

Abstract

The application belongs to the field of IR-CUT double-filter camera design, and relates to an automatic light matching method of an IR-CUT double-filter camera, wherein a basic white value B0 and a lighting device are arranged, when the camera is checked, a camera is controlled to shoot, a white light environment value A0 in a shooting result is read, the basic white value B0 is compared with the white light environment value A0, whether the white light environment value A0 is matched with the basic white value B0 is judged, and if yes, the result shows IRCUT that logic is correct; if not, a IRCUT logic error is indicated, when IRCUT logic error occurs, the camera is controlled to switch IRCUT logic, then the camera is controlled to take pictures again and repeat judgment until the current camera state accords with the preset basic white value B0 state, and switching is ensured to be correct. Therefore, the automatic identification calculation of the algorithm of the machine is realized, the control logic state of IRCUT is automatically adjusted, the machine is automatically matched, the hardware design, material supply and production assembly are not relied on any more.

Description

Automatic light matching method for IR-CUT double-filter camera
Technical Field
The application belongs to the field of IR-CUT double-filter camera design, and particularly relates to an automatic light matching method of an IR-CUT double-filter camera.
Background
The IR-CUT double filters are a group of filters which are arranged in a camera lens group, and when the infrared sensing point outside the camera lens detects the intensity change of light, the built-in IR-CUT automatic switching filter can automatically switch according to the intensity of external light so as to enable the image to achieve the best effect. That is, the dual filters can automatically switch the filters during the daytime or at night, so that the optimal imaging effect can be obtained regardless of the daytime or at night. Monitoring camera field: filtering infrared rays to cut off or pass through, and the image is called as the infrared rays: a dual filter switcher.
In the production process of the IR-CUT double-filter camera, the IR-CUT double-filter lens adopts 2pin plug wires, the definition of incoming material wire interfaces is inconsistent, the definition of IRCOU lens module interfaces of different manufacturers is different, the definition of main board interfaces designed by different manufacturers is different, and the definition of main board interfaces designed by different projects is different. The switching logic error of the optical filters of the daytime and the night lenses of the cameras is caused, and the quality of the photographed daytime and night videos and images is poor.
How to achieve accurate adjustment of the camera filter switching logic is a problem to be solved.
Disclosure of Invention
The application aims to provide an automatic light matching method of an IR-CUT double-filter camera, which aims to solve the problem of wrong switching logic of optical filters of lenses in daytime and at night of the existing camera.
The technical scheme of the application is as follows: an automatic light matching method of an IR-CUT double-filter camera, comprising the following steps:
Setting a basic white value B0, and setting a lighting device on a checking station of a camera on a production line;
when the camera runs to the check station, the lighting device works, a lighting area is arranged, the camera photographs in the lighting area, and the photographing result is transmitted to the background processing system;
The background processing system analyzes and reads a white light environment value A0 in a photographing result, compares the white light environment value A0 with a basic white value B0, judges whether the white light environment value A0 is matched with the basic white value B0, if yes, judges that the current camera state is consistent with the preset basic white value B0 state, and stores IRCUT logic; otherwise, judging that the current camera state is inconsistent with the preset basic white value B0 state;
when judging that the current camera state is not consistent with the preset basic white value B0 state, the processing equipment sends a control instruction to control the camera to switch IRCUT logic; and then controlling the camera to take pictures again and repeating judgment until the current camera state accords with the preset basic white value B0 state.
Preferably, an image analysis module, a data processing module and a logic switching control module are arranged in the background processing system; the image analysis module can analyze the brightness of the photographing result and read the brightness value of the white lamp; the data processing module can acquire a white light environment value A0 in a shooting result and call a corresponding basic white value B0 to judge; the logic switching control module can send a corresponding IRCUT logic instruction to the camera when the data processing module judges that the current camera state is not consistent with the preset basic white value B0 state.
Preferably, an alarm module is further arranged in the background processing system, and when the current camera state is judged to still be inconsistent with the preset basic white value B0 state after the camera shoots again, the background processing system sends alarm information through the alarm module.
Preferably, a brightness adjustment module is further provided in the background processing system, the brightness adjustment module can obtain the white light environment value A0 photographed twice continuously, then the larger white light environment value A0 is selected to be compared with the basic white value B0, a brightness difference value is calculated, and then the logic is adjusted IRCUT according to the brightness difference value.
Preferably, the brightness adjustment module stores IRCUT switching positions corresponding to different brightness, forms a brightness adjustment curve, and when a brightness difference exists, determines IRCUT deviation amount of the switching positions through the brightness adjustment curve, and inputs the deviation amount into the camera.
Preferably, the brightness adjusting module is further provided with a basic darkness value, after the white light environment value A0 is collected, the lighting device is controlled to stop working, then the camera is controlled to take a picture again, the darkness value in the photographing result is extracted, then the data processing module judges whether the basic darkness value is matched with the darkness value, if not, the deviation amount of the darkness value and the basic darkness value is obtained through the brightness adjusting module, the adjusting angle is determined through the brightness adjusting curve, and the adjusting angle is input into the camera.
The application relates to an automatic light matching method of an IR-CUT double-filter camera, which comprises the steps of setting a basic white value B0 and a lighting device, controlling the camera to shoot when the camera is checked, reading a white light environment value A0 in a shooting result, comparing the basic white value B0 with the white light environment value A0, judging whether the white light environment value A0 is matched with the basic white value B0, and if yes, indicating IRCUT that logic is correct; if not, a IRCUT logic error is indicated, when IRCUT logic error occurs, the camera is controlled to switch IRCUT logic, then the camera is controlled to take pictures again and repeat judgment until the current camera state accords with the preset basic white value B0 state, and switching is ensured to be correct. Therefore, the automatic identification calculation of the algorithm of the machine is realized, the control logic state of IRCUT is automatically adjusted, the machine is automatically matched, the hardware design, material supply and production assembly are not relied on any more.
Drawings
In order to more clearly illustrate the technical solution provided by the present application, the following description will briefly refer to the accompanying drawings. It will be apparent that the figures described below are merely some embodiments of the application.
FIG. 1 is a schematic overall flow chart of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
An automatic light matching method of an IR-CUT double-filter camera, as shown in figure 1, comprises the following steps:
Step S100, setting a basic white value B0, and setting a lighting device on a verification station of a camera on a production line. The basic white value B0 is provided with an upper limit value and a lower limit value, and when the shot white light environment value A0 is within the upper limit range and the lower limit range of the basic white value B0, the two values can be considered to be matched. The camera is assembled to a certain degree or after the assembly is completed, the shooting function can be executed, and the check station can be arranged at the position.
Step 200, when the production line is running, and the camera is running to the check station, the lighting device works, a lighting area is arranged, the camera photographs in the lighting area, specifically, an image is collected through an internal image sensor, and a photographing result is transmitted to the background processing system. The background processing system may be a computer.
In order to ensure that the illumination area has specified brightness, the illumination area and the shooting area of the camera are arranged at set positions, and the specified brightness can be obtained without being influenced by other environments when the illumination device is started; a specified darkness can be obtained when the lighting device is turned off, independent of other environmental influences.
Preferably, an image analysis module, a data processing module and a logic switching control module are arranged in the background processing system. The image analysis module can analyze the brightness of the photographing result and read the brightness value of the white lamp; the data processing module can acquire a white light environment value A0 in a shooting result and call a corresponding basic white value B0 to judge; the logic switching control module can send a corresponding IRCUT logic instruction to the camera when the data processing module judges that the current camera state is not consistent with the preset basic white value B0 state.
The background processing system can be connected with the camera in a USB access mode and the like, so that the camera can be controlled, IRCUT logic in the camera has two types, namely a daytime shooting state and an evening shooting state. Different IRCUT logics need to switch different IRCUT filters.
Since the brightness of the region to be photographed is constant when the illumination device is in operation, its standard brightness is the basic white value B0. If IRCUT is in the daytime shooting state, the white light environment value A0 shot by the camera can be generally matched with the basic white value B0; otherwise, if IRCUT is in the night shooting state, the white light environment value A0 shot by the camera is difficult to match with the basic white value B0. Through the logic, the accurate judgment of the IRCUT logic where the camera is can be realized by matching with the image analysis module and the data processing module.
Step S300, the background processing system analyzes and reads a white light environment value A0 in a photographing result, compares the white light environment value A0 with a basic white value B0, judges whether the white light environment value A0 is matched with the basic white value B0, if yes, judges that the current camera state is consistent with the preset basic white value B0 state, and logically stores the maintenance IRCUT into background processing equipment; otherwise, judging that the current camera state is inconsistent with the preset basic white value B0 state.
When shooting an illumination area, IRCUT logic should switch to the daytime shooting state at this time; when the white light environment value A0 is matched with the basic white value B0, the representative IRCUT logic is in a daytime shooting state and accords with the preset basic white value B0 state; when the white light environment value A0 is not matched with the basic white value B0, the representative IRCUT is in a shooting state at night and is inconsistent with the preset basic white value B0. So that an accurate determination can be made by IRCUT logic.
Step S400, when judging that the current camera state is not consistent with the preset basic white value B0 state, the processing equipment sends out a control instruction to control the camera to switch IRCUT logic; and then controlling the camera to take pictures again and repeating judgment until the current camera state accords with the preset basic white value B0 state.
Because IRCUT logic not only has the problem that the daytime shooting state and the night shooting state are opposite in logic, but also has the position which is not switched in place, if the camera executes the logic of the daytime shooting state after shooting the illumination area for the first time, the brightness requirement of the basic white value B0 is still not met because the camera is not switched in place; after the logic is switched IRCUT, the brightness requirement of the basic white value B0 is not met when the shooting state is in the night.
Therefore, when the brightness requirement of the basic white value B0 is still not met after the switching once, the condition that IRCUT is not switched in place is judged, preferably, an alarm module is further arranged in the background processing system, and when the current camera state is judged to be still inconsistent with the preset basic white value B0 state after the camera is photographed again, the background processing system sends alarm information through the alarm module, so that when IRCUT of the camera is not switched in place, a worker can know in time.
Meanwhile, the application can also automatically adjust when IRCUT logic switches are not in place, and preferably, a brightness adjusting module is also arranged in the background processing system, wherein the brightness adjusting module can acquire the white light environment value A0 shot continuously twice, then the larger white light environment value A0 is selected to be compared with the basic white value B0, the brightness difference value is calculated, and then IRCUT logic is adjusted according to the brightness difference value. The larger white light environment value A0 represents the daytime shooting state in IRCUT logic, and the angle value corresponding to IRCUT logic which is not switched in place can be obtained by comparing the brightness difference values, so that the control IRCUT logic adjusts the angle value to enable IRCUT logic to be switched in place.
Preferably, the brightness adjustment module stores IRCUT switching positions corresponding to different brightness, specifically, the control IRCUT logic moves a designated angle according to a step length and photographs the designated brightness areas respectively, and the current brightness is read according to the photographing result to form a brightness adjustment curve. The brightness of the designated brightness area is generally the same as that of the illumination area, and when the brightness is different, a compensation amount is set according to the specific brightness difference to correspond. When there is a brightness difference, the deviation amount of the switching position is determined IRCUT by the brightness adjustment curve, and is input into the camera. The brightness adjustment curve sets the brightness value of the position standard and the corresponding switching angle for the in-place and out-of-place positions, so that the situation of inaccurate switching can be effectively and automatically adjusted.
The method includes the steps that a camera is controlled to shoot again after a white light environment value A0 is acquired, a camera is controlled to shoot again, a dark environment brightness value in a shooting result is extracted, a data processing module judges whether the dark environment brightness value is matched with the dark environment brightness value or not, if not, the deviation between the dark environment brightness value and the basic darkness value is acquired through the brightness adjusting module, an adjusting angle is determined through a brightness adjusting curve, the adjusting angle is input into the camera, and the control IRCUT is used for logically adjusting the adjusting angle of the shooting state at night. Therefore, the condition of switching shooting states in place at night can be adjusted.
The application sets the basic white value B0 and the lighting device, when the camera is checked, the camera is controlled to shoot, the white light environment value A0 in the shooting result is read, the basic white value B0 is compared with the white light environment value A0, whether the white light environment value A0 is in the basic white value B0 is judged, if yes, the logic of IRCUT is correct; if not, a IRCUT logic error is indicated, when IRCUT logic error occurs, the camera is controlled to switch IRCUT logic, then the camera is controlled to take pictures again and repeat judgment until the current camera state accords with the preset basic white value B0 state, and switching is ensured to be correct. Therefore, the automatic identification calculation of the algorithm of the machine is realized, the control logic state of IRCUT is automatically adjusted, the machine is automatically matched, the hardware design, material supply and production assembly are not relied on any more.
Finally, it should be noted that: in the drawings of the disclosed embodiments, only the structures related to the embodiments of the present disclosure are referred to, and other structures can refer to the common design, so that the same embodiment and different embodiments of the present disclosure can be combined with each other under the condition of no conflict;
Finally: the foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (4)

1. An automatic light matching method for an IR-CUT dual-filter camera, comprising:
Setting a basic white value B0, and setting a lighting device on a checking station of a camera on a production line;
when the camera runs to the check station, the lighting device works, a lighting area is arranged, the camera photographs in the lighting area, and the photographing result is transmitted to the background processing system;
The background processing system analyzes and reads a white light environment value A0 in a photographing result, compares the white light environment value A0 with a basic white value B0, judges whether the white light environment value A0 is matched with the basic white value B0, if yes, judges that the current camera state is consistent with the preset basic white value B0 state, and stores IRCUT logic; otherwise, judging that the current camera state is inconsistent with the preset basic white value B0 state;
When judging that the current camera state is not consistent with the preset basic white value B0 state, the processing equipment sends a control instruction to control the camera to switch IRCUT logic; then controlling the camera to take pictures again and repeatedly judging until the current state of the camera accords with the state of the preset basic white value B0;
An image analysis module, a data processing module and a logic switching control module are arranged in the background processing system; the image analysis module can analyze the brightness of the photographing result and read the brightness value of the white lamp; the data processing module can acquire a white light environment value A0 in a shooting result and call a corresponding basic white value B0 to judge; the logic switching control module can send a corresponding IRCUT logic instruction to the camera when the data processing module judges that the current camera state is not consistent with the preset basic white value B0 state;
The background processing system is internally provided with a brightness adjusting module, the brightness adjusting module can acquire a white light environment value A0 photographed twice continuously, then the larger white light environment value A0 is selected to be compared with a basic white value B0, a brightness difference value is calculated, and then the logic is adjusted IRCUT according to the brightness difference value.
2. The method for automatically matching the light rays of the IR-CUT double-filter camera according to claim 1, wherein the method comprises the following steps: and an alarm module is further arranged in the background processing system, and when the current camera state is judged to still be inconsistent with the preset basic white value B0 state after the camera shoots again, the background processing system sends alarm information through the alarm module.
3. The method for automatically matching the light rays of the IR-CUT double-filter camera according to claim 1, wherein the method comprises the following steps: and when the brightness difference exists, determining IRCUT deviation of the switching position through the brightness adjustment curve, and inputting the deviation into the camera.
4. The method for automatically matching light rays of the IR-CUT dual-filter camera according to claim 3, wherein: the brightness adjusting module is internally provided with a basic darkness value, after the white light environment value A0 is acquired, the lighting device is controlled to stop working, the camera is controlled to shoot again, the darkness value in the shooting result is extracted, the data processing module judges whether the basic darkness value is matched with the darkness value, if not, the deviation value between the darkness value and the basic darkness value is acquired through the brightness adjusting module, the adjusting angle is determined through the brightness adjusting curve, and the adjusting angle is input into the camera.
CN202410400587.9A 2024-04-03 2024-04-03 Automatic light matching method for IR-CUT double-filter camera Active CN118018830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410400587.9A CN118018830B (en) 2024-04-03 2024-04-03 Automatic light matching method for IR-CUT double-filter camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410400587.9A CN118018830B (en) 2024-04-03 2024-04-03 Automatic light matching method for IR-CUT double-filter camera

Publications (2)

Publication Number Publication Date
CN118018830A CN118018830A (en) 2024-05-10
CN118018830B true CN118018830B (en) 2024-07-05

Family

ID=90948729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410400587.9A Active CN118018830B (en) 2024-04-03 2024-04-03 Automatic light matching method for IR-CUT double-filter camera

Country Status (1)

Country Link
CN (1) CN118018830B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385477A (en) * 2020-03-17 2020-07-07 浙江大华技术股份有限公司 Mode switching control method and device for camera, camera and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207232622U (en) * 2017-10-13 2018-04-13 深圳市钒德电子有限公司 Double optical filter switching position Autonomous tests and filming apparatus
CN110505477A (en) * 2019-09-17 2019-11-26 普联技术有限公司 Double filter test methods, device, equipment and storage medium
CN113031386B (en) * 2019-12-25 2024-03-29 浙江宇视科技有限公司 Abnormality detection method, device, equipment and medium for double-filter switcher
CN113747149B (en) * 2021-08-26 2024-04-16 浙江大华技术股份有限公司 Abnormality detection method and device for optical filter, electronic device and storage medium
CN117676323A (en) * 2022-08-16 2024-03-08 深圳市富视康智能股份有限公司 AE-based method for controlling day and night mode switching
CN117376546A (en) * 2023-09-15 2024-01-09 深圳市龙之源科技股份有限公司 Storage medium, outdoor camera detection device and detection method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385477A (en) * 2020-03-17 2020-07-07 浙江大华技术股份有限公司 Mode switching control method and device for camera, camera and storage medium

Also Published As

Publication number Publication date
CN118018830A (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN101491081B (en) Dome type monitor camera device
TWI539227B (en) Monitoring method and camera
CN101986691B (en) Image processing apparatus and image processing method
CN111277699B (en) Flash lamp color temperature calibration method and device, electronic equipment and readable storage medium
CN102413280A (en) Imaging apparatus and method for controlling same
CN108419026A (en) camera exposure time adjusting method, device and equipment
CN106027917B (en) Picture pick-up device and its control method
CN118018830B (en) Automatic light matching method for IR-CUT double-filter camera
CN108289170A (en) The camera arrangement and method of metering region can be detected
US10270979B2 (en) Automatically depth-of-field adjusting method and camera
KR100367595B1 (en) Method for controlling of ccd camera
CN111025522B (en) Lens focusing method and device and terminal equipment
CN105959528A (en) Working scene switching method and apparatus and test device
KR20200088554A (en) method for detecting filter switching error of surveillance camera
CN101697571B (en) Method for imaging minisize large-visual-angle polygon and novel camera device
CN112217980A (en) Dual-light camera, control system of dual-light camera and control method of dual-light camera
CN113747082A (en) Detection method for automatic day and night switching and rapid automatic exposure
CN112887593A (en) Image acquisition method and device
CN113994660A (en) Intelligent flash intensity control system and method
CN113984347B (en) Sensor back focus structure detection system comprising fixed structure
CN114520881B (en) Exposure parameter adjustment method, device, computer equipment and readable storage medium
CN107347124B (en) Binocular camera chromatic aberration correction and adjustment method and system
KR20230048908A (en) Method and computer program for determining focus adjust mode, image acquisition apparatus
JP2016200742A (en) Imaging apparatus
JPH02190832A (en) Photometric device for camera provided with automatic focusing function

Legal Events

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