CN109822564A - A kind of construction method of vision system - Google Patents

A kind of construction method of vision system Download PDF

Info

Publication number
CN109822564A
CN109822564A CN201910032592.8A CN201910032592A CN109822564A CN 109822564 A CN109822564 A CN 109822564A CN 201910032592 A CN201910032592 A CN 201910032592A CN 109822564 A CN109822564 A CN 109822564A
Authority
CN
China
Prior art keywords
data
module
image
vision system
standardized
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.)
Granted
Application number
CN201910032592.8A
Other languages
Chinese (zh)
Other versions
CN109822564B (en
Inventor
张振普
毕辉
郑桢才
李杰诚
陈永鑫
廖玉城
林澍钿
林晓生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Giant Wheel Guangzhou Intelligent Equipment Co ltd
Julun Guangzhou Robot And Intelligent Manufacturing Co Ltd
Original Assignee
Great Wheel (guangzhou) Robot And Intelligent Manufacturing 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 Great Wheel (guangzhou) Robot And Intelligent Manufacturing Co Ltd filed Critical Great Wheel (guangzhou) Robot And Intelligent Manufacturing Co Ltd
Priority to CN201910032592.8A priority Critical patent/CN109822564B/en
Publication of CN109822564A publication Critical patent/CN109822564A/en
Application granted granted Critical
Publication of CN109822564B publication Critical patent/CN109822564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Processing (AREA)

Abstract

The present invention provides a kind of construction methods of vision system, it is compared with the prior art, the design that this method is standardized by each functional module to vision system, so that the function of vision system is more diversified, vision system is enhanced to the adaptability of external environment, make it can be applied to identify different workpiece, while also reducing the technical level requirement of user.

Description

A kind of construction method of vision system
Technical field
The present invention relates to vision system technical field more particularly to a kind of construction methods of vision system.
Background technique
Vision system be replaced using video camera and software human eye make automation equipment possess similar to the mankind that The function of decision is split, classified, identifying, tracking, differentiating to target.
Currently, the vision system that cooperation industrial robot uses is used for the spy both for the customed product of certain workpiece Determine the identification of workpiece, the development cycle is long, has a single function, not strong to the adaptability of external environment;After replacing workpiece, need to light Lighting system, camera calibration, template Processing Algorithm, communication interface, parameter setting and image processing method carry out larger change, come Adapt to the new features of new workpiece.The update for having seriously affected consumer product in this way does not meet the technical requirements of intelligence manufacture, Constrain the popularization and application of vision system.Moreover, camera calibration, template matching, the pattern measurement etc. of most of vision system do not have Have to form the module of standard, height is required to the technical level of user, thus implements highly difficult, and efficiency is extremely low.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of construction method of vision system, the view that this method constructs Feel system function multiplicity, it is strong to the strong ability of the adaptation of external environment, it can be applied to identify different workpiece, to reduce use The technical level requirement of person.
Based on this, the present invention provides a kind of construction method of vision system, includes the following steps:
Standardized parameter setting module is developed, for system parameter and tool parameters to be arranged;
Standardized data acquisition module is developed, for acquiring image data, nominal data and template data;
Standardized data management module is developed, for data storage, data edition and data conversion;
Standardized data processing module is developed, for image data optimization, template data processing and detection data analysis;
Standardized data communication module is developed, for communicating between inside modules communication, each inter-module communication and each system;
Standardized software tool pack is developed, for realizing specific function.
In the construction method of above-mentioned vision system, the step of exploitation standardized parameter setting module, includes:
It is external trigger that camera, which is arranged, to trigger mode, locks trigger source and triggering polarity, and the time for exposure is arranged and exposure increases Benefit is median, and setting white balance adjusting is automatic mode, the parameter set is made into standalone module, module reserves light source Adjusting is divided into 10 grades by brightness regulation interface, and the number of input 0~10 is to realize the different-effect taken pictures.
In the construction method of above-mentioned vision system, the step of exploitation standardized data acquisition module, includes:
The data acquisition interface of different cameral is placed on lower layer, search function is write on upper layer, realizes hardware traversal, while basis Camera type calls corresponding acquisition interface, and the Image Acquisition output interface of standard is then done on upper layer;
Import 13 7 × 7 gridiron pattern uncalibrated images, by calculating tessellated intersection point, seek camera internal reference and outer ginseng, Calibration result is made into the function of standard, there are image input interfaces and calibration result output interface;
Template creation function is established according to the breadth length ratio of template image, compactness, plumpness, circularity.
In the construction method of above-mentioned vision system, the step of exploitation standardized data management module, includes:
Image, the data store organisations such as creation feature class, template class, graphics class are stored using standard IplImage structure; Inside modules image storage structure is unified, there are output different-format image interface between module, including HImage, CvMat, Byte[];
Module provides Image geometry transform, selection, duplication interface, while the processing of ROI being increased in standard module, mentions The data-interface needed for other modules.
In the construction method of above-mentioned vision system, the step of exploitation standardized data processing module, includes:
Before placing examined workpiece, acquisition testing background image, filtering background and reduction light source for detection image are not The influence uniformly generated;
The universal performance for extracting template processing, realizes the standardization of external interface, the different type within the scope of certain volume Workpiece can use identical algorithm to realize identification.
In the construction method of above-mentioned vision system, the step of exploitation standardized data communication module, includes:
Inside modules use same variable;
Each inter-module communication is communicated by the way of common memory, improves treatment effeciency, and all data use BYTE Type storage;
For different automation equipments, on the basis of the ICP/IP protocol of standard, specific function is extended, not for compatibility Same data interactive mode.
In the construction method of above-mentioned vision system, the step of exploitation standardized software tool pack, includes:
Develop color extraction tool, dimensional measurement tool, function correction tool, Fuzzy Processing tool, Defect Detection tool, One of barcode scan engines, character recognition tools, edge strengthening tool, real time differential tool, data statistics tool are several Kind;
Different tools can be combined arbitrarily.
The implementation of the embodiments of the present invention has the following beneficial effects:
The present invention provides a kind of construction methods of vision system, compared with the prior art, this method passes through to vision system The design that each functional module of system is standardized enhances vision system pair so that the function of vision system is more diversified The adaptability of external environment makes it can be applied to identify different workpiece, while the technical level for also reducing user is wanted It asks.
Detailed description of the invention
Fig. 1 is the structure chart of the vision system of the embodiment of the present invention.
Specific embodiment
The attached drawing in the embodiment of the present invention will be engaged below, technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of construction method of vision system shown in FIG. 1, includes the following steps:
S1 develops standardized parameter setting module, for system parameter and tool parameters to be arranged.Specifically, setting It is external trigger that camera, which triggers mode, locks trigger source and triggering polarity, and the time for exposure is arranged and exposure gain is median, if Setting white balance adjusting is automatic mode, and the parameter set is made into standalone module, and module reserves light-source brightness and adjusts interface, Adjusting is divided into 10 grades, the number of input 0~10 is to realize the different-effect taken pictures.
S2 develops standardized data acquisition module, for acquiring image data, nominal data and template data.Specifically For, the data acquisition interface of different cameral is placed on lower layer, search function is write on upper layer, realizes hardware traversal, while according to phase Machine type calls corresponding acquisition interface, and the Image Acquisition output interface of standard is then done on upper layer;Import 13 7 × 7 chessboards Lattice uncalibrated image, by calculating tessellated intersection point, seek camera internal reference and outer ginseng, calibration result is made into the letter of standard Number, there are image input interfaces and calibration result output interface;According to the breadth length ratio of template image, compactness, plumpness, circle Degree establishes template creation function.
S3 develops standardized data management module, for data storage, data edition and data conversion.Specifically, Image, the data store organisations such as creation feature class, template class, graphics class are stored using standard IplImage structure;Inside modules Image storage structure is unified, and there are output different-format image interfaces, including HImage, CvMat, Byte [] between module;Mould Block provides Image geometry transform, selection, duplication interface, while the processing of ROI being increased in standard module, provides other modules The data-interface needed.
S4 develops standardized data processing module, for image data optimization, template data processing and detection data point Analysis.Specifically, before placing examined workpiece, acquisition testing background image, filtering background and reduction light for detection image The influence that source unevenly generates;The universal performance for extracting template processing, realizes the standardization of external interface, within the scope of certain volume Different type workpiece, can use identical algorithm realize identification.
S5 develops standardized data communication module, for leading between inside modules communication, each inter-module communication and each system News.Specifically, inside modules use same variable;Each inter-module communication is communicated by the way of common memory, raising processing Efficiency, and all data are stored using BYTE type;For different automation equipments, on the ICP/IP protocol basis of standard On, specific function is extended, for being compatible with different data interactive modes.
S6 develops standardized software tool pack, for realizing specific function.Specifically, exploitation color extraction tool, Dimensional measurement tool, function correction tool, Fuzzy Processing tool, Defect Detection tool, barcode scan engines, character recognition work One or more of tool, edge strengthening tool, real time differential tool, data statistics tool;Different tools can be appointed The combination of meaning.
To sum up, the embodiment of the invention provides a kind of construction methods of vision system, compared with the prior art, this method is logical The design for being standardized each functional module of vision system is crossed to enhance so that the function of vision system is more diversified Vision system makes it can be applied to identify different workpiece the adaptability of external environment, while also reducing user's Technical level requirement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principle of the present invention, several improvement and deformations can also be made, these improvement and deformations are also considered as Protection scope of the present invention.

Claims (7)

1. a kind of construction method of vision system, which comprises the steps of:
Standardized parameter setting module is developed, for system parameter and tool parameters to be arranged;
Standardized data acquisition module is developed, for acquiring image data, nominal data and template data;
Standardized data management module is developed, for data storage, data edition and data conversion;
Standardized data processing module is developed, for image data optimization, template data processing and detection data analysis;
Standardized data communication module is developed, for communicating between inside modules communication, each inter-module communication and each system;
Standardized software tool pack is developed, for realizing specific function.
2. the construction method of vision system according to claim 1, which is characterized in that the standardized parameter of exploitation is set The step of setting module include:
It is external trigger that camera, which is arranged, to trigger mode, locks trigger source and triggering polarity, the time for exposure is arranged and exposure gain is Median, setting white balance adjusting are automatic mode, the parameter set are made into standalone module, module reserves light-source brightness Interface is adjusted, adjusting is divided into 10 grades, the number of input 0~10 is to realize the different-effect taken pictures.
3. the construction method of vision system according to claim 1, which is characterized in that the standardized data of exploitation are adopted Collect module the step of include:
The data acquisition interface of different cameral is placed on lower layer, search function is write on upper layer, realizes hardware traversal, while according to camera Type calls corresponding acquisition interface, and the Image Acquisition output interface of standard is then done on upper layer;
Import 13 7 × 7 gridiron pattern uncalibrated images, by calculating tessellated intersection point, seek camera internal reference and outer ginseng, will mark Determine the function that result is made into standard, there are image input interfaces and calibration result output interface;
Template creation function is established according to the breadth length ratio of template image, compactness, plumpness, circularity.
4. the construction method of vision system according to claim 1, which is characterized in that the standardized data pipe of exploitation Manage module the step of include:
Image, the data store organisations such as creation feature class, template class, graphics class are stored using standard IplImage structure;Module Internal image storage organization is unified, and there are output different-format image interfaces, including HImage, CvMat, Byte between module [];
Module provides Image geometry transform, selection, duplication interface, while the processing of ROI being increased in standard module, provides it The data-interface that his module needs.
5. the construction method of vision system according to claim 1, which is characterized in that at the standardized data of exploitation Manage module the step of include:
Place examined workpiece before, acquisition testing background image, for detection image filtering background and reduce light source it is uneven The influence of generation;
The universal performance for extracting template processing, realizes the standardization of external interface, the different type workpiece within the scope of certain volume, Identical algorithm can be used to realize identification.
6. the construction method of vision system according to claim 1, which is characterized in that the standardized data of exploitation are logical Interrogate module the step of include:
Inside modules use same variable;
Each inter-module communication is communicated by the way of common memory, improves treatment effeciency, and all data use BYTE type Storage;
For different automation equipments, on the basis of the ICP/IP protocol of standard, specific function is extended, it is different for being compatible with Data interactive mode.
7. the construction method of vision system according to claim 1, which is characterized in that the standardized software work of exploitation Having the step of wrapping includes:
Develop color extraction tool, dimensional measurement tool, function correction tool, Fuzzy Processing tool, Defect Detection tool, bar code One or more of scanning tools, character recognition tools, edge strengthening tool, real time differential tool, data statistics tool;
Different tools can be combined arbitrarily.
CN201910032592.8A 2019-01-14 2019-01-14 Construction method of visual system Active CN109822564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910032592.8A CN109822564B (en) 2019-01-14 2019-01-14 Construction method of visual system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910032592.8A CN109822564B (en) 2019-01-14 2019-01-14 Construction method of visual system

Publications (2)

Publication Number Publication Date
CN109822564A true CN109822564A (en) 2019-05-31
CN109822564B CN109822564B (en) 2022-06-07

Family

ID=66860232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910032592.8A Active CN109822564B (en) 2019-01-14 2019-01-14 Construction method of visual system

Country Status (1)

Country Link
CN (1) CN109822564B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112139997A (en) * 2019-06-27 2020-12-29 宝山钢铁股份有限公司 Method for inhibiting ambient light in round steel grinding quality detection system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2403161A1 (en) * 1973-02-28 1974-08-29 Sonotone Corp HOERGERAET
CN104951782A (en) * 2015-07-01 2015-09-30 携程计算机技术(上海)有限公司 Background filtering method and system for image recognition
CN106845163A (en) * 2017-03-14 2017-06-13 广东尚菱视界科技有限公司 A kind of establishing method of general vision detecting system
CN107139003A (en) * 2017-06-27 2017-09-08 巨轮(广州)机器人与智能制造有限公司 Modularization vision system preparation method
US20180286075A1 (en) * 2015-03-31 2018-10-04 Thermal Imaging Radar, LLC Setting Different Background Model Sensitivities by User Defined Regions and Background Filters

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2403161A1 (en) * 1973-02-28 1974-08-29 Sonotone Corp HOERGERAET
US20180286075A1 (en) * 2015-03-31 2018-10-04 Thermal Imaging Radar, LLC Setting Different Background Model Sensitivities by User Defined Regions and Background Filters
CN104951782A (en) * 2015-07-01 2015-09-30 携程计算机技术(上海)有限公司 Background filtering method and system for image recognition
CN106845163A (en) * 2017-03-14 2017-06-13 广东尚菱视界科技有限公司 A kind of establishing method of general vision detecting system
CN107139003A (en) * 2017-06-27 2017-09-08 巨轮(广州)机器人与智能制造有限公司 Modularization vision system preparation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王志喜等主编: "《计算机图形图像技术》", 31 January 2018, 徐州:中国矿业大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112139997A (en) * 2019-06-27 2020-12-29 宝山钢铁股份有限公司 Method for inhibiting ambient light in round steel grinding quality detection system
CN112139997B (en) * 2019-06-27 2021-10-19 宝山钢铁股份有限公司 Method for inhibiting ambient light in round steel grinding quality detection system

Also Published As

Publication number Publication date
CN109822564B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
JP6915349B2 (en) Image processing equipment, image processing method, and image processing program
JP5871325B2 (en) Information processing apparatus, information processing system, information processing method, program, and recording medium
JP4194025B2 (en) Illumination-invariant object tracking method and video editing apparatus using the same
Sanocki et al. Are edges sufficient for object recognition?
CN105701496B (en) A kind of go disk recognition methods based on artificial intelligence technology
CN101828905B (en) Chinese medicine color inspection system
CN111524144A (en) Intelligent pulmonary nodule diagnosis method based on GAN and Unet network
CN110033487A (en) Vegetables and fruits collecting method is blocked based on depth association perception algorithm
CN113205560A (en) Calibration method, device and equipment of multi-depth camera and storage medium
CN109565577A (en) Colour correcting apparatus, color calibration system, colour correction hologram, color correcting method and program
CN108184286A (en) The control method and control system and electronic equipment of lamps and lanterns
CN110348326A (en) The family health care information processing method of the identification of identity-based card and the access of more equipment
CN109822564A (en) A kind of construction method of vision system
CN109064431B (en) Picture brightness adjusting method, equipment and storage medium thereof
CN117275613A (en) Blending method of mask formula
KR20210136502A (en) RGB-D Data and Deep Learning Based 3D Instance Segmentation Method and System
CN206363347U (en) Based on Corner Detection and the medicine identifying system that matches
KR102608827B1 (en) Method of classifying implant classes for AI learning
US20220180120A1 (en) Method for generating human-computer interactive abstract image
EP4115386A1 (en) Quantifying biotic damage on plants, by separating plant-images and subsequently operating a convolutional neural network
CN106206357A (en) A kind of direction, microchip foot position embedded vision automatic checkout system and detection method thereof
Isaieva Image processing for video dermatoscopy
CN110393602A (en) A kind of repeatability is strong and artificial tooth colorimetric method with high accuracy
CN110414423A (en) Personal identification method and equipment
CN118096797B (en) Image processing method, device, electronic equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20220510

Address after: 510000 Room 101, building B2, 11 Kaiyuan Avenue, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: Giant wheel (Guangzhou) Intelligent Equipment Co.,Ltd.

Applicant after: Julun (Guangzhou) robot and Intelligent Manufacturing Co., Ltd

Address before: Room 428, building 5, No.17, Fenghuang 3rd road, Zhongxin Guangzhou Knowledge City, Guangzhou, Guangdong 510000

Applicant before: JULUN (GUANGZHOU) ROBOT AND INTELLIGENCE MANUFACTURING Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant