CN111948214A - Device and method for classifying image pollution levels - Google Patents
Device and method for classifying image pollution levels Download PDFInfo
- Publication number
- CN111948214A CN111948214A CN202010691117.4A CN202010691117A CN111948214A CN 111948214 A CN111948214 A CN 111948214A CN 202010691117 A CN202010691117 A CN 202010691117A CN 111948214 A CN111948214 A CN 111948214A
- Authority
- CN
- China
- Prior art keywords
- image
- camera
- dirty
- level classification
- images
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000011109 contamination Methods 0.000 claims description 22
- NIXOWILDQLNWCW-UHFFFAOYSA-N acrylic acid group Chemical group C(C=C)(=O)O NIXOWILDQLNWCW-UHFFFAOYSA-N 0.000 claims description 11
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 claims description 4
- 229910052782 aluminium Inorganic materials 0.000 claims description 4
- 239000004744 fabric Substances 0.000 claims description 4
- 230000011514 reflex Effects 0.000 claims description 2
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8854—Grading and classifying of flaws
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8887—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能驾驶技术领域,尤其是涉及一种用于图像脏污等级分类的装置及方法。The present invention relates to the technical field of intelligent driving, and in particular, to a device and method for classifying image contamination levels.
背景技术Background technique
智能驾驶汽车需要在车辆上安装各种传感器来感知周围的环境,目前几乎所有的智能汽车都会采用摄像头来感知周围环境。在智能汽车行驶的过程中,摄像头传感器收集周边的信息来传递给汽车,智能汽车根据这些信息进行决策。所以为了保证汽车行驶安全,摄像头传感器传递给汽车的信息必须是准确的。Intelligent driving cars need to install various sensors on the vehicle to perceive the surrounding environment. At present, almost all smart cars use cameras to perceive the surrounding environment. In the process of driving a smart car, the camera sensor collects surrounding information and transmits it to the car, and the smart car makes decisions based on this information. Therefore, in order to ensure the safety of the car, the information transmitted by the camera sensor to the car must be accurate.
但在行驶的过程中,由于道路的不确定性,摄像头会受到不同程度的污染,受到污染的摄像头收集的道路信息和实际道路信息会存在偏差,可能会造成智能汽车的错误判断。因为研究图像脏污处理十分有必要。因此必须有一个图像脏污等级分类的统一的标准进行研究。这样可以方便研究人员进行研究,并且有了脏污的等级分类后,可以通过后续算法的判断,告诉智能汽车这是哪个等级的脏污,智能汽车根据脏污的等级做出相应的反应。However, in the process of driving, due to the uncertainty of the road, the cameras will be polluted to varying degrees, and there will be deviations between the road information collected by the polluted cameras and the actual road information, which may cause the wrong judgment of the smart car. Because it is necessary to study image smudge processing. Therefore, there must be a unified standard for classification of image contamination levels to be studied. In this way, it is convenient for researchers to conduct research, and after the classification of the level of dirt, the smart car can be told which level of dirt it is through the judgment of the subsequent algorithm, and the smart car will respond accordingly according to the level of dirt.
发明内容SUMMARY OF THE INVENTION
本发明的目的就是为了克服上述现有技术存在的缺陷而提供一种用于图像脏污等级分类的装置及方法。The purpose of the present invention is to provide an apparatus and method for classifying image contamination levels in order to overcome the above-mentioned defects in the prior art.
本发明的目的可以通过以下技术方案来实现:The object of the present invention can be realized through the following technical solutions:
一种用于图像脏污等级分类的装置,该装置包括暗箱,所述暗箱内设有用于放置相关器件的底座和用于提供稳定光源以确保每次拍照的光源一致的LED灯箱,所述底座上设有第一可伸缩支架和第二可伸缩支架,所述第一可伸缩支架上设有相机,所述第二可伸缩支架上设有脏污图像。A device for classifying image contamination levels, the device includes a camera obscura, a base for placing related devices and an LED light box for providing a stable light source to ensure that the light source for each photo is consistent, the base is provided with A first retractable bracket and a second retractable bracket are arranged thereon, a camera is arranged on the first retractable bracket, and a dirty image is arranged on the second retractable bracket.
进一步地,所述的暗箱由骨架和全遮光布组成。Further, the camera obscura consists of a skeleton and a full shading cloth.
进一步地,所述的骨架采用铝型材制成的骨架。Further, the skeleton is made of aluminum profiles.
进一步地,所述的骨架的结构为立方体结构。Further, the structure of the skeleton is a cubic structure.
进一步地,所述的第一可伸缩支架的顶端设有平台,所述相机放置于所述平台上。Further, the top of the first retractable support is provided with a platform, and the camera is placed on the platform.
进一步地,所述的第二可伸缩支架的顶端设有可伸缩支架平台,所述可伸缩支架平台上设有多块亚克力板,所述脏污图像设置于由多块所述亚克力板形成的空间内。Further, the top of the second retractable support is provided with a retractable support platform, and a plurality of acrylic plates are arranged on the retractable support platform, and the dirty image is arranged on a surface formed by a plurality of the acrylic plates. within the space.
进一步地,所述的第一可伸缩支架和所述的第二可伸缩支架均采用两节套杆式可伸缩支架。Further, both the first telescopic support and the second telescopic support adopt a two-section sleeve-rod type telescopic support.
进一步地,所述的相机采用单反相机。Further, the camera is a single-lens reflex camera.
本发明还提供一种采用所述的用于图像脏污等级分类的装置的图像脏污等级分类方法,该方法具体包括:于所述暗箱内打开所述LED灯箱,调整完毕所述相机的参数,并通过所述第一可伸缩支架和所述第二可伸缩支架分别调整所述相机和所述脏污图像的相对位置后,针对所述脏污图像进行拍摄,将拍摄得到的图像灰度化,并根据灰度化后的图像的灰度值来判断分类图像的对应脏污等级。The present invention also provides a method for classifying image contamination levels using the device for classifying image contamination levels, the method specifically includes: opening the LED light box in the dark box, and adjusting the parameters of the camera , and after adjusting the relative positions of the camera and the dirty image through the first retractable bracket and the second retractable bracket, respectively, the dirty image is captured, and the grayscale of the captured image is The corresponding contamination level of the classified image is determined according to the grayscale value of the grayscaled image.
进一步地,所述的图像的对应脏污等级总共分为256个级别。Further, the corresponding contamination levels of the image are divided into 256 levels in total.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
(1)提供了一种简单易行操作性强的图像脏污等级分类设备,该设备包括一个暗箱,暗箱里设置一个底座,在底座上放置一个LED灯箱,用来提供可控制的稳定光源,并且还有两个可伸缩支架,一根放置相机,一根放置脏污图像。调整好光源,相机和脏污图像的位置后,对脏污图像进行拍摄,对图像进行灰度化,通过脏污图像的灰度值确定图像脏污等级。(1) To provide a simple, easy-to-operate, and highly operable image contamination level classification device, the device includes a camera obscura, a base is set in the obscura, and an LED light box is placed on the base to provide a controllable and stable light source, And there are also two retractable stands, one for the camera and one for dirty images. After adjusting the light source, the camera and the position of the dirty image, take a picture of the dirty image, convert the image to grayscale, and determine the dirty level of the image by the grayscale value of the dirty image.
(2)本发明装置中的暗箱的骨架是用铝型材来搭建,并且用全遮光布覆盖住该立方体,形成了一个暗室,避免了太阳光、灯光等其光源以及其他非相干因素的影响。(2) The skeleton of the camera obscura in the device of the present invention is constructed of aluminum profiles, and the cube is covered with a full shading cloth to form a dark room, avoiding the influence of sunlight, lights and other light sources and other incoherent factors.
(3)基于本发明装置所提出的分类方法,根据图像脏污特性以及灰度值的特性。提供了一种可行性的图像脏污等级分类标准和方法。(3) Based on the classification method proposed by the device of the present invention, according to the characteristics of image contamination and gray value. A feasible image contamination level classification standard and method are provided.
附图说明Description of drawings
图1为本发明用于图像脏污等级分类的装置的整体结构示意图;1 is a schematic diagram of the overall structure of an apparatus for classifying image contamination levels according to the present invention;
图2为本发明用于图像脏污等级分类的装置中的脏污图像放置平台的侧面图;2 is a side view of a soiled image placement platform in the apparatus for classifying image soiling levels according to the present invention;
图中,1为暗箱,2为相机,3为第一可伸缩支架,4为底座,5为LED灯箱,6为第二可伸缩支架,7为第一亚克力板,8为第二亚克力板,9为可伸缩支架平台。In the figure, 1 is the camera obscura, 2 is the camera, 3 is the first retractable bracket, 4 is the base, 5 is the LED light box, 6 is the second retractable bracket, 7 is the first acrylic plate, 8 is the second acrylic plate, 9 is a retractable support platform.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
实施例Example
本发明提供一种图像脏污等级分类的设备及方法,其结构如图1所示。包括一个暗箱1,以及设置在暗箱1里面的底座4,第一可伸缩支架3、第二可伸缩支架6,一根用来放置相机,一根用来放置脏污图像。The present invention provides a device and method for classifying image contamination levels, the structure of which is shown in FIG. 1 . It includes a camera obscura 1, a
其中暗箱1的骨架是用铝型材来搭建,并且用全遮光布覆盖住该立方体,形成了一个暗室,避免了太阳光、灯光等其光源以及其他非相干因素的影响。而且暗箱1里面添加一底座4,用来放置第一可伸缩支架3、第二可伸缩支架6以及LED灯箱5,其中灯箱的作用是提供持续稳定的光源,保持每一次拍照的光源一致。The skeleton of the camera obscura 1 is constructed of aluminum profiles, and the cube is covered with a full shading cloth to form a dark room, which avoids the influence of sunlight, lights and other light sources and other incoherent factors. In addition, a
其中第一可伸缩支架3、第二可伸缩支架6是两节套杆式。并且可伸缩式套杆上面连接着平台,用来放置东西。其中第一可伸缩支架3用来放置相机,第二可伸缩支架6用来放置脏污图像。第二可伸缩支架6上面的平台设计如图2所示,由可伸缩支架平台9和固定在上面的第一亚克力板7和第二亚克力板8组成。The first
经实验验证,透过亚克力板拍摄的脏污图像和直接拍摄的脏污图像经过灰度化之后,其灰度值基本不发生变化,所以采用亚克力板作为图像的固定装置,将脏污图像放置到第一亚克力板7和第二亚克力板8之间,即起到固定的作用。It has been verified by experiments that the gray value of the dirty images shot through the acrylic sheet and the directly shot dirty images are basically unchanged after grayscale. Between the first
本实例中相机2采用的单反相机,相机参数采用出厂默认参数。The SLR camera used in Camera 2 in this example, the camera parameters use the factory default parameters.
调整好相机2参数,第一可伸缩支架3、第二可伸缩支架6的高度,以及LED光源5后,进行拍摄。将拍摄后的图像取出。将拍摄的脏污图像进行灰度化,求取其灰度值。因为图像的灰度值表示的图像黑白特性,且灰度值的范围为0到255,所以采用灰度值代表其脏污等级,并将图像脏污等级分为256级。其中0级代表着图像脏污最为严重,255级别代表着图像最干净。After adjusting the parameters of the
所以在本实例中,求取出灰度值后,便求出其图像的脏污等级。Therefore, in this example, after the gray value is obtained, the contamination level of the image is obtained.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed by the present invention. Modifications or substitutions should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010691117.4A CN111948214A (en) | 2020-07-17 | 2020-07-17 | Device and method for classifying image pollution levels |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010691117.4A CN111948214A (en) | 2020-07-17 | 2020-07-17 | Device and method for classifying image pollution levels |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111948214A true CN111948214A (en) | 2020-11-17 |
Family
ID=73341799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010691117.4A Pending CN111948214A (en) | 2020-07-17 | 2020-07-17 | Device and method for classifying image pollution levels |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111948214A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040175026A1 (en) * | 2001-07-27 | 2004-09-09 | Hirokazu Tanaka | Method for evaluating contamination on surface of object and imaging box used for the method |
CN104949998A (en) * | 2015-07-01 | 2015-09-30 | 华中农业大学 | Online visual inspection device and method for surface dirt of group origin eggs |
CN205193116U (en) * | 2015-11-11 | 2016-04-27 | 辽宁省电能计量器具检定站有限公司 | Camera bellows detection device and rotary mechanism who is arranged in camera bellows detection device |
CN205691499U (en) * | 2016-03-24 | 2016-11-16 | 南京农业大学 | Apple surface glossiness detecting device |
CN106226270A (en) * | 2016-07-01 | 2016-12-14 | 深圳市顶点视觉自动化技术有限公司 | The method of the detection dirty defect of image sensor surface |
CN108776143A (en) * | 2018-05-28 | 2018-11-09 | 湖北工业大学 | A kind of online vision inspection apparatus and method of the small stain of egg eggshell surface |
CN110637757A (en) * | 2019-09-26 | 2020-01-03 | 广东工业大学 | Poultry egg detection system, method and equipment |
CN111080638A (en) * | 2019-12-27 | 2020-04-28 | 成都泓睿科技有限责任公司 | System and method for detecting dirt at bottom of molded bottle |
-
2020
- 2020-07-17 CN CN202010691117.4A patent/CN111948214A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040175026A1 (en) * | 2001-07-27 | 2004-09-09 | Hirokazu Tanaka | Method for evaluating contamination on surface of object and imaging box used for the method |
CN104949998A (en) * | 2015-07-01 | 2015-09-30 | 华中农业大学 | Online visual inspection device and method for surface dirt of group origin eggs |
CN205193116U (en) * | 2015-11-11 | 2016-04-27 | 辽宁省电能计量器具检定站有限公司 | Camera bellows detection device and rotary mechanism who is arranged in camera bellows detection device |
CN205691499U (en) * | 2016-03-24 | 2016-11-16 | 南京农业大学 | Apple surface glossiness detecting device |
CN106226270A (en) * | 2016-07-01 | 2016-12-14 | 深圳市顶点视觉自动化技术有限公司 | The method of the detection dirty defect of image sensor surface |
CN108776143A (en) * | 2018-05-28 | 2018-11-09 | 湖北工业大学 | A kind of online vision inspection apparatus and method of the small stain of egg eggshell surface |
CN110637757A (en) * | 2019-09-26 | 2020-01-03 | 广东工业大学 | Poultry egg detection system, method and equipment |
CN111080638A (en) * | 2019-12-27 | 2020-04-28 | 成都泓睿科技有限责任公司 | System and method for detecting dirt at bottom of molded bottle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101640875B1 (en) | Object detection device | |
JP5441462B2 (en) | Vehicle imaging device | |
WO2019076005A1 (en) | Edge positioning apparatus for solar panel cleaning robot, and positioning method thereof | |
KR101688695B1 (en) | Apparatus and method for recognizing the number of cars and a computer-readable recording program for performing the said method, the recording medium | |
CN110766748B (en) | A non-contact vehicle attitude measurement method | |
CN110800294A (en) | Method, equipment and system for detecting camera module and machine-readable storage medium | |
CN107404647A (en) | Camera lens condition detection method and device | |
CN109911205B (en) | Unmanned aerial vehicle device for bridge pier detection and detection method | |
CN111263057B (en) | Image pickup apparatus, control method of image pickup apparatus, calculation method, and storage medium | |
CN109949231A (en) | A method and device for collecting and processing urban management information | |
CN107764841A (en) | It is a kind of to detect and distinguish the device and method of clear glass cover plate upper and lower surface defect | |
CN204039886U (en) | A kind of pavement damage crack detection system based on multiple stage camera stereoscopic shooting | |
CN101464419A (en) | Curved lens detecting system | |
CN202189016U (en) | A laser-assisted smooth surface body defect detection device | |
CN111948214A (en) | Device and method for classifying image pollution levels | |
CN111721212A (en) | Target device and method for displacement measurement based on image recognition | |
KR101259836B1 (en) | Wiper device with rain sensor | |
CN106053484A (en) | Testing apparatus and method for foreign matters on surface of liquid crystal glass | |
CN205844212U (en) | A kind of detection equipment of liquid-crystalline glasses Superficial Foreign Body | |
CN100480832C (en) | Method for auxiliary focusing by using pre-flashing of flash lamp | |
CN110733408A (en) | vision-based intelligent high beam algorithm | |
JP2007127595A (en) | Foreign object detection measuring device | |
KR101827707B1 (en) | Apparatus of camera for vehicle, vehicle having the same and controlling method of camera for vehicle | |
CN101825726B (en) | Automatic condensation observation device and observation method thereof | |
CN115436390A (en) | Material blank defect detection method based on automatic light modulation and multi-camera cooperative control technology |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201117 |