CN104008555A - Curve detecting method based on backtracking accumulation - Google Patents

Curve detecting method based on backtracking accumulation Download PDF

Info

Publication number
CN104008555A
CN104008555A CN201410271291.8A CN201410271291A CN104008555A CN 104008555 A CN104008555 A CN 104008555A CN 201410271291 A CN201410271291 A CN 201410271291A CN 104008555 A CN104008555 A CN 104008555A
Authority
CN
China
Prior art keywords
curve
point
psd
cumulative
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410271291.8A
Other languages
Chinese (zh)
Other versions
CN104008555B (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.)
Guangzhou yilianzhong ruitu Information Technology Co.,Ltd.
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN201410271291.8A priority Critical patent/CN104008555B/en
Publication of CN104008555A publication Critical patent/CN104008555A/en
Application granted granted Critical
Publication of CN104008555B publication Critical patent/CN104008555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a curve detecting method based on backtracking accumulation. The method comprises the steps that the feature measurement of a curve is constructed by analyzing the gray feature of the curve; an energy function is constructed to minimize the energy of curve points; one point in the curve is selected as a starting point, and searching is carried out through a shortest path algorithm to obtain a feature image; backtracking accumulation is carried out on each point obtained through searching to obtain a backtracking accumulation diagram; a threshold value is selected from the backtracking accumulation diagram, and the final curve is obtained through extraction. The curve in the image can be fast and efficiently extracted under the condition of only using one starting point.

Description

A kind of based on recalling cumulative curve detection method
Technical field
The present invention relates to information science technology field, relate in particular to a kind of based on recalling cumulative curve detection method.
Background technology
At present, aspect the simple open curve of shortest path technology in detected image, there is reasonable application.Shortest path technology can be used for searching for a paths and make the gross energy minimum of search, can be expressed as mathematical problem and solve:
U p s ( p ) = min A ( p S , p ) { E ( l ) } = min A ( p s , p ) { ∫ Ω ( P ( l ( s ) ) + ω ) ds } - - - ( 1 )
Wherein, be expressed as starting point p sto the least energy of arbitrfary point p, A (p s, p) represent starting point p sto the set of paths of arbitrfary point p in image, E (l) is the energy of curve l, l (s) ∈ R nbe the parameterized form in the time of arc length s, P (l (s)) represents potential energy, and ω is correction term.
Owing to using energy minimization criterion, short path technology is used to active margin model the earliest, extracts curve by minimizing interior energy and external enwergy, but the location comparison sensitivity of active margin model to initial active margin.Afterwards, other scholar, under the starting point and terminal prerequisite of setting curve, made gross energy minimum by separating Eikonal equation, thereby obtained curve, but because the correlativity of the method and active margin is easier to influenced in continuum.Also some scholars has proposed some and has used the method for less prior imformation recently, for example a kind of shortest-path method being called as based on critical point detection, only need to provide a starting point just can search out forward whole piece curve, but still need known length of a curve to stop whole search procedure.
Be not difficult to find that these methods need more priori, such as needing starting point and the terminal of given curve, the in the situation that of a given starting point only, also need length of a curve to be used as priori conditions.In the time that curve has a lot of bifurcated, need a distal point could obtain good testing result for each bifurcated.
Therefore, be just only needing, under the prerequisite of little priori, still to obtain good curve extraction effect in the main research aspect curve detection at present.
Summary of the invention
Technical matters to be solved by this invention is to overcome the dependence of existing curve detection method to priori, knows under the prerequisite of a starting point so propose a kind of need, the curve in can high efficiency extraction image based on recalling cumulative curve detection method.What is called is recalled cumulative referring to: after Shortest Path Searching, after oppositely dating back to starting point or certain counting for each point, curve point can be accessed by high frequency, but not accessed less this feature of curve point, thereby successfully curve point and non-curve point are separated, finally draw out curved profile.
For achieving the above object, the technical solution used in the present invention is:
The present invention is based on and recall cumulative curve detection method, comprise the following steps:
Step 1: analyze the gray feature of any point p in pending image I, the characteristic measure value M (p) of the curvilinear characteristic that structure description point p has, and curve construction point p ccharacteristic measure value M (p c) be greater than non-curve point p non-ccharacteristic measure value M (p non-c), i.e. M (p c) > M (p non-c);
Step 2: by characteristic measure value M (p) the structure energy function P (p) of structure, the energy function of structure meets curve point p cenergy P (p c) be less than non-curve point p non-cenergy P (p non-c),
Step 3: choose any point p on curve sas starting point, p s∈ p c, use shortest path first to search for pending image I, search is through some p psdcharacteristic measure value M (p psd) form characteristic image I f;
Step 4: the characteristic image I obtaining fin, the some p of record searching process psd, to the some p of each search process psdrecall the cumulative cumulative figure I that obtains recalling c;
Step 5: for recalling cumulative figure I c, selected threshold λ f, described threshold value λ fscope is [10 -3, 10 3], make I cin be greater than threshold value λ fpoint be curve point p c, all curve point p cform the curve map I finally obtaining c.
Further, the inverse that the energy function P (p) constructing is characteristic measure value M (p).
Further, shortest path first is not specified search terminal to pending image I search.
Further, recall cumulative figure I for described cin any point p bk, from characteristic image I fin the some p that searches psdrecall through p to starting point bk, p bkrecalling cumulative figure I cvalue I c(p bk) recall through p for all bkp psdcharacteristic measure value M (p psd) sum.
Compared with prior art, the beneficial effect that the present invention has is:
The inventive method is first according to the gray distribution features curve construction feature representation of curve, and then express the potential energy of each point in image, then use shortest path first, the in the situation that of given starting point, search for, the characteristic pattern obtaining according to Shortest Path Searching is recalled each point, cumulative each eigenwert that is dated back to starting point, a last given suitable less point of threshold value filtering accumulated value, thus obtain final curve.The present invention can only need a starting point, and under the prerequisite of other prior imformations, fast and effeciently detects and extract the curve in image.
Brief description of the drawings
Fig. 1 is pending image simulation figure of the present invention;
Fig. 2 is the characteristic image that the present invention uses the simulation drawing that shortest path first obtains;
Fig. 3 the present invention is based on the curve I recalling in accumulation method extraction simulation drawing c;
Fig. 4 is the actual crack pattern of the pending image of the present invention;
Fig. 5 is the characteristic image that the present invention uses the actual crack pattern that shortest path first obtains;
Fig. 6 the present invention is based on to recall cumulative method and extract the curve in actual crack pattern.
Embodiment
Below in conjunction with specific embodiment, further illustrate the present invention, should understand these embodiment is only not used in and limits the scope of the invention for the present invention is described, after having read the present invention, those skilled in the art all fall within the application's claims limited range to the amendment of the various equivalent form of values of the present invention.
As shown in Figure 1, illustrate specifically based on recalling cumulative curve detection method with pending image simulation figure, comprise the following steps:
Step 1: the difference of the gray feature of curve and background in the pending image simulation figure of analysis chart 1, definition curvilinear characteristic tolerance M (p) is used for describing the curvilinear characteristic that in Fig. 1, arbitrfary point p has; Utilize the difference of curve gray feature and background gray feature to carry out structural attitude tolerance M (p), make curve point p ccurvilinear characteristic metric M (p c) be greater than non-curve point p non-ccurvilinear characteristic metric, because the gray scale of curve point is lower than the average gray value of background; And curve is a tiny line, the ratio of occupying at certain window inner curve point is less, and background area does not possess this feature, therefore curve point and background area can be separated.
Further, it is w that the wide of window is set, for a known arbitrfary point p i,j, with p i,jcentered by, in the window of w × w, calculate p i,jwith the gray scale difference value of other point in window and ratio (p reciprocal i,j), for curve point p cthere is ratio (p c) > ratio (p non-c); Wherein, m, n is two variablees, I (p i,j) expression p i,jgrey scale pixel value, accordingly, I (p i+m, j+n) interior other p of expression window i+m, j+ngray-scale value; So definition curvilinear characteristic metric is M (p)=I (p) ratio (p).
Step 2: make curve point p by described curvilinear characteristic metric M (p) structure energy function P (p) cenergy minimum;
By M (p c) > M (p non-c), in order to make curve point p cbe more prone to searched and arrive, in construct image, the potential energy P (p) of arbitrfary point p is the inverse of characteristic measure M (p),
Step 3: choose the known any point p in curve sas starting point, p s∈ p c, use shortest path first to search for pending image I, the some p of search process psdcurvilinear characteristic metric M (p psd) form characteristic image I f;
Concrete, as shown in Figure 1, a in Fig. 1, b, c is the point on curve, i.e. a ∈ p c, b ∈ p c, c ∈ p cget an a as starting point, carry out Shortest Path Searching with the dijkstra's algorithm in shortest path first, when search, in using a point as the neighborhood at center, carry out, record the accumulative total cost of this point to starting point when some when searching certain, select the point of an accumulative total Least-cost to proceed to calculate at every turn; The point p of search process psdcurvilinear characteristic metric M (p psd) form characteristic image, as shown in Figure 2, the gray-scale value in Fig. 2 is greater than 0 point and is the some p searching psd, for example, put b, d, e; And the point that gray-scale value is 0 is the some p not searching non-psd, for example f point in figure.
Step 4: the characteristic image I obtaining fin, from each search process point p psdstart, recall the cumulative cumulative figure I that obtains recalling to starting point c;
Concrete, for the characteristic image I obtaining in step 3 f(Fig. 2), because we are described for curvilinear characteristic, so have larger characteristic measure M (p as the b in Fig. 1, c curve point c) value and less potential energy P (p c); For the p of the accessed mistake obtaining from step 3 psdpoint, as some b, d, e in Fig. 2, while recalling, by its characteristic measure value M (p psd) be added to the some p of process in trace-back process bkon obtain recalling cumulative figure I c,
I c(p bk)=ΣI f(p bk) (3)
Wherein, a process point p while recalling bkbelong to the arbitrfary point p of searched process psd.For example d point, recalls while carrying out reverse search through d to starting point a 1, d 2, d 3arrive b point and return a point, similarly, process e when e point is recalled to starting point a 1, e 2, e 3, e 4arrive b point and return a point, curve point a, b will be accessed in the time recalling more continually than non-curve point d and e point as can be seen here, therefore have I c(p c) > I c(p non-c).
Step 5: recalling cumulative figure I cmiddle selected threshold λ f, described threshold value λ fscope is [10 -3, 10 3], I cin be greater than threshold value λ fpoint be curve point p c, all curve point p cform the curve map I finally obtaining c, as shown in Figure 3.
Concrete, due to I c(p c) > I c(p non-c) be curve point p cthe I at place c(p c) value will be larger, setting threshold λ f, make I c(p c) > λ f> I c(p non-c), therefore at given threshold value λ funder obtain final curve point set figure I c, as black curve in Fig. 3 indicates, wherein I c=I c> λ f.
Recruitment evaluation
First use a simulation drawing that has curve, as shown in Figure 1, carry out march line drawing, wherein, in simulation drawing, the average gray value of curve is lower than background value, and background is by random generation, obtains curve map I by the method for the invention c, as shown in Figure 3, in Fig. 3, use black line to indicate the curve detecting.In order to verify the effect of the present invention in actual conditions, use real crack pattern, as Fig. 4 tests, crack pattern is except the character that has simulation drawing and have, and picture quality is also subject to the impact of many textures, shade, illumination etc., therefore more has challenge.With the starting point p shown in Fig. 4 sfor starting point, utilize the energy function P (p) constructing, use shortest path first to search for and obtain characteristic image I f, as shown in Figure 5; Then to the characteristic image I shown in Fig. 5 fin each point recall cumulatively, obtain recalling cumulative figure I c, certain threshold value λ is set f, make I c(p c) > λ f> I c(p non-c), thereby obtain final curve map I c, as shown in Figure 6, the curve that Fig. 6 uses black line to indicate to detect.Experimental result shows, the extraction efficiency that method of the present invention all has in composite diagram and crack pattern and quality.
Visual assessment: by observing the extraction result of Fig. 3 and Fig. 6, we can see and use the inventive method can fast and effeciently extract the curve in publishing picture under the situation that a starting point is only provided.

Claims (4)

1. based on recalling a cumulative curve detection method, it is characterized in that, comprise the following steps:
Step 1: analyze the gray feature of any point p in pending image I, the curvilinear characteristic metric M (p) of the curvilinear characteristic that structure description point p has, and curve construction point p ccurvilinear characteristic metric M (p c) be greater than non-curve point p non-ccurvilinear characteristic metric M (p non-c), i.e. M (p c) > M (p non-c);
Step 2: by curvilinear characteristic metric M (p) the structure energy function P (p) of structure, the energy function of structure meets curve point p cenergy P (p c) be less than non-curve point p non-cenergy P (p non-c), i.e. P (p c) < P (p non-c);
Step 3: choose any point p on curve sas starting point, p s∈ p c, use shortest path first to search for pending image I, search is through some p psdcurvilinear characteristic metric M (p psd) form characteristic image I f;
Step 4: the characteristic image I obtaining fin, the some p of record searching process psd, to the some p of each search process psdrecall the cumulative cumulative figure that obtains recalling
Step 5: for recalling cumulative figure selected threshold λ f, described threshold value λ fscope is [10 -3, 10 3], make in be greater than threshold value λ fpoint be curve point p c, all curve point p cform the curve map I finally obtaining c.
2. curve detection method according to claim 1, is characterized in that, the inverse that the energy function P (p) constructing is curvilinear characteristic metric M (p).
3. curve detection method according to claim 1, is characterized in that, shortest path first is not specified search terminal to pending image I search.
4. curve detection method according to claim 1, is characterized in that, recalls cumulative figure for described in any point p bk, from characteristic image I fin the some p that searches psdrecall through p to starting point bk, p bkrecalling cumulative figure value recall through p for all bkp psdcurvilinear characteristic metric M (p psd) sum.
CN201410271291.8A 2014-06-17 2014-06-17 A kind of curve detection method cumulative based on backtracking Active CN104008555B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410271291.8A CN104008555B (en) 2014-06-17 2014-06-17 A kind of curve detection method cumulative based on backtracking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410271291.8A CN104008555B (en) 2014-06-17 2014-06-17 A kind of curve detection method cumulative based on backtracking

Publications (2)

Publication Number Publication Date
CN104008555A true CN104008555A (en) 2014-08-27
CN104008555B CN104008555B (en) 2016-09-21

Family

ID=51369195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410271291.8A Active CN104008555B (en) 2014-06-17 2014-06-17 A kind of curve detection method cumulative based on backtracking

Country Status (1)

Country Link
CN (1) CN104008555B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950665A (en) * 2021-02-01 2021-06-11 武汉大学 Semi-automatic extraction method and system for curved target

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268611A (en) * 2013-05-27 2013-08-28 广西工学院 Method for detecting accurate real-time curve in complex screen
US20140063244A1 (en) * 2012-08-28 2014-03-06 Palo Alto Research Center Incorporated Constrained parametric curve detection using clustering on hough curves over a sequence of images

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063244A1 (en) * 2012-08-28 2014-03-06 Palo Alto Research Center Incorporated Constrained parametric curve detection using clustering on hough curves over a sequence of images
CN103268611A (en) * 2013-05-27 2013-08-28 广西工学院 Method for detecting accurate real-time curve in complex screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YANG CHEN ET AL: "《CENTERLINE CONSTRAINED MINIMAL PATH PROPAGATION FOR VESSEL》", 《2014 IEEE 11TH INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING(ISBI)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950665A (en) * 2021-02-01 2021-06-11 武汉大学 Semi-automatic extraction method and system for curved target
CN112950665B (en) * 2021-02-01 2022-09-02 武汉大学 Semi-automatic curve-shaped target extraction method and system

Also Published As

Publication number Publication date
CN104008555B (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN112581463A (en) Image defect detection method and device, electronic equipment, storage medium and product
CN110163213B (en) Remote sensing image segmentation method based on disparity map and multi-scale depth network model
CN106290388A (en) A kind of insulator breakdown automatic testing method
CN107368845A (en) A kind of Faster R CNN object detection methods based on optimization candidate region
CN106056619A (en) Unmanned aerial vehicle vision wire patrol method based on gradient constraint Radon transform
CN106599920A (en) Aircraft bearing fault diagnosis method based on coupled hidden semi-Markov model
CN105444678A (en) Handset size measurement method and system
US20220292761A1 (en) Method and apparatus to extract powerlines from lidar point cloud data
CN110260774B (en) GNSS deformation information inspection and early warning method based on Pettitt algorithm
CN106557574B (en) Target address matching method and system based on tree structure
CN111985552B (en) Method for detecting diseases of thin strip-shaped structure of airport pavement under complex background
CN103970733A (en) New Chinese word recognition method based on graph structure
CN103808492A (en) Curve display method of OTDR collected data
CN101769147B (en) Method for evaluating oilfield fireflood scheme
CN106878067B (en) method for identifying key nodes of dynamic ad hoc network
CN102819611A (en) Local community digging method of complicated network
CN104008555A (en) Curve detecting method based on backtracking accumulation
WO2016086634A1 (en) Reject rate-controllable metropolis-hastings graph sampling algorithm
CN114240969A (en) Multi-line laser image defect segmentation method based on stripe multi-view convolution network
CN106897683B (en) Ground object detection method and system of remote sensing image
Ya’acob et al. Real-Time Pavement Crack Detection Based on Artificial Intelligence
CN116879886A (en) Early warning method for graded communication of micro-change monitoring radar on landslide surface
CN103823753A (en) Webpage sampling method oriented at barrier-free webpage content detection
CN104077592A (en) Automatic extraction method for high-resolution remote-sensing image navigation mark
CN103679725B (en) Based on the blade area automatic retrieval method of straight-line detection and template matches

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220125

Address after: 510507 1801, No. 623, yueken Road, Tianhe District, Guangzhou, Guangdong

Patentee after: Guangzhou yilianzhong ruitu Information Technology Co.,Ltd.

Address before: 210096 No. four archway, 2, Jiangsu, Nanjing

Patentee before: SOUTHEAST University