CN107993231A - A kind of panchromatic luminance shortage detection method, device - Google Patents

A kind of panchromatic luminance shortage detection method, device Download PDF

Info

Publication number
CN107993231A
CN107993231A CN201711493953.6A CN201711493953A CN107993231A CN 107993231 A CN107993231 A CN 107993231A CN 201711493953 A CN201711493953 A CN 201711493953A CN 107993231 A CN107993231 A CN 107993231A
Authority
CN
China
Prior art keywords
luminance shortage
luminance
image
module
shortage
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
Application number
CN201711493953.6A
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.)
Zhengzhou One Robot Co Ltd
Original Assignee
Zhengzhou One Robot 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 Zhengzhou One Robot Co Ltd filed Critical Zhengzhou One Robot Co Ltd
Priority to CN201711493953.6A priority Critical patent/CN107993231A/en
Publication of CN107993231A publication Critical patent/CN107993231A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/42Photometry, e.g. photographic exposure meter using electric radiation detectors
    • G01J1/4204Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Telephone Function (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

A kind of panchromatic luminance shortage detection method proposed by the present invention, device, including:Control unit, the work of each part for controlling the luminance shortage detection device;Image receiver module, for receiving or gathering image to be identified;Sub-zone dividing module, for image to be divided into M row N row sub-regions;Threshold setting module;The brightness value computing module of subregion, for calculating the brightness value (luminous intensity) of each sub-regions successively;Subregion luminance shortage identification module.It can be in recognition detection environment brightness, the local luminance deficiency that it can be in detection image, it can continuously detect luminance shortage, carry out continuing luminance shortage statistics, judge to continue whether luminance shortage exceedes setting reminder time, and remind in time.Luminance shortage detection can be carried out in the existing equipment such as mobile phone.

Description

A kind of panchromatic luminance shortage detection method, device
Technical field
The present invention relates to a kind of panchromatic luminance shortage detection method, device.
Background technology
Existing Chinese patent CN200510101451.5, it is proposed that a kind of vehicular head light detector driving beam shines Strength detecting method, is that the light-intensity test plate after the lens with vehicular head light detector is moved up in the vertical plane that light beam projects It is dynamic, after light-intensity test plate passes completely through the projection area of light beam, several photo-electric conversion elements arranged in a straight line on light-intensity test plate The data gathered just reflect light distribution situation of the whole light beam on the vertical plane that light beam projects, this group of data can be accurate Ground detects vehicle head lamp driving beam luminous intensity.Realize the testing agency of the above method, detected in vehicle head lamp Brightness detection plate after lens in instrument is equipped with photo-electric conversion element, and light-intensity test plate lays several opto-electronic conversions on (2) Element (4) is arranged in a linear, and brightness detection plate (2) is in tractor (3).The present invention has measurement compared with the prior art Precision is high, the vehicle head lamp lamps and lanterns bad to driving beam distribution character have the advantages of good adaptability..
Existing Chinese patent CN201520820369.7, it is proposed that a kind of combined imaging suitable for LED car lamp detects Equipment, includes apparatus body, its main feature is that:Detection components are provided with apparatus body, Visual retrieval is provided with and puts down Platform, manipulation component is distributed with Visual retrieval platform.Meanwhile the data output end of detection components and Visual retrieval platform Data input pin be connected.Also, light fixture is installed, apparatus body is provided with energy resource supply dress on Visual retrieval platform Put, the output terminal of energy resource supply device is connected with the transmission of electricity port of detection components, Visual retrieval platform, light fixture.Thus, Manpower-free visually observes, and avoids strong light injury eyes.Meanwhile coordinated by camera and industrial computer, realize to LED car lamp The detection of module glow color, aberration, brightness, operating current etc., detection efficiency is high, is not in flase drop, avoids artificial detection Fatigue.Furthermore detection parameters can be adjusted according to the difference of product to be detected, there is extremely strong adaptability.
Above-mentioned technology is not directed to the dim light (eye being used under dim light, easily cause the diseases such as myopia) in detection environment in real time, It is not directed to remind people in time, pays attention to injury of the luminance shortage to the person, is not directed to injury analysis of the long-time dim light to eyes; It is not directed to use the mobile phone with camera, whether measurement brightness is suitable.How environment-identification luminance shortage, how to cause people weight Depending on injury of the ambient brightness deficiency to health.A kind of device for being capable of environment-identification brightness power is provided, is preferably capable of Utilize the equipment such as existing mobile phone, environment-identification brightness.
The content of the invention
Technical problem:
In view of the defects existing in the prior art, the present invention proposes a kind of panchromatic luminance shortage detection method, device, it can Brightness in recognition detection environment, and remind people to pay attention to protect eyes in time.
Technical solution:
To achieve these goals, the present invention proposes a kind of luminance shortage detection method, including following processing step:
S1. the piece image in region to be detected is obtained;Receive or gather the image in region to be detected;
S2. image is divided into M row N row sub-regions;Often row has m pixel, often shows n pixel, m >=1, n >=1, M, n is pre-set;
S3., threshold value Y (Y is lower threshold, less than the median of codomain) is set;
S4. the brightness value (luminous intensity) of each sub-regions is calculated successively:Calculate all pixels value in subregion Average value;If gray level image, the average value (being denoted as P) of all pixels value in subregion is directly calculated;It is colored in this way Image, is first converted to gray level image, is equally handled according still further to gray level image, alternatively, directly calculating the average value of colored each component And then be converted to gray value;
S5. judge whether the corresponding P of each sub-regions is less than Y successively;If less than Y, then the subregion luminance shortage;Such as Fruit is not less than Y, then the subregion is without luminance shortage;
S6. processing terminates.
Further, one of following processing steps are at least further included:
S7. on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering color, light One of modes such as strength values;
S8. on the screen, on the subregion of the luminance shortage detected, display brightness deficiency mark;
When S9. detecting luminance shortage, voice or auditory tone cues;
S10. on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;
S11. continuous sampling detects regional luminance to be detected, counts time, the ratio of continuous luminance shortage:Count brightness not Sufficient duration, the ratio for accounting for total time;
S12. luminance shortage reminder settings;Set persistent reminder time and/or the prompting side of the luminance shortage of various intensity Formula;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient, the prompting message include current detection data, Testing result.
Further, one of following characteristics are at least further included:
S13. the prompting message further includes positional information;
S14. the prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or Blood pressure.
According to another aspect of the present invention, the present invention proposes a kind of panchromatic luminance shortage detection method, including following place Manage step:
S21. the coloured image in a region to be detected is obtained;Receive or gather the coloured image in region to be detected;
S22. image is divided into M row N row sub-regions;Often row has m pixel, often shows n pixel, m >=1, n >=1, M, n is pre-set;;
S23. the threshold value of each color component is set (when such as image uses RGB color separations, to correspond to three color of red, green, blue respectively Threshold value is followed successively by Yr, Yg, Yb, and Yr, Yg, Yb are lower threshold, less than the median of codomain);
S24. each sub-regions, the brightness value (luminous intensity) of each color component are calculated successively:Calculate subregion The average value (being denoted as Pr, Pg, Pb) of all pixels value of interior, each color component;
S25. judge whether each sub-regions corresponding Pr, Pg, Pb are less than corresponding threshold value successively;If it is less, should Subregion luminance shortage on the color component;If it is not, then the subregion on the color component without luminance shortage;
S26. processing terminates.
Further, one of following processing steps are at least further included:
S27. on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering color, light One of modes such as strength values;
S28. on the screen, on the subregion of the luminance shortage detected, display brightness deficiency mark;
S29. the luminance shortage mark of each color component is different;
S30. full brightness detection and mark;If each color component has luminance shortage in a sub-regions, the son Region uses full brightness deficiency mark;The full brightness deficiency mark, it is different from the luminance shortage mark of each color component;
When S31. detecting luminance shortage or insufficient full brightness, voice or auditory tone cues;
S32. on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;
S33. continuously detection luminance shortage, lasting luminance shortage count:The luminance shortage for counting each color component continues The luminance shortage of time and/or random color component duration, the ratio for the total time of accounting for;
S34. luminance shortage reminder settings;Set luminance shortage persistent reminder time of each color component and/or any The luminance shortage persistent reminder time of color component and/or alerting pattern;After the luminance shortage persistent reminder time reaches, to specify Alerting pattern remind;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;The prompting message include current detection data, Testing result.
Further, one of following characteristics are at least further included:
S35. the prompting message further includes positional information;
S36. the prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or Blood pressure.
According to another aspect of the present invention, the present invention proposes a kind of luminance shortage detection device, for recognition detection environment In luminance shortage, and in time remind people pay attention to protect eyes, including:
Control unit, the work of each part for controlling the luminance shortage detection device, and with outside into Row data interaction;
Image receiver module, for receiving or gathering image to be identified;Preferably, the image for receiving or gathering, For the original image without digital processing;
Sub-zone dividing module, for image to be divided into M row N row sub-regions;Often row has m pixel, often shows n Pixel, m >=1, n >=1, m, n are pre-set;Preferably, m=5, n=5;
Threshold setting module, for setting threshold value Y (median for being more than pixel value range), it is preferred that when pixel takes Be worth for 256 grades when, Y=120;
The brightness value computing module of subregion, for calculating the brightness value (light intensity of each sub-regions successively Degree):Calculate the average value of all pixels value in subregion;If gray level image, all pictures in subregion are directly calculated The average value (being denoted as P) of plain value;Coloured image in this way, is first converted to gray level image, is equally handled according still further to gray level image, or Person, directly calculates the average value of colored each component and then is converted to gray value;
Subregion luminance shortage identification module:For judging whether the corresponding P of each sub-regions is less than Y successively;It is if small In Y, then the subregion has luminance shortage;If being not less than Y, the subregion is without luminance shortage.
Further, a kind of luminance shortage detection device, at least further includes one of the following:
Display module, on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering face One of modes such as color, Optical power values, and/or, the luminance shortage mark of display detects luminance shortage on image Subregion, and/or, on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Preferably, two Person is respectively positioned at left and right;
Audible alarm reminding module, when detecting luminance shortage, voice or auditory tone cues;
Continuous detection luminance shortage module, for continuously detecting luminance shortage, continues luminance shortage statistics:Count brightness not The sufficient duration;
Luminance shortage reminder settings module, for luminance shortage reminder settings;Set holding for the luminance shortage of various intensity Continuous reminder time and/or alerting pattern;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;The prompting message include current detection data, Testing result.
Further, one of following characteristics are at least further included:
The prompting message further includes positional information;The positional information is obtained by positioner;The strong light detection Device includes positioner, or current positional information is obtained by the communication with the device with positioning function;
The prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains;Institute Stating strong optical detection device includes physiologic information monitoring device, or passes through the communication with the device with physiologic information monitoring function Obtain current physiologic information.
Further, a kind of luminance shortage detection device is portable and/or wearable.
Further, a kind of luminance shortage detection device is mobile phone.
Further, described image is obtained from the image collecting device being arranged on glasses.
According to another aspect of the present invention, the present invention proposes a kind of panchromatic luminance shortage detection device, for recognition detection Luminance shortage in environment, and remind people to pay attention to protect eyes in time, including:
Control unit, the work of each part for controlling the luminance shortage detection device, and with outside into Row data interaction;
Image receiver module, for receiving or gathering coloured image to be identified;
Sub-zone dividing module, for image to be divided into M row N row sub-regions;Often row has m pixel, often shows n Pixel, m >=1, n >=1, m, n are pre-set;Preferably, m=5, n=5;
Threshold setting module, the threshold value for setting each color component respectively are (corresponding when such as image uses RGB color separations The threshold value of three color of red, green, blue is followed successively by Yr, Yg, Yb, and Yr, Yg, Yb are respectively greater than the median of pixel value range), preferably , when the value of each component of pixel is 256 grades, Yr=120, Yg=120, Yb=120;
The brightness value computing module of subregion, for calculating the brightness value (light intensity of each sub-regions successively Degree):Calculate the average value (being denoted as Pr, Pg, Pb) of all pixels value of in subregion, each color component;
Subregion luminance shortage identification module:For judging whether each sub-regions corresponding Pr, Pg, Pb are more than phase successively The threshold value answered;If it is greater, then the subregion has luminance shortage on the color component;If it is not greater, then the subregion exists Without luminance shortage on the color component.
Further, a kind of panchromatic luminance shortage detection device, at least further includes one of the following:
Display module, on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering face One of modes such as color, Optical power values, and/or, the luminance shortage mark of display detects luminance shortage on image Subregion, and/or, on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Corresponding each face The luminance shortage mark of colouring component is different;Preferably, both are respectively positioned at left and right;
Audible alarm reminding module, when detecting luminance shortage, voice or auditory tone cues;
Continuous detection luminance shortage module, for continuously detecting luminance shortage, continues luminance shortage statistics:Count brightness not The sufficient duration;
Luminance shortage reminder settings module, for luminance shortage reminder settings;Set holding for the luminance shortage of various intensity Continuous reminder time and/or alerting pattern;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;The prompting message include current detection data, Testing result.
Further, one of following characteristics are at least further included:
The prompting message further includes positional information;The positional information is obtained by positioner;The strong light detection Device includes positioner, or current positional information is obtained by the communication with the device with positioning function;
The prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains;Institute Stating strong optical detection device includes physiologic information monitoring device, or passes through the communication with the device with physiologic information monitoring function Obtain current physiologic information.
Further, a kind of panchromatic luminance shortage detection device is portable and/or wearable.
Further, a kind of panchromatic luminance shortage detection device is mobile phone.
Further, described image is obtained from the image collecting device being arranged on glasses.
Technique effect:
A kind of panchromatic luminance shortage detection method proposed by the present invention, device, the brightness that it can be in recognition detection environment, It can be in detection image local luminance deficiency, it can continuously detect luminance shortage, carry out continuing luminance shortage statistics, sentence It is disconnected to continue whether luminance shortage exceedes setting reminder time, and remind in time.It can be carried out bright in the existing equipment such as mobile phone Degree deficiency detection;Prompting message can be sent to network data information recipient set in advance, the prompting message includes Current detection data, testing result, positional information, physiologic information.
Brief description of the drawings
Fig. 1 is a kind of a kind of process flow schematic diagram of luminance shortage detection method of embodiment of the present invention.
Fig. 2 is a kind of a kind of optional process flow of luminance shortage detection method of embodiment of the invention shown in Fig. 1 Schematic diagram.
Fig. 3 is a kind of a kind of process flow schematic diagram of panchromatic luminance shortage detection method of embodiment of the present invention.
Fig. 4 is a kind of a kind of optional processing of panchromatic luminance shortage detection method of embodiment of the invention shown in Fig. 1 Flow diagram.
Fig. 5 is a kind of structure diagram of luminance shortage detection device of another embodiment of the present invention:
11. control unit, 12. image receiver modules, 13. sub-zone dividing modules, 14. threshold setting modules, 15. sub-districts The brightness value computing module in domain, 16. subregion luminance shortage identification modules.
Fig. 6 is a kind of structural representation Fig. 2 of luminance shortage detection device of another embodiment of the present invention:
11. control unit, 12. image receiver modules, 13. sub-zone dividing modules, 14. threshold setting modules, 15. sub-districts The brightness value computing module in domain, 16. subregion luminance shortage identification modules, 17. display modules, the prompting of 18. audible alarms Module, 19. continuous detection luminance shortage modules, 20. luminance shortage reminder settings modules.
Fig. 7 is a kind of structure diagram of panchromatic luminance shortage detection device of another embodiment of the present invention:
31. control unit, 32. image receiver modules, 33. sub-zone dividing modules, 34. threshold setting modules, 35. sub-districts The brightness value computing module in domain, 36. subregion luminance shortage identification modules.
Fig. 8 is a kind of structural representation Fig. 2 of panchromatic luminance shortage detection device of another embodiment of the present invention:
31. control unit, 32. image receiver modules, 33. sub-zone dividing modules, 34. threshold setting modules, 35. sub-districts The brightness value computing module in domain, 36. subregion luminance shortage identification modules, 37. display modules, the prompting of 38. audible alarms Module, 39. continuous detection luminance shortage modules, 40. luminance shortage reminder settings modules.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below with reference to accompanying drawings and embodiments Carry out the embodiment that the present invention will be described in detail, how application technology means solve technical problem to the present invention whereby, and reach Technique effect realizes that process can fully understand and implement according to this.
It is as long as each in each embodiment and each embodiment in the present invention it should be noted that do not form conflict Feature can be combined with each other, and the technical solution formed is within protection scope of the present invention.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Embodiment one
Fig. 1 is a kind of a kind of process flow schematic diagram of luminance shortage detection method of embodiment of the present invention;Such as Fig. 1 institutes Show, a kind of luminance shortage detection method, including following processing steps:
S1. the piece image in region to be detected is obtained;Receive or gather the image in region to be detected;Preferably, in real time Collection, the image for receiving or gathering, is the original image without digital processing;
S2. image is divided into M row N row sub-regions;Often row has m pixel, often shows n pixel, m >=1, n >=1, M, n is pre-set;Preferably, m=5, n=5;
S3., threshold value Y (being less than the median of pixel value range, Y is lower threshold, less than the median of codomain) is set, Preferably, when pixel value is 256 grades, Y=120;
S4. the brightness value (luminous intensity) of each sub-regions is calculated successively:Calculate all pixels value in subregion Average value;If gray level image, the average value (being denoted as P) of all pixels value in subregion is directly calculated;It is colored in this way Image, is first converted to gray level image, is equally handled according still further to gray level image, alternatively, directly calculating the average value of colored each component And then be converted to gray value;
S5. judge whether the corresponding P of each sub-regions is less than Y successively;If less than Y, then the subregion has luminance shortage; If being not less than Y, the subregion is without luminance shortage;
S6. processing terminates.
Embodiment two
Fig. 2 is a kind of a kind of optional process flow of luminance shortage detection method of embodiment of the invention shown in Fig. 1 Schematic diagram;As shown in Fig. 2, a kind of luminance shortage detection method, at least further includes one of following processing steps, it is preferred that All include:
S7. on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering color, light One of modes such as strength values;
S8. on the screen, on the subregion of the luminance shortage detected, display brightness deficiency mark;
When S9. detecting luminance shortage, voice or auditory tone cues;
S10. on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Preferably, both Respectively positioned at left and right;
S11. continuous sampling detects luminance area to be detected, counts time, the ratio of continuous luminance shortage:Count brightness not Sufficient duration;
S12. luminance shortage reminder settings;Set persistent reminder time and/or the prompting side of the luminance shortage of various intensity Formula;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;The persistent reminder time is more than or equal to 1 second;Carry Awake mode includes:The modes such as voice, sound, phone, short message;Preferably, persistent reminder time 2 seconds;Alerting pattern is voice;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;
Preferably, all settings, 2 seconds persistent reminder time;Alerting pattern is voice call, and is sent to the webserver Prompting message, the prompting message include current detection data, testing result.
Further, one of following characteristics are at least further included, it is preferred that all include:
S13. the prompting message further includes positional information;The positional information is obtained by positioner;
S14. the prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or Blood pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains.
It should be noted that:Received server-side is to after prompting message, record, and gives notice to related personnel;Especially It is that the contact method of car owner is searched according to license plate number, notifies car owner automatically;When finding the cell-phone number of car owner, automatic dialing connection It is that car owner solves in time.
Embodiment three
Fig. 3 is a kind of process flow schematic diagram of panchromatic luminance shortage detection method of another embodiment of the present invention; As shown in figure 3, a kind of panchromatic luminance shortage detection method, including following processing steps:
S21. the coloured image in a region to be detected is obtained;Receive or gather the coloured image in region to be detected;It is excellent Choosing, collection in real time, the image for receiving or gathering, is the original image without digital processing;
S22. image is divided into M row N row sub-regions;Often row has m pixel, often shows n pixel, m >=1, n >=1, M, n is pre-set;Preferably, m=5, n=5;
S23. the threshold value of each color component is set (when such as image uses RGB color separations, to correspond to three color of red, green, blue respectively Threshold value is followed successively by Yr, Yg, Yb, and Yr, Yg, Yb are lower threshold, less than the median of codomain), it is preferred that when each component of pixel When value is 256 grades, Yr=120, Yg=120, Yb=120;
S24. each sub-regions, the brightness value (luminous intensity) of each color component are calculated successively:Calculate subregion The average value (being denoted as Pr, Pg, Pb) of all pixels value of interior, each color component;
S25. judge whether each sub-regions corresponding Pr, Pg, Pb are less than corresponding threshold value successively;If it is less, should Subregion has luminance shortage on the color component;If it is not, then the subregion on the color component without luminance shortage;
S26. processing terminates.
Embodiment four
Fig. 4 is a kind of a kind of optional processing of panchromatic luminance shortage detection method of embodiment of the invention shown in Fig. 3 Flow diagram;As shown in figure 4, a kind of panchromatic luminance shortage detection method, at least further includes one of following processing steps, Preferably, all include:
S27. on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering color, light One of modes such as strength values;
S28. on the screen, on the subregion of the luminance shortage detected, display brightness deficiency mark;
S29. the luminance shortage mark of each color component is different;
S30. full brightness detection and mark;If each color component has luminance shortage in a sub-regions, the son Region uses full brightness deficiency mark;The full brightness deficiency mark, it is different from the luminance shortage mark of each color component;
When S31. detecting luminance shortage or insufficient full brightness, voice or auditory tone cues;
S32. on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Preferably, both Respectively positioned at left and right;
S33. continuously detection luminance shortage, lasting luminance shortage count:The luminance shortage for counting each color component continues The luminance shortage of time and/or random color component duration, the ratio for the total time of accounting for;
S34. luminance shortage reminder settings;Set luminance shortage persistent reminder time of each color component and/or any The luminance shortage persistent reminder time of color component and/or alerting pattern;After the luminance shortage persistent reminder time reaches, to specify Alerting pattern remind;The persistent reminder time is more than or equal to 1 second;Alerting pattern includes:The side such as voice, sound, phone, short message Formula;Preferably, persistent reminder time 2 seconds;Alerting pattern is voice;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;
Preferably, all settings, 2 seconds persistent reminder time;Alerting pattern is voice call, and is sent to the webserver Prompting message, the prompting message include current detection data, testing result.
Further, one of following characteristics are at least further included, it is preferred that all include:
S35. the prompting message further includes positional information;The positional information is obtained by positioner;
S36. the prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or Blood pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains.
It should be noted that:Received server-side is to after prompting message, record, and gives notice to related personnel;Especially It is that the contact method of car owner is searched according to license plate number, notifies car owner automatically;When finding the cell-phone number of car owner, automatic dialing connection It is that car owner solves in time.
Embodiment five
Fig. 5 is a kind of structure diagram of luminance shortage detection device of another embodiment of the present invention, for identifying The luminance shortage in environment is detected, and reminds people to pay attention to protect eyes in time, as shown in figure 5, including:Control unit 11, figure As receiving module 12, sub-zone dividing module 13, threshold setting module 14, the brightness value computing module 15 of subregion, son Regional luminance deficiency identification module 16.
Control unit 11, data interaction is carried out for controlling the work of each part, and with outside;For computer control Device processed, including motherboard and microprocessor (CPU) etc., preferably cell phone controller;
Image receiver module 12, for receiving or gathering image to be identified;It is preferable to include coordinating with control unit The imaging sensor of connection, is camera device of mobile phone;Preferably, collection in real time, the image for receiving or gathering, are without numeral The original image of processing;
Sub-zone dividing module 13, for image to be divided into M row N row sub-regions;Often row has m pixel, often shows n A pixel, m >=1, n >=1, m, n are pre-set;Preferably, m=5, n=5;
Threshold setting module 14, for setting threshold value Y (median for being more than pixel value range), it is preferred that work as pixel When value is 256 grades, Y=120;
The brightness value computing module 15 of subregion, for calculating the brightness value (light intensity of each sub-regions successively Degree):Calculate the average value of all pixels value in subregion;If gray level image, all pictures in subregion are directly calculated The average value (being denoted as P) of plain value;Coloured image in this way, is first converted to gray level image, is equally handled according still further to gray level image, or Person, directly calculates the average value of colored each component and then is converted to gray value;
Subregion luminance shortage identification module 16:For judging whether the corresponding P of each sub-regions is less than Y successively;If Less than Y, then the subregion has luminance shortage;If being not less than Y, the subregion is without luminance shortage.
It should be noted that a kind of luminance shortage detection module is portable and/or wearable, it is preferably portable Formula;Preferably mobile phone etc. is existing has camera function, the mancarried device of display function.
It should be noted that optional, described image is obtained from the image collecting device being arranged on glasses.
Embodiment six
Fig. 6 is a kind of structural representation Fig. 2 of luminance shortage detection device of another embodiment of the present invention, for identifying The luminance shortage in environment is detected, and reminds people to pay attention to protect eyes in time, as shown in fig. 6, including:Control unit 11, figure As receiving module 12, sub-zone dividing module 13, threshold setting module 14, the brightness value computing module 15 of subregion, son Regional luminance deficiency identification module 16, display module 17, audible alarm reminding module 18, continuous detection luminance shortage module 19, Luminance shortage reminder settings module 20.
Embodiment six and the difference of embodiment five are that embodiment six at least further includes one of the following:It is aobvious Show module 17, audible alarm reminding module 18, continuous detection luminance shortage module 19, luminance shortage reminder settings module 20;It is excellent Choosing, all include.
Display module 17, on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering One of modes such as color, Optical power values, and/or, the luminance shortage mark of display detects luminance shortage on image Subregion, and/or, on the screen, contrast show image, testing result;Both are respectively positioned at left and right or upper and lower;Preferably, Both are respectively positioned at left and right;
Audible alarm reminding module 18, when detecting luminance shortage, voice or auditory tone cues;Preferably, voice prompt;
Continuous detection luminance shortage module 19, for continuously detecting luminance shortage, continues luminance shortage statistics:Count brightness The insufficient duration;
Luminance shortage reminder settings module 20, for luminance shortage reminder settings;Set the luminance shortage of various intensity Persistent reminder time and/or alerting pattern;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;Hold Continuous reminder time is more than or equal to 1 second;Alerting pattern includes:The modes such as voice, sound, phone, short message;Preferably, persistent reminder 2 seconds time;Alerting pattern is voice;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;
Preferably, all settings, 2 seconds persistent reminder time;Alerting pattern is voice call, and is sent to the webserver Prompting message, the prompting message include current detection data, testing result.
Optionally, one of following characteristics are at least further included, it is preferred that all include:
The prompting message further includes positional information;The positional information is obtained by positioner;The strong light detection Device includes positioner, or current positional information is obtained by the communication with the device with positioning function, it is preferred that The strong optical detection device includes positioner;
The prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains;Institute Stating strong optical detection device includes physiologic information monitoring device, or passes through the communication with the device with physiologic information monitoring function Obtain current physiologic information;Preferably, the strong optical detection device by with the device with physiologic information monitoring function Communication obtains current physiologic information.
It should be noted that:Received server-side is to after prompting message, record, and gives notice to related personnel;Especially It is that the contact method of car owner is searched according to license plate number, notifies car owner automatically;When finding the cell-phone number of car owner, automatic dialing connection It is that car owner solves in time.
Embodiment seven
Fig. 7 is a kind of structure diagram of panchromatic luminance shortage detection device of another embodiment of the present invention, is used for Luminance shortage in recognition detection environment, and remind people to pay attention to protect eyes in time, as shown in fig. 7, comprises:Control unit 31st, the brightness value computing module of image receiver module 32, sub-zone dividing module 33, threshold setting module 34, subregion 35th, subregion luminance shortage identification module 36.
Control unit 31, data interaction is carried out for controlling the work of each part, and with outside;For computer control Device processed, including motherboard and microprocessor (CPU) etc., preferably cell phone controller;
Image receiver module 32, for receiving or gathering coloured image to be identified;Preferably, including with control unit The imaging sensor of mating connection, is camera device of mobile phone;Preferably, in real time collection, receive or collection image, be without The original image of digital processing;
Sub-zone dividing module 33, for image to be divided into M row N row sub-regions;Often row has m pixel, often shows n A pixel, m >=1, n >=1, m, n are pre-set;Preferably, m=5, n=5;
Threshold setting module 34, the threshold value for setting each color component respectively are (right when such as image uses RGB color separations The threshold value of three color of red, green, blue is answered to be followed successively by Yr, Yg, Yb, Yr, Yg, Yb are respectively greater than the median of pixel value range), preferably , when the value of each component of pixel is 256 grades, Yr=120, Yg=120, Yb=120;
The brightness value computing module 35 of subregion, for calculating the brightness value (light intensity of each sub-regions successively Degree):Calculate the average value (being denoted as Pr, Pg, Pb) of all pixels value of in subregion, each color component;
Subregion luminance shortage identification module 36:For judging whether each sub-regions corresponding Pr, Pg, Pb are more than successively Corresponding threshold value;If it is greater, then the subregion has luminance shortage on the color component;If it is not greater, then the subregion Without luminance shortage on the color component.
It should be noted that a kind of luminance shortage detection device is portable and/or wearable, it is preferably portable Formula;Preferably mobile phone etc. is existing has camera function, the mancarried device of display function.
It should be noted that optional, described image is obtained from the image collecting device being arranged on glasses.
Embodiment eight
Fig. 8 is a kind of structural representation Fig. 2 of panchromatic luminance shortage detection device of another embodiment of the present invention, is used for Luminance shortage in recognition detection environment, and remind people to pay attention to protect eyes in time, as shown in figure 8, including:Control unit 31st, the brightness value computing module of image receiver module 32, sub-zone dividing module 33, threshold setting module 34, subregion 35th, subregion luminance shortage identification module 36, display module 37, audible alarm reminding module 38, continuous detection luminance shortage mould Block 39, luminance shortage reminder settings module 40.
Embodiment eight and the difference of embodiment seven are that embodiment eight at least further includes one of the following:It is aobvious Show module 37, audible alarm reminding module 38, continuous detection luminance shortage module 39, luminance shortage reminder settings module 40;It is excellent Choosing, all include.
Display module 37, on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering One of modes such as color, Optical power values, and/or, the luminance shortage mark of display detects luminance shortage on image Subregion, and/or, on the screen, contrast show image, testing result;Both are respectively positioned at left and right or upper and lower;Correspondence is each The luminance shortage mark of color component is different;Preferably, both are respectively positioned at left and right, luminance shortage mark, are icon, mouse Mark is directed toward at that time, shows Optical power values, and the luminance shortage mark of display detects the sub-district of luminance shortage on image Domain;
Audible alarm reminding module 38, when detecting luminance shortage, voice or auditory tone cues;Preferably, voice prompt;
Continuous detection luminance shortage module 39, for continuously detecting luminance shortage, continues luminance shortage statistics:Count brightness The insufficient duration;
Luminance shortage reminder settings module 40, for luminance shortage reminder settings;Set the luminance shortage of various intensity Persistent reminder time and/or alerting pattern;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern;Hold Continuous reminder time is more than or equal to 1 second;Alerting pattern includes:The modes such as voice, sound, phone, short message;Preferably, persistent reminder 2 seconds time;Alerting pattern is voice;
The alerting pattern includes:Voice prompt and/or auditory tone cues and/or make a phone call to telephone number set in advance And/or send short messages and/or send prompting message to network data information recipient set in advance;Described information recipient is at least Including one of the following:The webserver, E-mail address, instant messaging recipient;
Preferably, all settings, 2 seconds persistent reminder time;Alerting pattern is voice call, and is sent to the webserver Prompting message, the prompting message include current detection data, testing result.
Optionally, one of following characteristics are at least further included, it is preferred that all include:
The prompting message further includes positional information;The positional information is obtained by positioner;The strong light detection Device includes positioner, or current positional information is obtained by the communication with the device with positioning function, it is preferred that The strong optical detection device includes positioner;
The prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains;Institute Stating strong optical detection device includes physiologic information monitoring device, or passes through the communication with the device with physiologic information monitoring function Obtain current physiologic information;Preferably, the strong optical detection device by with the device with physiologic information monitoring function Communication obtains current physiologic information.
It should be noted that:Received server-side is to after prompting message, record, and gives notice to related personnel;Especially It is that the contact method of car owner is searched according to license plate number, notifies car owner automatically;When finding the cell-phone number of car owner, automatic dialing connection It is that car owner solves in time.
The above, is only the specific implementation case of the present invention, protection scope of the present invention is not limited thereto, any ripe Those skilled in the art are known in technical specification of the present invention, modifications of the present invention or replacement all should be in the present invention Protection domain within.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should all be included in the protection scope of the present invention.

Claims (8)

  1. A kind of 1. panchromatic luminance shortage detection method, it is characterised in that:Including following processing step:
    S21. the coloured image in a region to be detected is obtained;
    S22. image is divided into M row N row sub-regions;Often row has m pixel, often shows n pixel, m >=1, n >=1, m, n Pre-set;
    S23. the threshold value of each color component is set (when such as image uses RGB color separations, to correspond to the threshold value of three color of red, green, blue respectively It is followed successively by Yr, Yg, Yb);
    S24. each sub-regions, the brightness value (luminous intensity) of each color component are calculated successively:Calculate it is in subregion, The average value (being denoted as Pr, Pg, Pb) of all pixels value of each color component;
    S25. judge whether each sub-regions corresponding Pr, Pg, Pb are less than corresponding threshold value successively;If it is less, the sub-district Domain luminance shortage on the color component;If it is not, then the subregion on the color component without luminance shortage;
    S26. processing terminates.
  2. 2. panchromatic luminance shortage detection method according to claim 1, it is characterised in that:At least further include following processing steps It is one of rapid:
    S27. on the screen, display brightness deficiency mark;The luminance shortage mark, is at least icon, covering color, luminous intensity One of modes such as numerical value;
    S28. on the screen, on the subregion of the luminance shortage detected, display brightness deficiency mark;
    S29. the luminance shortage mark of each color component is different;
    S30. the detection of full brightness deficiency and mark;If each color component has luminance shortage in a sub-regions, the son Region uses full brightness deficiency mark;The full brightness deficiency mark, it is different from the luminance shortage mark of each color component;
    When S31. detecting luminance shortage or insufficient full brightness, voice or auditory tone cues;
    S32. on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Preferably, both distinguish Positioned at left and right;
    S33. continuously detection luminance shortage, lasting luminance shortage count:Count the luminance shortage duration of each color component And/or luminance shortage duration, the ratio for the total time of accounting for of random color component;
    S34. luminance shortage reminder settings;Set luminance shortage persistent reminder time and/or the random color of each color component The luminance shortage persistent reminder time of component and/or alerting pattern;After the luminance shortage persistent reminder time reaches, carried with specified Awake mode is reminded.
  3. 3. panchromatic luminance shortage detection method according to claim 1 or 2, it is characterised in that at least further include following spies One of sign:
    S35. the prompting message further includes positional information;
    S36. the prompting message further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure.
  4. 4. a kind of panchromatic luminance shortage detection device, for the luminance shortage in recognition detection environment, and reminds people's note in time Meaning protect eyes, it is characterised in that:Including:
    Control unit, the work of each part for controlling the luminance shortage detection device, and with outside into line number According to interaction;
    Image receiver module, for receiving or gathering coloured image to be identified;
    Sub-zone dividing module, for image to be divided into M row N row sub-regions;Often row has m pixel, often shows n picture Element, m >=1, n >=1, m, n are pre-set;
    Threshold setting module, for set respectively each color component threshold value (when such as image uses RGB color separations, it is corresponding it is red, Green, Lan Sanse threshold value is followed successively by Yr, Yg, Yb, and Yr, Yg, Yb are respectively greater than the median of pixel value range);
    The brightness value computing module of subregion, for calculating the brightness value (luminous intensity) of each sub-regions successively:Meter Calculate the average value (being denoted as Pr, Pg, Pb) of all pixels value of in subregion, each color component;
    Subregion luminance shortage identification module:For judging it is corresponding whether each sub-regions corresponding Pr, Pg, Pb are more than successively Threshold value;If it is greater, then the subregion has luminance shortage on the color component;If it is not greater, then the subregion is in the face Without luminance shortage on colouring component.
  5. 5. panchromatic luminance shortage detection device according to claim 4, it is characterised in that:At least further include one of the following:
    Display module, on the screen, display brightness deficiency mark;Luminance shortage mark, be at least icon, covering color, One of modes such as Optical power values, and/or, the luminance shortage mark of display detects the son of luminance shortage on image Region, and/or, on the screen, contrast shows image, testing result;Both are respectively positioned at left and right or upper and lower;Corresponding each color The luminance shortage mark of component is different;
    Audible alarm reminding module, when detecting luminance shortage, voice or auditory tone cues;
    Continuous detection luminance shortage module, for continuously detecting luminance shortage, continues luminance shortage statistics:Statistics luminance shortage is held The continuous time;
    Luminance shortage reminder settings module, for luminance shortage reminder settings;Set persistently carrying for the luminance shortage of various intensity Awake time and/or alerting pattern;After the luminance shortage persistent reminder time reaches, reminded with specified alerting pattern.
  6. 6. panchromatic luminance shortage detection device according to claim 4, it is characterised in that at least further include following characteristics it One:
    (1) prompting message described in further includes positional information;The positional information is obtained by positioner;The strong light detection Device includes positioner, or current positional information is obtained by the communication with the device with positioning function;
    (2) prompting message described in further includes the physiologic information of tester;The physiologic information includes:Heart rates and/or blood Pressure;The physiologic information is obtained by physiologic information monitoring device, such as:By having the function of that the wrist-watch of physiology monitoring obtains;Institute Stating strong optical detection device includes physiologic information monitoring device, or passes through the communication with the device with physiologic information monitoring function Obtain current physiologic information.
  7. 7. the panchromatic luminance shortage detection device according to one of claim 4-6, it is characterised in that:To be portable and/or It is wearable.
  8. 8. panchromatic luminance shortage detection device according to claim 7, it is characterised in that:For mobile phone.
CN201711493953.6A 2017-12-31 2017-12-31 A kind of panchromatic luminance shortage detection method, device Withdrawn CN107993231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711493953.6A CN107993231A (en) 2017-12-31 2017-12-31 A kind of panchromatic luminance shortage detection method, device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711493953.6A CN107993231A (en) 2017-12-31 2017-12-31 A kind of panchromatic luminance shortage detection method, device

Publications (1)

Publication Number Publication Date
CN107993231A true CN107993231A (en) 2018-05-04

Family

ID=62040601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711493953.6A Withdrawn CN107993231A (en) 2017-12-31 2017-12-31 A kind of panchromatic luminance shortage detection method, device

Country Status (1)

Country Link
CN (1) CN107993231A (en)

Similar Documents

Publication Publication Date Title
CN108257189A (en) A kind of strong light detection method, device
CN110140162A (en) Display system, electronic equipment and lighting system
CN103839054B (en) Multi-functional mobile intelligent terminal sensor supporting iris recognition
CN101136181B (en) Back light source brightness regulating mechanism, method and display apparatus thereof
CN205909142U (en) Lighting system with monitoring alarm function
US8487977B2 (en) Method and apparatus to virtualize people with 3D effect into a remote room on a telepresence call for true in person experience
CN107111145A (en) Head-mounted display apparatus and display methods
CN101209207A (en) Eyelid detecting apparatus, eyelid detecting method and program thereof
CN205622739U (en) Focusing device and system
CN105455946B (en) Protection device, protection method, wearable equipment and display device
CN108345439A (en) A kind of active anti-blu-ray system and method for calculating display screen blue light cumlative energy
CN106444105A (en) Method, device and system for detecting defects of liquid crystal screen
CN107543607A (en) A kind of method, system and equipment for detecting lighting environment health indicator
CN110831276B (en) LED-based lamplight brightness control method and related device
CN108388838A (en) Unmanned plane population surveillance system and monitoring method over the ground
CN208459716U (en) A kind of liquid crystal display detection device
CN108498064B (en) Digital bright spot flicker detection system
CN107978000A (en) A kind of panchromatic strong light detection method, device
CN107944355A (en) Big data gathers and processing method
CN104637425A (en) Assembly-line LED (light emitting diode) display unit uniformity detection method, system and device
CN107420826A (en) A kind of illuminator with monitoring alarm function
CN108168699A (en) A kind of illumination Frequency spectrum quality detection method, device
CN109996061A (en) The method for detecting abnormality and device of IR-CUT
CN107993270A (en) A kind of panchromatic illumination quality determining method, device
CN116798346B (en) Eye-protection display screen capable of automatically adjusting color temperature

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180504