CN105321173B - A kind of train crossing cable cleat automatic defect detection method based on machine vision - Google Patents

A kind of train crossing cable cleat automatic defect detection method based on machine vision Download PDF

Info

Publication number
CN105321173B
CN105321173B CN201510611588.9A CN201510611588A CN105321173B CN 105321173 B CN105321173 B CN 105321173B CN 201510611588 A CN201510611588 A CN 201510611588A CN 105321173 B CN105321173 B CN 105321173B
Authority
CN
China
Prior art keywords
image
fixture
pipeline
threshold
carried
Prior art date
Application number
CN201510611588.9A
Other languages
Chinese (zh)
Other versions
CN105321173A (en
Inventor
张静
曾振
杜晓辉
倪光明
刘娟秀
刘霖
刘永
叶玉堂
Original Assignee
电子科技大学
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 电子科技大学 filed Critical 电子科技大学
Priority to CN201510611588.9A priority Critical patent/CN105321173B/en
Publication of CN105321173A publication Critical patent/CN105321173A/en
Application granted granted Critical
Publication of CN105321173B publication Critical patent/CN105321173B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection

Abstract

A kind of train crossing cable cleat automatic defect detection method based on machine vision of the disclosure of the invention, is related to the processing of cable cleat image in image processing field, particularly train crossing.Fixture image is gathered first;Vertical projection is carried out to image, and judges whether there is pipeline in picture according to drop shadow curve, pipeline location is determined if having pipeline, and intercept pipeline image;Statistics with histogram is carried out, is carried out negating binaryzation according to Low threshold, then judges whether there is fixture on the pipeline in piping drawing picture, if there is fixture to determine chucking position;Statistics with histogram is carried out to interception image, is carried out negating binaryzation according to high threshold, judges whether the fixture on the pipeline in piping drawing picture comes off.With it is easy, quick, efficiently find the fixture that comes off, to change in time.

Description

A kind of train crossing cable cleat automatic defect detection method based on machine vision
Technical field
The present invention relates to the processing of cable cleat image in image processing field, particularly train crossing.
Background technology
Cable cleat is the elimination vortex phenomenon in order to prevent from producing movement because external force suffix is conducted oneself with dignity after cable laying, and Prevent cable due to electrodynamic generation and bounce and the offset phenomena of generation, thus it is solid to need to use fixture to be segmented cable It is fixed.Because train crossing cable cleat arrangement environment is complicated, the card long-time aging on cable cleat comes off, it is necessary to coming off Fixture carry out replacing processing.Train mileage in China's is long, it is necessary to which the tunnel road of detection is more and complicated at present, and China uses at present Or artificial visual the fixture that comes off of method detection, not only Detection accuracy is low, speed is slow, cost is high, and in railway On detected and dangerous by people, such as how most lower cost, accuracy rate detection quick, higher faster have come off fixture The fixture of upper clamp slice is into a major issue in maintaining cables.
The content of the invention
In order to overcome the test problems that inner cable fixture upper clamp slice in tunnel comes off on rail link, the invention provides based on The simplicity of machine vision, fast and efficiently detection method, so as to find the fixture to come off rapidly, to change in time.
The technical scheme is that analyzed by the shape special efficacy of the dash area to fixture so as to confirm fixture It whether there is and judge whether fixture is intact, therefore a kind of train crossing cable cleat automatic defect detection based on machine vision Method, comprise the following steps that:
Step 1:High speed acquisition video camera is loaded ON TRAINS, tunnel cable clamp is gathered during railway operation Greyscale video, and position and the velocity information of collection point are recorded simultaneously;
Step 2:Video is resolved into single image, between-line spacing selection is entered to image, then located as follows to choosing image Reason;
Step 3:Vertical projection is carried out to image, and judges whether there is pipeline in image according to drop shadow curve, if there is pipeline Pipeline location is then determined, and intercepts pipeline image;
Step 4:Statistics with histogram is carried out to the image that step 3 obtains, is carried out negating binaryzation according to Low threshold, then judge Whether there is fixture on pipeline in piping drawing picture, if there is fixture to determine chucking position;
Step 5:Statistics with histogram is carried out to the image that step 3 obtains, is carried out negating binaryzation according to high threshold, judges to manage Whether the fixture on pipeline in road image comes off.
Further, the image obtained in the step 4 to step 3 carries out negating binaryzation according to Low threshold, due to folder Tool and pipeline threshold value are variant, can leave a small amount of connected region after Low threshold processing, judge piping drawing picture according to connected region In pipeline on whether have fixture.
Further, the image obtained in the step 5 to step 3 carries out negating binaryzation according to high threshold, by two-value Change the maximum transversal distance of connected region in image compared with the width of pipeline, if being shorter than duct width, judge fixture Intermediate plate come off.
The determination method of Low threshold and high threshold is in the step 4,5:
Step 3 is obtained into image and carries out statistics with histogram, histogram is divided into by left and right or upper and lower two according to fixture direction Part, two-part crest value being recorded respectively, relatively low crest value being set as Low threshold, higher crest value is set as height Threshold value.
The beneficial effect of the system is, it is only necessary to image capturing system can is installed on normal train to train usually Detected along wire holder, it is simple efficient.By the image procossing to collection, this method can rapidly detect Along Railway tunnel Cable clamp surface fixture card is opened and come off in road.
Brief description of the drawings
Fig. 1 is system flow chart
Fig. 2 is the OK sample images that embodiment 1 gathers
Fig. 3 is the drop shadow curve of embodiment 1
Fig. 4 is region of interesting extraction image
Fig. 5 is Low threshold segmentation figure
Fig. 6 is high threshold segmentation figure
Fig. 7 is the fixture image navigated to
Fig. 8 is the NG sample images that embodiment 2 gathers
Fig. 9 is the region of interest area image extracted
Figure 10 is Low threshold segmentation figure picture
Figure 11 is high threshold segmentation figure picture
Figure 12 is the fixture image that embodiment 2 navigates to
1. pipeline in figure, 2. fixtures, 3. fixture cards
Embodiment
Fig. 1 is system algorithm implementing procedure figure, including the algorithm stream of video image acquisition and ensuing image procossing Journey.
The fixture example images of Fig. 2 preferably, wherein have pipeline 1, fixture 2, fixture card 3.
Video image (being gathered by previous step 1) is gathered by CCD camera first, then the video image collected is divided Then solution carries out X-axis projection, drop shadow curve is as shown in Figure 3 into single-frame images, and by frame input algorithm to image.(due to this reality When camera is placed in example, in order that the image of cable in the picture is as long as possible, so camera is laterally disposed, i.e., on image Vertical direction is horizontal direction in practice, and the horizontal direction in image is vertical direction in practice).
Next pipeline location is determined according to image projection curve, as shown in Fig. 3 figures, huge depression is electricity among curve Cable pipeline position;Then region of interesting extraction is carried out to image, i.e., cable is extracted according to cable channel position Image, the image extracted are as shown in Figure 4.
And then the segmentation of Low threshold image is carried out to the image extracted and high threshold image is split to obtain two segmentation figures As (this two segmentation figure pictures have all carried out inversion operation, i.e., when threshold value is x, the pixel less than x is white, and what it is higher than x is Black), the step is the core of this algorithm, determines whether there is fixture on pipeline using the segmentation figure picture of Low threshold, If fixture can then determine the position of fixture by this segmentation image;Using high threshold image judge fixture whether UNICOM. This example is that Low threshold will using the fixed threshold (this threshold value can be changed) set manually, the key of threshold value setting The pedestal of fixture can be embodied, high threshold wants the shade of energy display pipes upper clip, is found by surveying when polishing condition is identical, It is stable and reliable using fixed threshold.
Next area filtering is carried out to the image of Low threshold segmentation, wherein Low threshold image is split and filters out small area For image as shown in figure 5, equally being operated to high threshold segmentation figure picture, high threshold segmentation is as shown in Figure 6.
And then the connected domain coordinate setting fixture coordinate obtained according to Low threshold image segmentation (Fig. 5), and in high threshold Interception holder part segmentation figure picture in segmentation figure picture (Fig. 6), as shown in Figure 7.Finally in the figure 7 according to connected domain widthwise size come Judge whether the intermediate plate on fixture comes off.(set if there is the lateral length of connected domain more than given duct length by oneself It is fixture (in embodiment as shown in Figure 8) that is intact, otherwise being come off for fixture card then to judge its fixture calmly), and exports knot Fruit, that is, the picture position for the fixture card that comes off.
When the image to be come off for fixture card of input, example image is as shown in figure 8, Fig. 8 is the NG figures detected Picture.Wherein there was only pipeline 1, fixture 2.Wherein Figure 10 is that Low threshold image is split and filters out the image after small area, and Figure 11 is height Threshold Image Segmentation.Then the UNICOM domain coordinate setting chucking position obtained after being split according to Low threshold, and in high threshold image Middle to intercept the image navigated to, image is as shown in figure 12 after interception.
The mileage information and the result of fixture detection output recorded during according to collection image, being calculated needs to change fixture Fixture particular location.

Claims (2)

1. a kind of train crossing cable cleat automatic defect detection method based on machine vision, is comprised the following steps that:
Step 1:High speed acquisition video camera is loaded to the gray scale for gathering tunnel cable fixture during railway operation ON TRAINS Video, and position and the velocity information of collection point are recorded simultaneously;
Step 2:Video is resolved into single image, between-line spacing selection is entered to image, then be handled as follows to choosing image;
Step 3:Vertical projection is carried out to image, and judges whether there is pipeline in image according to drop shadow curve, it is true if having pipeline Determine pipeline location, and intercept pipeline image;
Step 4:Statistics with histogram is carried out to the image that step 3 obtains, is carried out negating binaryzation according to Low threshold, then judge pipeline Whether there is fixture on pipeline in image, if there is fixture to determine chucking position;
Step 5:Statistics with histogram is carried out to the image that step 3 obtains, is carried out negating binaryzation according to high threshold, judges piping drawing Whether the fixture on pipeline as in comes off;Determination methods are:By the maximum transversal of connected region in obtained binary image Distance is compared with the width of pipeline, if being shorter than duct width, judges that the intermediate plate of fixture comes off;
The determination method of Low threshold and high threshold is in the step 4,5:
Step 3 is obtained into image and carries out statistics with histogram, histogram is divided into by left and right or upper and lower two parts according to fixture direction, Two-part crest value is recorded respectively, relatively low crest value is set as Low threshold, and higher crest value is set as high threshold.
2. a kind of train crossing cable cleat automatic defect detection method based on machine vision as claimed in claim 1, its The image for being characterised by obtaining step 3 in the step 4 carries out negating binaryzation according to Low threshold, due to fixture and pipeline threshold Be worth it is variant, Low threshold processing after can leave a small amount of connected region, judged according to connected region on the pipeline in piping drawing picture Whether fixture is had.
CN201510611588.9A 2015-09-23 2015-09-23 A kind of train crossing cable cleat automatic defect detection method based on machine vision CN105321173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510611588.9A CN105321173B (en) 2015-09-23 2015-09-23 A kind of train crossing cable cleat automatic defect detection method based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510611588.9A CN105321173B (en) 2015-09-23 2015-09-23 A kind of train crossing cable cleat automatic defect detection method based on machine vision

Publications (2)

Publication Number Publication Date
CN105321173A CN105321173A (en) 2016-02-10
CN105321173B true CN105321173B (en) 2017-11-17

Family

ID=55248488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510611588.9A CN105321173B (en) 2015-09-23 2015-09-23 A kind of train crossing cable cleat automatic defect detection method based on machine vision

Country Status (1)

Country Link
CN (1) CN105321173B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107169951B (en) * 2016-03-03 2019-08-30 成都交大光芒科技股份有限公司 A kind of the missing detection method and system of the inclined cantilever end pipe cap based on image
CN111207304A (en) * 2018-11-22 2020-05-29 北京世纪东方通讯设备有限公司 Railway tunnel leaky cable vision inspection device and product positioning detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694694A (en) * 2009-10-22 2010-04-14 上海交通大学 Finger identification method used in interactive demonstration system
CN102122351A (en) * 2011-03-01 2011-07-13 哈尔滨工程大学 Intelligent identification method for pipeline defect on basis of RBF (Radical Basis Function) neural network
CN103324930A (en) * 2013-06-28 2013-09-25 浙江大学苏州工业技术研究院 License plate character segmentation method based on grey level histogram binaryzation
CN104346858A (en) * 2014-10-10 2015-02-11 新达通科技股份有限公司 Paper currency face value identification method and device based on magnetic image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042647B2 (en) * 2013-06-06 2015-05-26 Xerox Corporation Adaptive character segmentation method and system for automated license plate recognition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694694A (en) * 2009-10-22 2010-04-14 上海交通大学 Finger identification method used in interactive demonstration system
CN102122351A (en) * 2011-03-01 2011-07-13 哈尔滨工程大学 Intelligent identification method for pipeline defect on basis of RBF (Radical Basis Function) neural network
CN103324930A (en) * 2013-06-28 2013-09-25 浙江大学苏州工业技术研究院 License plate character segmentation method based on grey level histogram binaryzation
CN104346858A (en) * 2014-10-10 2015-02-11 新达通科技股份有限公司 Paper currency face value identification method and device based on magnetic image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种新的挖掘眼部结构特征的人眼精定位方法;张静 等;《计算机工程与应用》;20150325;第158-162页 *

Also Published As

Publication number Publication date
CN105321173A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN102395037B (en) Format recognition method and device
Wang et al. Shadow detection and removal for traffic images
US9189857B2 (en) Apparatus and method for reconstructing three dimensional faces based on multiple cameras
CN100557657C (en) A kind of vehicle checking method based on video image characteristic
Wong et al. Bidirectional pedestrian stream model with oblique intersecting angle
CN105044114B (en) A kind of electrolytic capacitor appearance packaging defect image detecting system and method
CN106934326B (en) Method, system and device for security check
Saha et al. License Plate localization from vehicle images: An edge based multi-stage approach
CN102222104B (en) Method for intelligently extracting video abstract based on time-space fusion
CN101639452B (en) 3D detection method for rail surface defects
CN104933710A (en) Intelligent analysis method of store people stream track on the basis of surveillance video
CN104794688A (en) Single image defogging method and device based on depth information separation sky region
CN103914839B (en) Image stitching and tampering detection method and device based on steganalysis
CN103442209A (en) Video monitoring method of electric transmission line
US10043064B2 (en) Method and apparatus of detecting object using event-based sensor
US9454701B2 (en) Video synopsis method and apparatus
EP2891990A1 (en) Method and device for monitoring video digest
CN105915846B (en) A kind of the invader monitoring method and system of the multiplexing of list binocular
CN101917599B (en) Cradle head fault detecting method and device
MX358601B (en) Image segmentation method and device.
CN103745224B (en) Image-based railway contact net bird-nest abnormal condition detection method
CN103258198A (en) Extraction method for characters in form document image
CN103955948B (en) A kind of space movement target detection method under dynamic environment
CN102708182A (en) Rapid video concentration abstracting method
CN102110369B (en) Jaywalking snapshot method and device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant