CN106506980A - A kind of based on the light source self-adaptation control method for judging image pixel intensity - Google Patents

A kind of based on the light source self-adaptation control method for judging image pixel intensity Download PDF

Info

Publication number
CN106506980A
CN106506980A CN201610965927.8A CN201610965927A CN106506980A CN 106506980 A CN106506980 A CN 106506980A CN 201610965927 A CN201610965927 A CN 201610965927A CN 106506980 A CN106506980 A CN 106506980A
Authority
CN
China
Prior art keywords
light source
pixel
intensity
judged
image
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.)
Pending
Application number
CN201610965927.8A
Other languages
Chinese (zh)
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201610965927.8A priority Critical patent/CN106506980A/en
Publication of CN106506980A publication Critical patent/CN106506980A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to a kind of realized using LabVIEW softwares based on the light source self-adaptation control method for judging image pixel intensity, step is as follows:Light source is set in any intensity by light source controller to illuminate a certain specific scene;Correctly configure CCD camera on computers, adjust the focal length and aperture of camera;The pixel histogram of image is obtained, pixel average is asked for;Add a brightness regulation knob, to simulate the adjusting knob of control light source controller;According to the one threshold decision interval of pixel mean set in histogram, this is interval as the standard for judging, it is judged to illuminate when pixel average is more than this threshold interval too strong.Conversely, being then judged to that illumination is not enough;Corresponding operation is taken to adjust the illumination intensity of light source according to judged result output end.

Description

A kind of based on the light source self-adaptation control method for judging image pixel intensity
Technical field
The present invention relates to a kind of based on the light source autocontrol method for judging image pixel intensity, belong to adaptive optics neck Domain;
Background technology
Machine vision plays more and more important role at aspects such as quality testing, process control, three-dimensionalreconstructions.Machine The key of device vision is exactly the image for obtaining to be analyzed accordingly and is processed, so the quality of image directly decides machine The validity of vision, and the quality for obtaining image depends on image capture device and lighting apparatus.
But in most of the cases, the control of lighting apparatus intensity be all mostly by the way of adjusting manually, this Mode is not suitable for the automation in actual production and intellectuality, and with very strong artificial subjectivity, is unfavorable for image Obtain and follow-up image procossing.Especially in the environment of industrial production, the artificial intensity for adjusting lighting apparatus manually is even more not Correspond to reality.This is based on, the automatic control technology of light source is particularly important in the development of machine vision.
Content of the invention
Present invention seek to address that in machine vision, adjusting the defect of lighting apparatus mode manually, there is provided a kind of being based on is sentenced The light source self-adaptation control method of disconnected image pixel intensity.The present invention based on to obtain image pixel distribution judge, root It is judged that as a result automatically adjusting light source illumination intensity.Technical scheme is as follows:
A kind of based on the light source self-adaptation control method for judging image pixel intensity, realized using LabVIEW softwares, step As follows:
(1) light source is set in by any intensity by light source controller illuminating a certain specific scene;
(2) correctly configure CCD camera on computers, adjust the focal length and aperture of camera, to obtain in this illumination bar The optimal acquisition effect of scene under part;
(3) path that CCD camera gathers image is read using LabVIEW, and shown in front panel, obtain image Pixel histogram, ask for pixel average;
(4) add a brightness regulation knob in LabVIEW, to simulate the adjusting knob of control light source controller, real The illumination intensity of light source is now directly adjusted by LabVIEW;
It is (5) according to the one threshold decision interval of pixel mean set in histogram, this is interval as the standard for judging, It is judged to illuminate when pixel average is more than this threshold interval too strong.Conversely, being then judged to that illumination is not enough;
(6) judged result in step (5) is transferred to the input of light source controller, is adopted according to judged result output end Take the illumination intensity that corresponding operation adjusts light source.
Compared with the prior art, the invention has the advantages that:
1>Solve existing manual regulation light source strong and weak the drawbacks of, it is to avoid subjective human factor is obtained to image and follow-up The adverse effect of process;
2>Existing artificial regulation light source mode do not applied under some dangerous production environments, and light source is automatically controlled Method can be avoided the mankind in this hazardous environment;
3>In the production line of industry, it is impossible human intervention to adjust the intensity of light source manually, and light source Autocontrol method then can achieve this automation;
4>The device of light source autocontrol method is all based on the conventional device of machine vision, without the need for adding other devices Part, can meet the requirement of low-cost system structure.
Specific embodiment
With reference to instantiation, the present invention will be further described;
The light source automaton of the present invention, image capture device regard CCD phases for the 8-bit dimensions of MV-EM120M models Machine, lighting apparatus are Philip LED panel lamp, and light source controller is the Ao Pute light source controllers of DPA1024E-4 models, counts Installation LabVIEW softwares are needed to carry out image procossing on calculation machine.
The image gathered using CCD camera, the pixel histogram shown using LabVIEW judge to shine according to pixel distribution The result of bright intensity.Read in computer using LabVIEW and deposit the path that CCD camera gathers image, the image of reading is shown Show in front panel.Obtain image in every bit image pixel intensities, by histogram by the pixel distribution of entire image intuitively Express, Pixel-level of the abscissa for 0-255, ordinate is the frequency of each Pixel-level.The average of image pixel is calculated, It is shown in front panel, using this pixel average as the index for subsequently judging.
It is distributed according to the grey level histogram of present image, sets a rational threshold decision interval, by this threshold interval As the standard for judging.When pixel average is in this threshold interval, illumination is not enough and illuminate too strong indicator lamp be all green, Be judged as that illumination condition now is normal, when pixel average is less than this threshold interval, corresponding illumination deficiency indicator lamp by Normal green is changed into red, represents and is judged to that illumination is not enough.Conversely, when pixel average is more than this threshold interval, corresponding The too strong indicator lamp of illumination be changed into red from normal green, represent be judged to illuminate too strong.
On the front panel that LabVIEW adjusts the intensity of light source, corresponding to normal judged result is illuminated, current photograph is kept Bright state, does not do any regulation operation to the intensity of light source;Corresponding to the judged result that illumination is not enough, result is converted into numeral Signal is sent to the input of light source controller, then output end executes corresponding operation to light source, and light source is lightened;Corresponding to photograph Result is converted into the input that data signal is sent to light source controller by bright too strong judged result, then output end is to light source Corresponding operation is executed, by light source dim.
This is based on, automatic control system of light source achieves the Self Adaptive Control to lighting source, and the system is without the need for people For intervening, can be with the work of long-time stable.When external environmental light changes or illuminated scene changes, according to The pixel histogram distribution of new collection image after environmental change, sets a rational threshold decision interval, re-executes step (1)-(6), you can set up an automatic control system of light source for being suitable for new working environment.Therefore, the light source automatically controls and is System has general applicability.

Claims (1)

1. a kind of based on the light source self-adaptation control method for judging image pixel intensity, realize that step is such as using LabVIEW softwares Under:
(1) light source is set in by any intensity by light source controller illuminating a certain specific scene;
(2) correctly configure CCD camera on computers, adjust the focal length and aperture of camera, to obtain under this lighting condition The optimal acquisition effect of scene;
(3) path that CCD camera gathers image is read using LabVIEW, and shown the picture for obtaining image in front panel Plain histogram, asks for pixel average;
(4) add a brightness regulation knob in LabVIEW, to simulate the adjusting knob of control light source controller, realize logical Cross the illumination intensity that LabVIEW directly adjusts light source;
(5) according to the one threshold decision interval of pixel mean set in histogram, this is interval as the standard for judging, work as picture Plain average is judged to illuminate too strong when being more than this threshold interval.Conversely, being then judged to that illumination is not enough;
(6) judged result in step (5) is transferred to the input of light source controller, phase is taken according to judged result output end The operation that answers adjusts the illumination intensity of light source.
CN201610965927.8A 2016-11-04 2016-11-04 A kind of based on the light source self-adaptation control method for judging image pixel intensity Pending CN106506980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610965927.8A CN106506980A (en) 2016-11-04 2016-11-04 A kind of based on the light source self-adaptation control method for judging image pixel intensity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610965927.8A CN106506980A (en) 2016-11-04 2016-11-04 A kind of based on the light source self-adaptation control method for judging image pixel intensity

Publications (1)

Publication Number Publication Date
CN106506980A true CN106506980A (en) 2017-03-15

Family

ID=58322681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610965927.8A Pending CN106506980A (en) 2016-11-04 2016-11-04 A kind of based on the light source self-adaptation control method for judging image pixel intensity

Country Status (1)

Country Link
CN (1) CN106506980A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429011A (en) * 2017-09-04 2019-03-05 佳能株式会社 Flying object, mobile device, control method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287073A (en) * 2008-05-12 2008-10-15 吉林大学 Adaptive acquiring method of lightness stabilized image from machine vision system in variable irradiation surroundings
TW200926780A (en) * 2007-12-03 2009-06-16 Av Tech Corp Method for adjusting the brightness of an image signal and a camera having the same
CN102387631A (en) * 2010-10-19 2012-03-21 刘江 Automatic judgment and adjustment method of light intensity in immunochromatography interpretation recorder
CN103237177A (en) * 2013-04-24 2013-08-07 广州视睿电子科技有限公司 Light source brightness adjustment method and device
WO2016078598A1 (en) * 2014-11-19 2016-05-26 刘皓挺 Combined lighting apparatus and method based on image quality control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200926780A (en) * 2007-12-03 2009-06-16 Av Tech Corp Method for adjusting the brightness of an image signal and a camera having the same
CN101287073A (en) * 2008-05-12 2008-10-15 吉林大学 Adaptive acquiring method of lightness stabilized image from machine vision system in variable irradiation surroundings
CN102387631A (en) * 2010-10-19 2012-03-21 刘江 Automatic judgment and adjustment method of light intensity in immunochromatography interpretation recorder
CN103237177A (en) * 2013-04-24 2013-08-07 广州视睿电子科技有限公司 Light source brightness adjustment method and device
WO2016078598A1 (en) * 2014-11-19 2016-05-26 刘皓挺 Combined lighting apparatus and method based on image quality control

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
岑誉: "基于LabVIEW的电容器缺陷检测系统研究", 《组合机床与自动化加工技术》 *
王日明: "基于CCD图像反馈的光强调节技术的FPGA实现", 《光学与光电技术》 *
解冰: "掌纹识别系统中的光源强度自动调节技术及其应用", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109429011A (en) * 2017-09-04 2019-03-05 佳能株式会社 Flying object, mobile device, control method and storage medium
CN109429011B (en) * 2017-09-04 2020-11-06 佳能株式会社 Flying object, mobile device, control method, and storage medium

Similar Documents

Publication Publication Date Title
CN103841726A (en) Luminance real-time adjusting device of light source in pole piece surface defect detection and adjusting method thereof
CN101287073B (en) Adaptive acquiring method of lightness stabilized image from machine vision system in variable irradiation surroundings
CN103344563B (en) A kind of self-adaptation toning light modulation machine vision light source pick-up unit and method
CN109785240B (en) Low-illumination image enhancement method and device and image processing equipment
CN106023885B (en) A kind of LED display automatic brightness adjustment method
CN107590499B (en) Video-based equipment LED indicator lamp state monitoring method and system
CN106534700B (en) The quick method of soft light is realized based on automatic exposure and automatic white balance algorithm
CN104200794B (en) Image regulating method and display
WO2019169821A1 (en) Intelligent detection method and system for led lamp, and storage medium
CN103533252A (en) Method and device for automatically switching day and night modes
CN108646445A (en) A kind of defect detecting device of adaptive backlight
CN109996379B (en) Light control method and device
CN112730251B (en) Device and method for detecting screen color defects
JP2001229381A (en) Image processing check system and its method
CN108184286A (en) The control method and control system and electronic equipment of lamps and lanterns
CN204989048U (en) Light sources and including optical detection device of this light source
CN105699387A (en) Electronic product appearance defect detection system
CN106506980A (en) A kind of based on the light source self-adaptation control method for judging image pixel intensity
CN108235831A (en) The control method and control system and electronic equipment of lamps and lanterns
CN204669681U (en) With the machine vision light source controller that brightness detects
CN116647960A (en) Stage lighting regulation and control system based on thing networking
KR101107562B1 (en) Lighting method for machine vision system
CN106033062B (en) Automatic dimming method for optical detection and optical detection machine platform thereof
CN116133196A (en) Intelligent education lighting lamp light adjusting method based on scene recognition
CN113259595B (en) Image acquisition method, image acquisition device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication