CN103679721B - Use the image outline method for simplifying of nearest neighbor method Hough transform - Google Patents
Use the image outline method for simplifying of nearest neighbor method Hough transform Download PDFInfo
- Publication number
- CN103679721B CN103679721B CN201310665161.8A CN201310665161A CN103679721B CN 103679721 B CN103679721 B CN 103679721B CN 201310665161 A CN201310665161 A CN 201310665161A CN 103679721 B CN103679721 B CN 103679721B
- Authority
- CN
- China
- Prior art keywords
- theta
- point
- rho
- overbar
- target
- 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.)
- Active
Links
Landscapes
- Image Analysis (AREA)
Abstract
A kind of image outline method for simplifying using nearest neighbor method Hough transform, first carries out morphologic filtering operation to bianry image;Then application moment characteristics calculates its barycenter and main shaft equation, and uses minimum distance method to calculate the distance of profile point and main shaft, thus obtains the datum mark that profile simplifies;Finally use nearest neighbor method Hough transform to ask for profile and simplify line segment, the concept of neighborhood is introduced in parameter space, the curved line number calculate, being verified in defined neighborhood, so that it is determined that image space can be approximated to be the point of straight line, the Origin And Destination of line segment, and one closed curve being made up of line segment of formation that is connected in turn by the point asked for is asked for according to ultimate range method.The present invention can simplify image outline well, irregular for image curved boundary is simplified to a series of line segment, and according to head and the tail, these line segments are linked in sequence into a closed figure.Use the simplification profile that obtains of the method and former profile sufficient approximation.
Description
Technical field
The present invention relates to Image Processing and Pattern Recognition technical field, be primarily adapted for use in target in image
Detection and identification, specifically use the image outline method for simplifying of nearest neighbor method Hough transform,
Background technology
Image outline is to analyze to obtain target shape feature in Image Processing and Pattern Recognition technical field
Important evidence.
Target to be identified in the remote sensing images of naval battle field not only comprise Ship Target (aircraft carrier, cruiser,
Destroyer and escort vessel), it is also possible to comprise other targets with vision significant properties, such as island, reef
Stone etc., these targets have different shape facilities.In the target information of naval battle field, Ship Target
Being to pay close attention to target, its detection efficiency, precision directly affect the decision-making of commander.In order to more preferably
Complete the identification to Ship Target, need to be analyzed, the feature of Ship Target by Ship Target
Identify from target complex to be identified.
Naval vessel, as the naval target identified main in military operation, is different from other targets, they
Warship bow, warship body, warship stern have obvious shape facility, can be by naval vessel mesh when carrying out target recognition
Target warship bow, warship body and warship stern shape are abstract for triangle, rectangle and the simple geometric figure such as trapezoidal
(table 1).But the objective contour to be identified obtained by image segmentation is frequently not smooth, regular,
And target area to be identified there may be hole, these factors are unfavorable for that these clarifications of objective are extracted,
Eventually affect the accuracy of identification of target.
Summary of the invention
The purpose of the present invention: find out a kind of method simplifying image outline, efficiently solve because image divides
The problem that the target feature shape that cut edge edge is unsmooth, irregularly cause extracts difficulty.
The present invention proposes to use the image outline method for simplifying of nearest neighbor method Hough transform, the method straight line
Replace the curve unsmooth, irregular in objective contour, and these line segments are connected into and former profile
The closed area of sufficient approximation.Profile geometries feature after simplification is obvious, it is easy to carry out target shape
Shape characteristic matching, the identification for target provides foundation;It specifically comprises the following steps that
(1) bianry image is carried out morphologic filtering process, smoothed image edge, fill up vacancy;
(2) calculate the moment characteristics of target area, obtain center-of-mass coordinate and the main shaft equation of target, by meter
Calculate the distance relation of profile point and target main shaft, use minimum distance method to obtain the datum mark that profile simplifies;
(3) use nearest neighbor method Hough transform to ask for profile and simplify line segment, parameter space introduces neighborhood
Concept, the curved line number being verified in defined neighborhood, so that it is determined that can approximate in image space
For the coordinate of point on straight line, ask for the Origin And Destination of line segment according to ultimate range method, and will ask
The point taken is connected in turn and forms a closed curve being made up of line segment, reaches to simplify image outline
Purpose.
Feature of the present invention: the parameter space at Hough transformation introduces neighborhood concepts.Described neighborhood concepts
Point (the θ being mapped in parameter space with image space cathetus Ljj,ρjCentered by), define a neighborhood
U1(θj,Δθ)*U2(ρj, Δ ρ), by by the image space corresponding to all curves of this neighborhood
Objective contour on point all regard straight line L asjOn point.Straight line L is determined by the distribution of point setj's
Origin And Destination, and connect into the line segment of approximate target profile, finally give through loop computation
The simplification profile of image.
Described morphological image is filtered into:
If bianry image is that (u, v), the size of the filter window of definition Morphologic filters is B
(2pm+1)×(2pm+ 1), order:
In formula 1, (i, j) be bianry image B (u, v) in a point.
Step one: in order to remove the weak thin straight line in image target area, isolated miscellaneous point, the completeest
The morphological erosion becoming image processes:
In formula 2, i ∈ [u-pm,u+pm],j∈[v-pm,v+pm];(u is v) rotten through morphology to E
Image after erosion process.
Step 2: after morphological erosion processes, the pixel in object edge is also corroded.
In order to reduce target area deformation, fill up hole present in target area, it is ensured that object edge complete
Whole property, will carry out morphological dilations process to target area.
In formula 3, condition I be E (u, v)=1;Condition II be B (u, v)=1, and exist a bit
(p,q)(p∈[u-pm,u+pm],q∈[v-pm,v+pm]) meet E (p, q)=1;(u v) is warp to D
The image that morphological dilations processes.
After morphological dilations processes, object edge and shape are recovered, in target area
Weak thin straight line, isolated miscellaneous point is removed, hole is filled up.
The described profile simplification datum mark that solves is: (see figure 2)
Step one: calculate target centroid
Assume that on image, target has homogenous properties, and its distributed function f (x, y), then the matter of target
The heart (X0,Y0) coordinate representation is:
Formula 4 in formula 8, m00It it is the zeroth order square of target;m10、m01It it is the first moment of target;(X0,Y0)
Barycenter for target.
Step 2: calculate target main shaft equation
After obtaining target centroid, calculate target main shaft equation.The central moment of target is tried to achieve in normalization:
In formula 9,10,11, N represents the pixel number of given image-region, xiAnd yiIt is respectively i-th
The abscissa of individual pixel and vertical coordinate;U00=m00;X0And Y0It is respectively the abscissa of target centroid
And vertical coordinate;Uxx、Uyy、UxyFor target's center's square.
The target slice major axes orientation that can be calculated is:
In formula 12, φ is the angle of target main shaft and coordinate axes,When image wraps
During containing geography information, φ can also represent the course of Ship Target.
The main shaft equation calculating target according to formula 7,8,12 is:
Y=xtan φ+Y0-X0Tan φ (13)
Step 3: ask and simplify the datum mark calculated
Extract single pixel profile of target in image with Robert algorithm, then the point set of objective contour is
{(x1,y1),(x2,y2),...,(xi,yi) (i=1,2...., n), wherein n be in profile number a little.
Objective contour point to the distance of target main shaft is:
WhenTime corresponding contour line on the intersection point that point is profile and target main shaft
(xj,yj), by point all of on contour line with (xj,yj) it is that starting point sorts in clockwise direction,
Obtain point set:
P={P1,P2,...,Pi(i=1,2...., n), Pi=(xi,yi) (15)
The profile of described target simplifies (see figure 3)
Defining a two-dimensional array P and deposit the coordinate figure of profile point, first unit of array is profile base
P on schedule1Coordinate, second unit deposits P2Coordinate, follow-up location contents the like, until
Pn。P1To PnRankine-Hugoniot relations with P1For starting point, by profile point at the clock-wise order of image space;
Define a two-dimensional array ThetaR (θn-1,ρn-1) deposit C1With CjThe θ of intersection pointj、ρjValue;C1、
CjRepresented curve it is mapped in parameter space for image space midpoint;θj、ρjFor C1With Cj?
The horizontal stroke of the aerial intersection point of parameter, vertical coordinate;
Define an one-dimension array A (θn-1,ρn-1) as accumulator, to intersection point phase same in parameter space
Hand over number of times to count, initialize A (θn-1,ρn-1) each unit is zero;
Define an one-dimension arrayAs accumulator, deposit satisfied (θj,ρj) neighborhood pass
The coordinate of the profile point of system, initializesEach unit is zero;
Step one: calculate C1, CjIntersection point (θ in parameter spacej,ρj), and be stored in
ThetaR(θj,ρj);(see figure 4)
Step 2: calculate A (θn-1,ρn-1) each unit numerical value, by formula 15
P={P1,P2,...,Pi(i=1,2...., n), Pi=(xi,yi) (except P on 49 sequence number traversal contour lines1
Outer all of point, calculates curve and curve C that they are mapped in parameter space1Intersection point.
When there is θj=θq=γ, ρj=ρq=s and j < q (j, q=1,2 ..., n-1) time, will
(θj,ρj) the accumulator element value at place adds 1, such as formula 18:
As curve corresponding to k objective contour point and curve C1(γ, time s), and j is for occurring to meet at same point
It is identical that (γ, s) corresponding smallest sequence number profile point, then have A (θj,ρj)=k, other k-1 some correspondence is cumulative
The value of device is zero.
Step 3: whether the curve calculating the corresponding parameter space of the point on contour line passes through (θj,ρj) place
Neighborhood.
Calculate as accumulator A (θj,ρjDuring)=α >=1, with point (θ in parameter spacej,ρjNeighbour centered by)
Territory comprises the bar number of curve:
If any point coordinate is P on contour linem=(xm,ym), then the equation of its corresponding parameter space
For:
In formula 19,
To formula 19 derivation, then have:
When Time, Then have:
When Time, Then have:
When Time, exist Now The second order of formula 19
Derivative is:
Judged by formula 19,25 On intervalExtreme value.
(1) when Time, Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
(2) when Time, Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
Can obtain to formula 31 according to formula 19Interval be:
When meeting formula 33, then put pmIt is required point.
Step 4: ask for through (θj,ρj) set of neighborhood profile point.
When pm value in neighborhood meets formula 33, point (θj,ρj) value of corresponding accumulator elementFor:
Calculate all as A (θj,ρjDuring)=α >=1, with (θj,ρjCentered by) defined adjacent under study for action
In territory, meet the point of above-mentioned requirements.TakeTime, with (θj,ρj) it is
The set of the profile point tried to achieve at center is to meet and simplifies the point required.
The present invention uses the image outline method for simplifying of nearest neighbor method Hough transform.Hough transformation the most former
Reason is the duality utilizing point with line, the curve negotiating curve representation shape given by original image space
Formula becomes a point of parameter space;The test problems of given curve in original image is converted into searching
Spike problem in parameter space, namely detection overall permanence is converted into detection local characteristics, such as
Straight line, ellipse, circle, camber line etc..Being different from tradition Hough transformation application, the present invention utilizes application suddenly
The ultimate principle of husband's conversion, introduces the concept of neighborhood at parameter space, and in image space is straight
The point that line is mapped as in parameter space, sets up a sufficiently small neighborhood centered by this is put, works as figure
When the curve that point in image space is mapped in parameter space all passes this neighborhood, it is believed that image
These points in space are all on same straight line, so that it is determined that can be approximated to be one in image space
The set of the point of straight line.Then ask for the Origin And Destination of line segment according to ultimate range method, and will ask for
Point be connected in turn formation one closed curve being made up of line segment, thus reach simplify image wheel
Wide purpose.The method advantage is can to simplify image outline easily, by irregular for image curve
Border is simplified to a series of line segment, and according to head and the tail, these line segments are linked in sequence into a closed figure.
Use the simplification profile that obtains of the method and original image profile sufficient approximation.
Accompanying drawing explanation
Accompanying drawing 1 objective contour simplifies algorithm block diagram;
Accompanying drawing 2 objective contour datum mark computing block diagram;
Accompanying drawing 3 nearest neighbor method Hough transform algorithm block diagram;
Accompanying drawing 4 parameter space based on neighborhood image;
Accompanying drawing 5 warship shape facility statistical table.
Detailed description of the invention
1, morphological image filtering
If bianry image is that (u, v), the size of the filter window of definition Morphologic filters is B
(2pm+1)×(2pm+ 1), order:
Wherein, (i, j) be bianry image B (u, v) in a point.
Step one: in order to remove the weak thin straight line in image target area, isolated miscellaneous point, the completeest
The morphological erosion becoming image processes:
In formula 36
i∈[u-pm,u+pm],j∈[v-pm,v+pm];(u v) is the figure after morphological erosion processes to E
Picture.
Step 2: after morphological erosion processes, the pixel in object edge is also corroded.
In order to reduce target area deformation, fill up hole present in target area, it is ensured that object edge complete
Whole property, will carry out morphological dilations process to target area.
FormulaIn, condition I is
E (u, v)=1;Condition II be B (u, v)=1, and exist a bit
(p,q)(p∈[u-pm,u+pm],q∈[v-pm,v+pm]) meet E (p, q)=1;(u v) is warp to D
The image that morphological dilations processes.
After morphological dilations processes, object edge and shape are recovered, in target area
Weak thin straight line, isolated miscellaneous point is removed, hole is filled up.
2, solve profile and simplify datum mark (see figure 2)
Step one: calculate target centroid
Assume that on image, target has homogenous properties, and its distributed function f (x, y), then the matter of target
The heart (X0,Y0) coordinate representation is:
In above formula, m00It it is the zeroth order square of target;m10、m01It it is the first moment of target;(X0,Y0) it is
The barycenter of target.
Step 2: calculate target main shaft equation
After obtaining target centroid, calculate target main shaft equation.The central moment of target is tried to achieve in normalization:
In above formula, N represents the pixel number of given image-region, xiAnd yiIt is respectively ith pixel point
Abscissa and vertical coordinate;U00=m00;X0And Y0It is respectively abscissa and the vertical coordinate of target centroid;
Uxx、Uyy、UxyFor target's center's square.
The target slice major axes orientation that can be calculated is:
In formula 46, φ is the angle of target main shaft and coordinate axes,When image wraps
During containing geography information, φ can also represent the course of Ship Target.
The main shaft equation calculating target according to formula 41,42,46 is:
Y=xtan φ+Y0-X0Tan φ (47)
Step 3: ask and simplify the datum mark calculated
Extract single pixel profile of target in image with Robert algorithm, then the point set of objective contour is
{(x1,y1),(x2,y2),...,(xi,yi) (i=1,2...., n), wherein n be in profile number a little.
Objective contour point to the distance of target main shaft is:
WhenTime corresponding contour line on the intersection point that point is profile and target main shaft
(xj,yj), by point all of on contour line with (xj,yj) it is that starting point sorts in clockwise direction,
Obtain point set:
P={P1,P2,...,Pi(i=1,2...., n), Pi=(xi,yi) (49)
3, the profile of target simplifies (see figure 3)
Defining a two-dimensional array P and deposit the coordinate figure of profile point, first unit of array is profile base
P on schedule1Coordinate, second unit deposits P2Coordinate, follow-up location contents the like, until
Pn。P1To PnRankine-Hugoniot relations with P1For starting point, by profile point at the clock-wise order of image space;
Define a two-dimensional array ThetaR (θn-1,ρn-1) deposit C1With CjThe θ of intersection pointj、ρjValue;C1、
CjRepresented curve it is mapped in parameter space for image space midpoint;θj、ρjFor C1With Cj?
The horizontal stroke of the aerial intersection point of parameter, vertical coordinate;
Define an one-dimension array A (θn-1,ρn-1) as accumulator, to intersection point phase same in parameter space
Hand over number of times to count, initialize A (θn-1,ρn-1) each unit is zero;
Define an one-dimension arrayAs accumulator, deposit satisfied (θj,ρj) neighborhood pass
The coordinate of the profile point of system, initializesEach unit is zero;
Step one: calculate C1, CjIntersection point (θ in parameter spacej,ρj), and be stored in
ThetaR(θj,ρj);(see figure 4)
Step 2: calculate A (θn-1,ρn-1) each unit numerical value, by formula 49
P={P1,P2,...,Pi(i=1,2...., n), Pi=(xi,yi) (except P on 49 sequence number traversal contour lines1
Outer all of point, calculates curve and curve C that they are mapped in parameter space1Intersection point.
When there is θj=θq=γ, ρj=ρq=s and j < q (j, q=1,2 ..., n-1) time, will
(θj,ρj) the accumulator element value at place adds 1, such as formula 52:
As curve corresponding to k objective contour point and curve C1(γ, time s), and j is for occurring to meet at same point
It is identical that (γ, s) corresponding smallest sequence number profile point, then have A (θj,ρj)=k, other k-1 some correspondence is cumulative
The value of device is zero.
Step 3: whether the curve calculating the corresponding parameter space of the point on contour line passes through (θj,ρj) place
Neighborhood.
Calculate as accumulator A (θj,ρjDuring)=α >=1, with point (θ in parameter spacej,ρjNeighbour centered by)
Territory comprises the bar number of curve:
If any point coordinate is P on contour linem=(xm,ym), then the equation of its corresponding parameter space
For:
In formula 53,
To formula 53 derivation, then have:
When Time, Then have:
When Time, Then have:
When Time, exist Now The second order of formula 53
Derivative is:
Judged by formula 53,59 On intervalExtreme value.
(1) when Time, Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
(2) when Time, Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymSin (θ j-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
Can obtain to formula 65 according to formula 53Interval be:
When meeting formula 67, then some pm is required point.
Step 4: ask for through (θj,ρj) set of neighborhood profile point.
When pm value in neighborhood meets formula 67, point (θj,ρj) value of corresponding accumulator elementFor:
Calculate all as A (θj,ρjDuring)=α >=1, with (θj,ρjCentered by) defined adjacent under study for action
In territory, meet the point of above-mentioned requirements.TakeTime, with (θj,ρj) it is
The set of the profile point tried to achieve at center is to meet and simplifies the point required.
Step 5: ask for the approximation line segment of profile point.Calculate profile point and concentrate the seat apart from big 2
Mark, these 2 Origin And Destinations being approximation line segment.
Step 6: take the starting point that terminal is lower bar line segment of required line segment, and will obtain in line segment
The point set comprised is concentrated from profile point and is removed.Perform step one and arrive step 5, when calculating i-th line
When the point of section concentrates the starting point comprising Article 1 straight line, the starting point of connection i-th line section and the 1st article of line segment
Terminal, gained closed area be target simplify after contour line.
The present invention is not only limited to above-mentioned specific embodiment, and persons skilled in the art are according to this
Disclosure of invention, can use other multiple detailed description of the invention to implement the present invention, therefore, all
It is design structure and the thinking using the present invention, does some simply change or designs of change, all fall
Enter protection scope of the present invention.
Claims (2)
1. the image outline method for simplifying using nearest neighbor method Hough transform, it is characterised in that: concrete
Step is as follows:
(1) bianry image carries out morphologic filtering process smoothed image edge, fill up vacancy;Institute
The morphological image stated is filtered into:
If bianry image is that (u, v), the size of the filter window of definition Morphologic filters is B
(2pm+1)×(2pm+ 1), order:
In formula 1, (i, j) be bianry image B (u, v) in a point;
Step one: in order to remove the weak thin straight line in image target area, isolated miscellaneous point, the completeest
The morphological erosion becoming image operates:
In formula 2, i ∈ [u-pm,u+pm],j∈[v-pm,v+pm];(u is v) rotten through morphology to E
Image after erosion process;
Step 2: after morphological erosion processes, the pixel in object edge is also corroded;
In order to reduce target area deformation, fill up hole present in target area, it is ensured that object edge complete
Whole property, will carry out morphological dilations process to target area;
In formula 3, condition I be E (u, v)=1;Condition II be B (u, v)=1, and exist a bit
(p,q)(p∈[u-pm,u+pm],q∈[v-pm,v+pm]) meet E (p, q)=1;(u v) is warp to D
The image that morphological dilations processes;
After morphological dilations processes, object edge and shape are recovered, in target area
Weak thin straight line, isolated miscellaneous point is removed, hole is filled up;
(2) calculate the moment characteristics of target area, obtain center-of-mass coordinate and the main shaft equation of target, by meter
Calculate the distance relation of profile point and target main shaft, use minimum distance method to obtain the datum mark that profile simplifies;
Algorithm is as follows:
Step one: calculate target centroid
Assume that on image, target has homogenous properties, and its distributed function f (x, y), then the matter of target
The heart (X0,Y0) coordinate representation is:
Wherein, m00It it is the zeroth order square of target;m10、m01It it is the first moment of target;(X0,Y0) it is mesh
Target barycenter;
Step 2: calculate target main shaft equation
After obtaining target centroid, calculate target main shaft equation;The central moment of target is tried to achieve in normalization:
Wherein, N represents the pixel number of given image-region, xiAnd yiIt is respectively ith pixel point
Abscissa and vertical coordinate;U00=m00;X0And Y0It is respectively abscissa and the vertical coordinate of target centroid;
Uxx、Uyy、UxyFor target area central moment;
The target slice major axes orientation that can be calculated is:
In formula 12, φ is the angle of target main shaft and coordinate axes,When image wraps
During containing geography information, φ can also represent the course of Ship Target;
The main shaft equation calculating target according to formula 7,8,12 is:
Y=x tan φ+Y0-X0tanφ (13)
Step 3: ask and simplify the datum mark calculated
Extract single pixel profile of target in image with Robert algorithm, then the point set of objective contour is
{(x1,y1),(x2,y2),...,(xi,yi) (i=1,2...., n), wherein n be in profile number a little;
Objective contour point to the distance of target main shaft is:
WhenTime corresponding contour line on the intersection point that point is profile and target main shaft
(xj,yj), by point all of on contour line with (xj,yj) it is that starting point sorts in clockwise direction,
Obtain point set:
P={P1,P2,...,Pi(i=1,2...., n), Pi=(xi,yi) (15);
(3) use nearest neighbor method Hough transform to ask for profile and simplify line segment, parameter space introduces neighborhood
Concept, the curved line number being verified in defined neighborhood, so that it is determined that can approximate in image space
For the coordinate of point on straight line, ask for the Origin And Destination of line segment according to ultimate range method, and will ask
The point taken is connected in turn and forms a closed curve being made up of line segment, reaches to simplify image outline
Purpose;The profile of described target is reduced to:
Defining a two-dimensional array P and deposit the coordinate figure of profile point, first unit of array is profile base
P on schedule1Coordinate, second unit deposits P2Coordinate, follow-up location contents the like, until
Pn;P1To PnRankine-Hugoniot relations with P1For starting point, by profile point at the clock-wise order of image space;
Define a two-dimensional array ThetaR (θn-1,ρn-1) deposit C1With CjThe θ of intersection pointj、ρjValue;C1、
CjRepresented curve it is mapped in parameter space for image space midpoint;θj、ρjFor C1With Cj?
The horizontal stroke of the aerial intersection point of parameter, vertical coordinate;
Define an one-dimension array A (θn-1,ρn-1) as accumulator, to intersection point phase same in parameter space
Hand over number of times to count, initialize A (θn-1,ρn-1) each unit is zero;
Define an one-dimension arrayAs accumulator, deposit satisfied (θj,ρj) neighborhood pass
The coordinate of the profile point of system, initializesEach unit is zero;
Step one: calculate C1, CjIntersection point (θ in parameter spacej,ρj), and be stored in
ThetaR(θj,ρj);
Step 2: calculate A (θn-1,ρn-1) each unit numerical value, travel through on contour line by the sequence number in formula 15
Except P1Outer all of point, calculates curve and curve C that they are videoed in parameter space1Intersection point;
When there is θj=θq=γ, ρj=ρq=s and j < q (j, q=1,2 ..., n-1) time, will
(θj,ρj) the accumulator element value at place adds 1, such as formula 18:
As curve corresponding to k objective contour point and curve C1(γ, time s), and j is for occurring to meet at same point
It is identical that (γ, s) corresponding smallest sequence number profile point, then have A (θj,ρj)=k, other k-1 some correspondence is cumulative
The value of device is zero;
Step 3: whether the curve calculating the corresponding parameter space of the point on contour line passes through (θj,ρj) place
Neighborhood;
Calculate as accumulator A (θj,ρjDuring)=α >=1, with point (θ in parameter spacej,ρjNeighbour centered by)
Territory comprises the bar number of curve:
If any point coordinate is P on contour linem=(xm,ym), then the equation of its corresponding parameter space
For:
In formula 19,
To formula 19 derivation, then have:
WhenTime,Then have:
WhenTime,Then have:
WhenTime, existNowThe second order of formula 19
Derivative is:
Judged by formula 19,25On intervalExtreme value;
(1) whenTime,Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
(2) whenTime,Then have:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] > 0 time:
As [xmcos(θj+Δθ)+ymsin(θj+Δθ)]-[xmcos(θj-Δθ)+ymsin(θj-Δ θ)] < 0 time:
Can obtain to formula 31 according to formula 19Interval be:
When meeting formula 33, then put pmIt is required point;
Step 4: ask for through (θj,ρj) set of neighborhood profile point;
Work as pmValue in neighborhood meets formula 33, point (θj,ρj) value of corresponding accumulator elementFor:
According to formula 19-34, calculate A (θj,ρjAll profile point of)=α >=1;TakeTime, with (θj,ρjThe set of the profile point tried to achieve centered by)
It is to meet and simplifies the point required.
2. the image outline method for simplifying of the employing nearest neighbor method Hough transform piece described in Ju claim 1,
It is characterized in that: described neighborhood concepts is with image space cathetus LjThe point being mapped in parameter space
(θj,ρjCentered by), define a neighborhood U1(θj,Δθ)*U2(ρj, Δ ρ), by by this neighborhood
The point on the objective contour on image space corresponding to all curves all regards straight line L asjOn point;
Straight line L is determined by the distribution of point setjOrigin And Destination, and connect into approximate target profile
Line segment, finally gives the simplification profile of image through loop computation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310665161.8A CN103679721B (en) | 2013-12-10 | 2013-12-10 | Use the image outline method for simplifying of nearest neighbor method Hough transform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310665161.8A CN103679721B (en) | 2013-12-10 | 2013-12-10 | Use the image outline method for simplifying of nearest neighbor method Hough transform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103679721A CN103679721A (en) | 2014-03-26 |
CN103679721B true CN103679721B (en) | 2016-12-07 |
Family
ID=50317172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310665161.8A Active CN103679721B (en) | 2013-12-10 | 2013-12-10 | Use the image outline method for simplifying of nearest neighbor method Hough transform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103679721B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056598A (en) * | 2016-05-27 | 2016-10-26 | 哈尔滨工业大学 | Line segment detection and image segmentation fusion-based satellite high-resolution image building contour extraction method |
CN108943724A (en) * | 2017-05-19 | 2018-12-07 | 三纬国际立体列印科技股份有限公司 | Cut tomographic image processing method and three-dimensional printing equipment |
CN107644449B (en) * | 2017-09-15 | 2021-03-19 | 镇江恒昌彩艺科技有限公司 | Plane figure independent closed area identification method |
CN108197627B (en) * | 2017-11-14 | 2020-07-28 | 浙江工业大学 | Method for extracting binary figure outline along clockwise direction |
CN108428219B (en) * | 2018-02-28 | 2021-08-31 | 华南农业大学 | Log diameter measuring and calculating method based on three-dimensional curved surface |
CN108986038A (en) * | 2018-06-01 | 2018-12-11 | 浙江大学 | A kind of wheel-hub contour detection method based on Improved Hough Transform |
CN108898147B (en) * | 2018-06-27 | 2021-03-02 | 清华大学 | Two-dimensional image edge flattening method and device based on angular point detection |
CN110838130B (en) * | 2018-08-15 | 2022-07-12 | 湖南大学 | Fast fuzzy distance transformation method |
CN109345579B (en) * | 2018-09-27 | 2021-09-07 | 西安交通大学 | Method for obtaining liquid-liquid interface in micron capillary |
CN109186500B (en) * | 2018-09-27 | 2020-03-31 | 西安交通大学 | Contact angle acquisition method for liquid-liquid two-phase displacement image in micron capillary |
CN109285172B (en) * | 2018-09-28 | 2022-05-27 | 中国科学院长春光学精密机械与物理研究所 | Method, device and equipment for calculating straight line parameters in image and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6026186A (en) * | 1997-11-17 | 2000-02-15 | Xerox Corporation | Line and curve detection using local information |
CN102902945A (en) * | 2012-09-28 | 2013-01-30 | 南京汇兴博业数字设备有限公司 | Distortion correction method of outer contour based on quick response matrix code |
-
2013
- 2013-12-10 CN CN201310665161.8A patent/CN103679721B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6026186A (en) * | 1997-11-17 | 2000-02-15 | Xerox Corporation | Line and curve detection using local information |
CN102902945A (en) * | 2012-09-28 | 2013-01-30 | 南京汇兴博业数字设备有限公司 | Distortion correction method of outer contour based on quick response matrix code |
Non-Patent Citations (3)
Title |
---|
An Improved Hough Transform for Line Detection;DaGao Duan等;《2010 International Conference on Computer Application and System Modeling》;20101024;第二节 * |
基于改进Hough变换的图像线段特征提取;韩秋蕾等;《仪器仪表学报》;20040831;第25卷(第4期);全文 * |
基于矩特征预测的主动轮廓跟踪算法;郑林等;《武汉理工大学学报》;20070228;第29卷(第2期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103679721A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103679721B (en) | Use the image outline method for simplifying of nearest neighbor method Hough transform | |
CN104392212B (en) | The road information detection and front vehicles recognition methods of a kind of view-based access control model | |
CN104318258B (en) | Time domain fuzzy and kalman filter-based lane detection method | |
CN109800735A (en) | Accurate detection and segmentation method for ship target | |
CN103514448A (en) | Method and system for navicular identification | |
CN105022990A (en) | Water surface target rapid-detection method based on unmanned vessel application | |
CN101567046A (en) | Target recognition method of unmanned aerial vehicle based on minimum circle-cover matching | |
CN103927758B (en) | Saliency detection method based on contrast ratio and minimum convex hull of angular point | |
CN102915650A (en) | Convergent photography-based ship navigation safety early-warning equipment for ships in water area of bridges | |
CN106097329A (en) | A kind of container profile localization method based on rim detection | |
CN102254147B (en) | Method for identifying long-distance space motion target based on stellar map matching | |
CN110491132A (en) | Vehicle based on video frame picture analyzing, which is disobeyed, stops detection method and device | |
CN103617328A (en) | Airplane three-dimensional attitude computation method | |
Cai et al. | MHA-Net: Multipath Hybrid Attention Network for building footprint extraction from high-resolution remote sensing imagery | |
CN106295503A (en) | The high-resolution remote sensing image Ship Target extracting method of region convolutional neural networks | |
CN104102909A (en) | Vehicle characteristic positioning and matching method based on multiple-visual information | |
CN101894254A (en) | Contouring method-based three-dimensional face recognition method | |
CN107480585A (en) | Object detection method based on DPM algorithms | |
CN102800099A (en) | Multi-feature multi-level visible light and high-spectrum image high-precision registering method | |
CN105469393A (en) | Shallow water depth multi-temporal remote sensing image inversion method based on decision fusion | |
CN107704865A (en) | Fleet Targets Detection based on the extraction of structure forest edge candidate region | |
CN101976347A (en) | Method for recognizing overwater bridge in remote sensing image on basis of Mean Shift segmentation | |
CN103996017A (en) | Ship detection method based on Hu invariant moment and support vector machine | |
CN108021886A (en) | A kind of unmanned plane repeats texture image part remarkable characteristic matching process | |
CN109886200A (en) | A kind of unmanned lane line detection method based on production confrontation network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |