CN106454099A - day-night mode switching method of improved video camera - Google Patents
day-night mode switching method of improved video camera Download PDFInfo
- Publication number
- CN106454099A CN106454099A CN201610938539.0A CN201610938539A CN106454099A CN 106454099 A CN106454099 A CN 106454099A CN 201610938539 A CN201610938539 A CN 201610938539A CN 106454099 A CN106454099 A CN 106454099A
- Authority
- CN
- China
- Prior art keywords
- day
- gain
- image
- night
- threshold values
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry 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)
- Exposure Control For Cameras (AREA)
- Color Television Image Signal Generators (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a day-night mode switching method of an improved video camera, and belongs to the field of security and protection monitoring. The day-night mode switching method of the improved video camera comprises the steps of (1) obtaining a gain and exposure time of an image and determining a threshold value T1; (2) judging whether the gain and the exposure time is smaller than T1, if so, entering step (3), otherwise, carrying on the step (1); (3) switching a day mode into a night mode and turning on an infrared lamp; (4) obtaining the gain and the exposure time of the image, determining a preset value T2, obtaining U and V values of the image and determining a color value A; (5) determining a threshold value T3 by combining with the preset value T2 and the color value A; (6) judging whether the gain and the time exposure is greater than T3, if so, entering step (7), otherwise, turning to the step (4); and (7) switching the night mode into the day mode and turning off the infrared light (107). Besides obtaining the gain and the exposure time of the image, only the U and V values of the original image are required to be obtained; the day-night mode switching method of the improved video camera is very simple and is unnecessary to carry out excessive processing for the data of the image; the accuracy of the day-night switching threshold value is greatly improved; and problems such as the wrong judgment of the day-night mode and repeated switching of the infrared lamp are reduced.
Description
Technical field
The invention belongs to protection and monitor field, more particularly, to a kind of improved camera diurnal pattern changing method.
Background technology
It is all to rely on hardware circuit and light-sensitive element day and night to be switched that major part on market day and night switches video camera, by
Belong to electronic devices and components in photoconductive resistance, service life is limited, when the operation that works long hours, its sensitivity will also decrease,
And under some adverse weather conditions, such as continuous high temperature, erosion by wind and rain etc., photoconductive resistance will be subject to different degrees of damaging,
And then have influence on the normal work of video camera.So, according to some parameters in image, to control day and night to switch and not only to save
Hardware cost, and also improve the reliability day and night switching.
Content of the invention
It is an object of the invention to the shortcoming and defect overcoming prior art to exist, provide a kind of improved camera day and night
Mode switching method.
In order to achieve the above object, the object of the present invention is achieved like this:
Gain according to image and time of exposure determine preset value and extract the side that the information of U, V color in original image combines
Formula, to determine the threshold values of switching.The advantage of the method is, after infrared lamp is opened, the monochrome information of infrared lamp is to U, V
Impact is also only limited to the increase of red color, and the other information of U, V is not affected;The unlatching greatly reducing infrared lamp is to day
Impact and the erroneous judgement causing that night pattern switching produces.
Specifically, this method comprises the following steps:
1. obtain gain and the time of exposure of image, determine threshold values T1;
2., after determining threshold values T1, in day pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T1, sentence
Break when whether it is less than T1, be then to enter step 3., otherwise continue step 1.;
3. day pattern switching is night pattern, opens infrared lamp;
4. obtain the gain of image and time of exposure determines preset value T2, obtain U, the V-value of image simultaneously, determine color value A;
5. determine threshold values T3 with reference to preset value T2 and A;
6., after determining threshold values T3, in night pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T3, sentence
Breaking, whether it is more than T3, is then to enter step 7., otherwise jumps to step 4.;
7. night pattern switching is day pattern, and closes infrared lamp.
The present invention has following advantages and good effect:
1. it is only necessary to obtain the U of original image, V-value in addition to the gain of acquisition image and time of exposure, very simply, no
Need the data of image is done excessive process;
2. the U of the gain of synthetic image and time of exposure and image, V-value determine from night pattern switching to the threshold values of day pattern than letter
Singly determine that the method for threshold values is more accurate by gain and time of exposure, reduce the pattern erroneous judgement that inaccurate threshold values leads to
Thus causing the problems such as toggling of infrared lamp;
3. all more accurate than by the way of obtaining brightness value and color temperature value by the way of obtaining original image U, V color value
Really, the mode obtaining brightness value is easy to be caused the change of brightness value to lead to erroneous judgement by infrared lamp unlatching, obtains color temperature value
Mode then easily because the interference of environment scene produces erroneous judgement, and read the mode of original image U, V color value unexpectedly will not be because of
Infrared lamp brightness flop causes interference, also will not be because of generation erroneous judgement the reason environment scene.
The present invention substantially increases the accuracy day and night switching threshold values in a word, decreases the erroneous judgement of diurnal pattern and infrared
The problems such as lamp toggles.
Brief description
Fig. 1 is the flow chart of this method.
Specific embodiment
Describe in detail with reference to the accompanying drawings and examples:
As Fig. 1, this method comprises the steps:
1. obtain gain and the time of exposure of image, determine threshold values T1-101,
The gain of acquisition day images and time of exposure, then obtain gain and the time of exposure of this period at daytime to night, comprehensive
Close obtain from day pattern switching be night pattern threshold values T1;
2., after determining threshold values T1, in day pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T1, sentence
Break when whether it is less than T1-102, be then to enter step 3., otherwise continue step 1.;
3. day pattern switching is night pattern, opens infrared lamp -103;
4. obtain the gain of image and time of exposure determines preset value T2, obtain U, the V-value of image simultaneously, determine color value A-
104;
Concrete grammar is:Obtain from the gain of this period on night to daytime and time of exposure, the gain of comprehensive this period and
Time of exposure, determines the preset value T2 from night pattern to day pattern switching;Same mode, acquisition is from night to daytime when this section
Between U, the situation of change of V-value, comprehensively draw color value A being day pattern from night pattern switching;
5. determine threshold values T3-105 with reference to preset value T2 and A
Concrete grammar is:In conjunction with the preset value T2 from night pattern to day pattern and from night pattern to color value A of day pattern, calculate
Go out the threshold values T3 being day pattern from night pattern switching;
6., after determining threshold values T3, in night pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T3, sentence
Breaking, whether it is more than T3-106, is then to enter step 7., otherwise jumps to step 4.;
7. night pattern switching is day pattern, and closes infrared lamp -107.
Claims (1)
1. a kind of improved camera diurnal pattern changing method is it is characterised in that comprise the following steps:
1. obtain gain and the time of exposure of image, determine threshold values T1(101);
2., after determining threshold values T1, in day pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T1, sentence
Break when whether it is less than T1(102), it is then to enter step 3., otherwise continue step 1.;
3. day pattern switching is night pattern, opens infrared lamp(103);
4. obtain the gain of image and time of exposure determines preset value T2, obtain U, the V-value of image simultaneously, determine color value A
(104);
5. determine threshold values T3 with reference to preset value T2 and A(105)
6., after determining threshold values T3, in night pattern, obtain the gain of real time imaging and time of exposure is contrasted with threshold values T3, sentence
Breaking, whether it is more than T3(106), it is then to enter step 7., otherwise jump to step 4.;
7. night pattern switching is day pattern, and closes infrared lamp(107).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610938539.0A CN106454099A (en) | 2016-10-25 | 2016-10-25 | day-night mode switching method of improved video camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610938539.0A CN106454099A (en) | 2016-10-25 | 2016-10-25 | day-night mode switching method of improved video camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106454099A true CN106454099A (en) | 2017-02-22 |
Family
ID=58179120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610938539.0A Withdrawn CN106454099A (en) | 2016-10-25 | 2016-10-25 | day-night mode switching method of improved video camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454099A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370955A (en) * | 2017-08-21 | 2017-11-21 | 深圳市天视通电子科技有限公司 | Can be automatically switched web camera, implementation method and the monitoring system of diurnal pattern |
CN108377340A (en) * | 2018-05-10 | 2018-08-07 | 杭州雄迈集成电路技术有限公司 | One kind being based on RGB-IR sensor diurnal pattern automatic switching methods and device |
CN108429892A (en) * | 2018-05-10 | 2018-08-21 | 杭州雄迈集成电路技术有限公司 | One kind being based on RGB sensor diurnal pattern automatic switching methods |
CN109302570A (en) * | 2018-10-23 | 2019-02-01 | 深圳市宸电电子有限公司 | A kind of environment measuring processing mode based on ROI region subgraph brightness value |
CN110225257A (en) * | 2019-07-09 | 2019-09-10 | 浙江大华技术股份有限公司 | Diurnal pattern switching method and device, photographic device and storage medium |
CN111010515A (en) * | 2019-12-26 | 2020-04-14 | 杭州涂鸦信息技术有限公司 | Day and night switching method and device for camera |
CN111726514A (en) * | 2019-03-20 | 2020-09-29 | 浙江宇视科技有限公司 | Camera and day and night mode switching method, device, equipment and medium thereof |
CN111988532A (en) * | 2020-07-16 | 2020-11-24 | 哈尔滨海能达科技有限公司 | Control method and device for night vision compensation lamp switch |
CN112954202A (en) * | 2021-01-29 | 2021-06-11 | 成都国科微电子有限公司 | Day and night mode detection method, device, equipment and storage medium |
WO2021114265A1 (en) * | 2019-12-13 | 2021-06-17 | 深圳市大疆创新科技有限公司 | Working method of device/integrated device, and apparatus, removable device, and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140184A (en) * | 2007-10-30 | 2008-03-12 | 北京中星微电子有限公司 | Method and device for automatic measuring ambient brightness |
CN103533252A (en) * | 2013-09-30 | 2014-01-22 | 浙江宇视科技有限公司 | Method and device for automatically switching day and night modes |
CN104301616A (en) * | 2014-10-31 | 2015-01-21 | 苏州科达科技股份有限公司 | Method and system for controlling day-to-night switching mode of camera and method and system for controlling night-to-day switching mode of camera |
CN104580896A (en) * | 2014-12-25 | 2015-04-29 | 深圳市锐明视讯技术有限公司 | Method and device for switching day and night modes of camera |
CN105827902A (en) * | 2015-06-19 | 2016-08-03 | 维沃移动通信有限公司 | Night scene detection method and terminal |
-
2016
- 2016-10-25 CN CN201610938539.0A patent/CN106454099A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140184A (en) * | 2007-10-30 | 2008-03-12 | 北京中星微电子有限公司 | Method and device for automatic measuring ambient brightness |
CN103533252A (en) * | 2013-09-30 | 2014-01-22 | 浙江宇视科技有限公司 | Method and device for automatically switching day and night modes |
CN104301616A (en) * | 2014-10-31 | 2015-01-21 | 苏州科达科技股份有限公司 | Method and system for controlling day-to-night switching mode of camera and method and system for controlling night-to-day switching mode of camera |
CN104580896A (en) * | 2014-12-25 | 2015-04-29 | 深圳市锐明视讯技术有限公司 | Method and device for switching day and night modes of camera |
CN105827902A (en) * | 2015-06-19 | 2016-08-03 | 维沃移动通信有限公司 | Night scene detection method and terminal |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370955A (en) * | 2017-08-21 | 2017-11-21 | 深圳市天视通电子科技有限公司 | Can be automatically switched web camera, implementation method and the monitoring system of diurnal pattern |
CN108377340A (en) * | 2018-05-10 | 2018-08-07 | 杭州雄迈集成电路技术有限公司 | One kind being based on RGB-IR sensor diurnal pattern automatic switching methods and device |
CN108429892A (en) * | 2018-05-10 | 2018-08-21 | 杭州雄迈集成电路技术有限公司 | One kind being based on RGB sensor diurnal pattern automatic switching methods |
CN109302570A (en) * | 2018-10-23 | 2019-02-01 | 深圳市宸电电子有限公司 | A kind of environment measuring processing mode based on ROI region subgraph brightness value |
CN111726514A (en) * | 2019-03-20 | 2020-09-29 | 浙江宇视科技有限公司 | Camera and day and night mode switching method, device, equipment and medium thereof |
US11962909B2 (en) | 2019-03-20 | 2024-04-16 | Zhejiang Uniview Technologies Co., Ltd. | Camera, method, apparatus and device for switching between daytime and nighttime modes, and medium |
CN110225257A (en) * | 2019-07-09 | 2019-09-10 | 浙江大华技术股份有限公司 | Diurnal pattern switching method and device, photographic device and storage medium |
CN110225257B (en) * | 2019-07-09 | 2021-09-17 | 浙江大华技术股份有限公司 | Day and night mode switching method and device, camera device and storage medium |
WO2021114265A1 (en) * | 2019-12-13 | 2021-06-17 | 深圳市大疆创新科技有限公司 | Working method of device/integrated device, and apparatus, removable device, and medium |
CN111010515A (en) * | 2019-12-26 | 2020-04-14 | 杭州涂鸦信息技术有限公司 | Day and night switching method and device for camera |
CN111988532A (en) * | 2020-07-16 | 2020-11-24 | 哈尔滨海能达科技有限公司 | Control method and device for night vision compensation lamp switch |
CN111988532B (en) * | 2020-07-16 | 2022-07-12 | 哈尔滨海能达科技有限公司 | Control method and device for night vision compensation lamp switch |
CN112954202A (en) * | 2021-01-29 | 2021-06-11 | 成都国科微电子有限公司 | Day and night mode detection method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106454099A (en) | day-night mode switching method of improved video camera | |
CN102572285B (en) | Day and night mode switching method of CCD camera | |
US11835029B2 (en) | Tower clearance monitoring system and method therefor | |
O'Malley et al. | Rear-lamp vehicle detection and tracking in low-exposure color video for night conditions | |
CN110127479B (en) | Elevator door switch abnormity detection method based on video analysis | |
JP4248558B2 (en) | Road marking line detection device | |
US10089551B2 (en) | Self-optimized object detection using online detector selection | |
JPWO2006109398A1 (en) | Image processing apparatus and method, program, and recording medium | |
WO2017092445A1 (en) | Method and device for switching between operation modes of video monitoring apparatus | |
CN107507142B (en) | Signal lamp image processing method | |
CN103491313A (en) | Fill light lamp automatic control method based on video analysis | |
Badgelwar et al. | Survey on energy efficient smart street light system | |
CN102495511A (en) | Automatic exposure regulating method for camera | |
US11570358B1 (en) | Using remote sensors to resolve start up latency in battery-powered cameras and doorbell cameras | |
JP5750291B2 (en) | Image processing device | |
CN204596151U (en) | Vehicle image acquisition system | |
CN116630866B (en) | Abnormal event monitoring method, device, equipment and medium for audio-video radar fusion | |
EP3637758A1 (en) | Image processing device | |
JP7147746B2 (en) | VIDEO MONITORING SYSTEM, VIDEO MONITORING METHOD AND VIDEO MONITORING PROGRAM | |
CN116866711A (en) | Energy-saving monitoring method, system, equipment and storage medium | |
CN110555460B (en) | Image slice-based bird detection method for power transmission line at mobile terminal | |
CN105554409A (en) | Method and device for detecting day-night switching | |
JP2014150409A (en) | Image processing device, imaging device, and image processing program | |
CN107948620B (en) | Binocular camera debugging method based on advanced driving assistance system | |
JPWO2007034765A1 (en) | Color extraction method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170222 |