WO2019041590A1 - Edge detection method using arbitrary angle - Google Patents

Edge detection method using arbitrary angle Download PDF

Info

Publication number
WO2019041590A1
WO2019041590A1 PCT/CN2017/112917 CN2017112917W WO2019041590A1 WO 2019041590 A1 WO2019041590 A1 WO 2019041590A1 CN 2017112917 W CN2017112917 W CN 2017112917W WO 2019041590 A1 WO2019041590 A1 WO 2019041590A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
edge
edge detection
pixels
pixel
Prior art date
Application number
PCT/CN2017/112917
Other languages
French (fr)
Chinese (zh)
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 中国科学院微电子研究所
Publication of WO2019041590A1 publication Critical patent/WO2019041590A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/107Static hand or arm

Definitions

  • the present invention relates to an image processing method, and more particularly to an edge detection method at an arbitrary angle.
  • edges bring humanity an image of the world of thinking and is an important way for human beings to understand the world.
  • the mutations that exist in the image and the discontinuous and unstable structures are called edges.
  • the edges often carry a wealth of image information.
  • These edge points constitute the contour of the object, and these contours are often of interest to the researcher. They focus on the characteristics of the research target, and are extremely important for subsequent image segmentation, image matching, target recognition, and computer vision. How to convert images with unclear outlines into clear edge images has become the direction that people have been studying intensively for many years.
  • people have been introducing mathematical methods to extract and interpret image edges. From the original gradient-based Prewitt operator, Sobel operator, etc. to LoG operator and Canny operator, wavelet transform to machine learning, the depth and difficulty of edge detection problem are reflected.
  • the multi-angle edge detection algorithm based on the gradient principle uses a N*N gradient template to convolve the two-dimensional image. Since the template is generally square and its size is up to 5 pixels * 5 pixels, the template can generate a gradient direction of up to 16, ie 0 °, 30 °, 45 °, 60 °, 90 °, 120 °, 135 ° , 150°, 180°, 210°, 225°, 240°, 270°, 300°, 315°, and 330° directions.
  • the classical two-dimensional wavelet transform modulus maximum edge detection method can only perform non-maximum value suppression according to the angle classification after finding the gradient along the x direction and the y direction.
  • using the existing angle edge detection method to perform arbitrary angle edge detection on the image edge basically relies on rotating image and rotating coordinates.
  • the image is rotated and the coordinates are rotated, the image is interpolated, which causes the image gray information to change. Therefore, the edge of the image is recognized after rotating the image and rotating the coordinates, and the edge of the image cannot be guaranteed. It is also necessary to rotate the edge image back to the original position according to the angle of rotation, which again causes the edge image information to change.
  • rotating images and rotating coordinates can cause image size changes and image boundary problems that can increase image processing difficulty.
  • the present invention provides a method for realizing a single pixel arbitrary angle edge detection without changing image information.
  • the present invention provides an edge detection method at any angle, including the following steps:
  • the gray value of the selected part of the above two-dimensional pixel points is extracted by the following rule:
  • Convolution operation is performed on the matrix of several gray values stored in a matrix form and the first derivative f ⁇ (x) of the Gaussian function, and then the absolute value of the convolution operation is taken, and the absolute value is taken locally. maximum;
  • the obtained local maximum value position is assigned to a non-zero gray value, and the gray value of the other pixel positions is set to zero.
  • the first derivative f ⁇ (x) of the Gaussian function is Wherein the first derivative f ⁇ (x) of the Gaussian function is Where ⁇ is a constant, and the value ranges from 1 to 10.
  • the non-zero gray value is 255/the number of edge detection angles.
  • the method further comprises: replacing the pixel represented by the obtained gray value matrix with the original The step of corresponding pixels on the image.
  • the user performs 4 to 8 independent i, j, r, and k settings to achieve 4 to 8 different times. Extract the edge detection of the angle.
  • a plurality of gray value matrices obtained by different edge detection angles are superimposed in an image display form, and a gray level threshold is set according to an actual required edge image requirement for the gray level of the plurality of superimposed images, according to the binary value
  • the threshold is binarized to obtain the desired edge.
  • the desired edge obtained is a single pixel wide edge.
  • the pulse recognition method of the present invention has the following beneficial effects as compared with the prior art:
  • the present invention provides an algorithm that can achieve edge detection at any angle in the range of [0°, 360°];
  • the invention can realize the edge detection of the [0°, 360°] angle interval by applying only the [45°, 90°] edge detection angle, and reduce the complexity of the image edge detection algorithm;
  • the present invention discloses for the first time a formula for constructing an arbitrary angle edge detection operator
  • the edge detection angle construction method of the present invention is more achievable than the existing angle-based classical operator
  • the algorithm transforms the two-dimensional image edge recognition problem into one-dimensional curve signal processing problem, which reduces the complexity of the algorithm
  • the edge generated by this algorithm is a single pixel wide edge.
  • Figure 1 is a schematic illustration of a compact connection of k adjacent pixels of an image
  • FIG. 2 is a schematic diagram of a loose connection of k adjacent pixels of an image
  • FIG. 3 is a schematic diagram of an image edge detecting an arbitrary angle composition form of k adjacent pixels
  • Figure 4 is a schematic illustration of a compact connection of two adjacent pixels of an image
  • Figure 5 is a schematic illustration of a loose connection of two adjacent pixels of an image
  • FIG. 6 is a schematic diagram showing an arbitrary angle composition form of two adjacent pixels of an image edge detection
  • Figure 7 is a schematic diagram of a portion of the image beyond the boundary of the image to complement the 0 amplification
  • Figure 8 is a relational expression for superimposing a plurality of different detection angles
  • Figure 9 is a schematic diagram of superimposing a plurality of different detection angles
  • Figure 10 is an original view and a comparison chart of angle optimization and multiple angle superposition
  • 11 to 14 are the relationship between the number of angles of the circle, the circle and the letters, the circle, the circle and the letter, and the relationship between the connected domain and the number of pixels P;
  • Figure 15 is a schematic view of the break connection of the arm edge
  • Figure 16 is an image of the arm and wrist edges
  • Figure 17 is a curve of an arm wrist transformed into an edge of a one-dimensional curve and a filtered or high-order polynomial fit
  • Figure 18 is a graph showing the curvature of the arm wrist and the corresponding curvature
  • Figure 19 is an image of the arm wrist edge with radial artery information
  • Figure 20 is a segmented radial artery image
  • Figure 21 is a ordinate ordinate averaging and straight line fitting curve of the radial artery
  • Fig. 22 is a coordinate display diagram of the radial artery.
  • the invention discloses an edge detection method of an arbitrary angle, which is obtained by acquiring gray values of an image to be detected, and then scanning the image by using pixel lines of different angles to respectively extract grays of pixels corresponding to the plurality of pixel lines.
  • the degree value is stored as a matrix, and the obtained matrix is convoluted with the first derivative f ⁇ (x) of the Gaussian function, and the absolute value of the convolution operation result is taken, and the local maximum is taken for the absolute value.
  • the obtained local maximum value position is given a non-zero gray value, and the gray value of the other pixel position is set to 0, thereby obtaining a local pole Intermittent points or connections for large points.
  • Those skilled in the art can perform interpolation or fitting based on these points or lines to obtain continuous line segments, and can also superimpose the results obtained by multiple pixel lines of different angles, and then binarize to obtain desired edges, and can also be based on further Connect the domain operations to find a continuous edge line of a single value.
  • the edge detection method of any angle of the present invention includes the following steps:
  • the gray value of the selected part of the above two-dimensional pixel points is extracted by the following rule:
  • Number of cycles r ⁇ compact number i ⁇ (number of pixels per line k-1) + number of pixels per line k ⁇ number of cycles r ⁇ loose times j + number of pixels per line k number of columns n;
  • the thus obtained line segment which is obtained from the pixel at the upper leftmost corner of the image to be detected and which is bent at the lowermost row of the image to be detected is referred to as a "pixel line".
  • the gray value of the pixel points covered by the straight line of the corresponding pixel is extracted by setting different k values each time by different extraction angles (also referred to as edge detection angles).
  • Convolution operation is performed on a plurality of pixel lines stored in a matrix form and a first derivative f ⁇ (x) of a Gaussian function, and the absolute value of the convolution operation result is taken, and the absolute value is taken as a local maximum Value;
  • the first derivative f ⁇ (x) of the Gaussian function is Where ⁇ is a constant, the value ranges from 1 to 10;
  • the gray value matrix, h n, ⁇ ( ⁇ ) represents the result of the convolution operation.
  • the obtained local maximum value position is assigned to a non-zero gray value, and the gray value of the other pixel positions is set to zero.
  • the non-zero gradation value is, for example, 255/the number of edge detection angles.
  • a plurality of gray value matrices obtained by different edge detection angles may be grayscale superimposed in an image display form, and a binarization threshold is set according to an actual required edge image requirement for the gray scale of the image after multiple superpositions, according to the The binarization threshold binarizes the image to obtain the desired edge.
  • the specific calculation method is shown in Figs. 8 and 9, for example, but Figures 8 and 9 are only schematic and are not intended to limit the present invention.
  • different edge detection angles can be selected, for example, from 4 to 8. As shown in Figures 10 to 14, it has been experimentally verified that the best effect is obtained when different edge detection angles are selected from 4 to 8.
  • the step of extracting the gray value of the selected part of the two-dimensional pixel by using the above rule is based on the following principle:
  • the present invention defines two extraction modes, referred to as compact connections and loose connections, respectively:
  • the compact connection means that the first extraction position of the next row of pixels is at the same position as the last extraction position of the pixel of the previous row, and the extracted gray value is represented by the matrix Q ⁇ 2L as follows:
  • the loose connection means that the first extraction position of the pixel of the next row is located one bit to the right of the last extraction position of the pixel of the previous row, that is, the position of one plus, and the gray value extracted by the matrix is Q.
  • ⁇ 2L is expressed as follows:
  • the above-mentioned compact connection and loose connection can be mixed according to a certain rule, for example, i times compact connection, j times loose connection, and then repeated r times.
  • the above i, j, and r are all positive integers not larger than the number of rows m.
  • the different extraction angles (edge detection angles) direction in the numerical setting, are represented by the number of pixels extracted in each row, the number of rows, the number of repetitions of the compact connection and the loose connection, etc., which can be set by These parameters are used to determine the specific extraction angle with.
  • the adjacent pixel point relationship of the image is divided into a compact connection and a loose connection.
  • the compact connection is as shown in FIG. 4: starting from the pixel in the leftmost column of the image, and the pixel of the adjacent row.
  • the first and last pixels are vertically connected, and each two lines form a compact connection unit.
  • several compact connecting units are connected in a line up to the image boundary, and the angle between this line and its y-axis projection is the edge detection angle.
  • Its matrix Q ⁇ 2L is expressed as:
  • the loose connection is shown in Figure 5: starting from the top left corner of the image, starting with the pixels of the leftmost column and the top row, the pixels of the adjacent rows are connected diagonally to the first and last pixels, and each two rows form a loose connection unit.
  • a plurality of loose connecting units are connected in a line up to the image boundary, and the angle between the line and its y-axis projection is the edge detecting direction.
  • Its matrix Q ⁇ 2R is expressed as:
  • the edge detection angle composed of a two-pixel compact connection unit Is the left boundary of the angular interval of the segment.
  • Edge detection angle composed of two-pixel loose connection unit Is the right border of the angular interval of the segment. Therefore, the angle interval is ( ⁇ 2L , ⁇ 2R ).
  • the union of the detected angle interval boundaries is ( ⁇ 1 , ⁇ 2 ) ⁇ ( ⁇ 3 , ⁇ 4 ) ⁇ ... ⁇ ( ⁇ n-1 , ⁇ n ); the range of the union is (45°, 90°) ).
  • the arbitrary angles in the interval are composed as follows:
  • i compact connections and j loose connections constitute one unit repeated r times, and the relationship between the number of rows m and the number of columns n and i, j and r is:
  • each boundary condition also conforms to the above formula.
  • the pixels in the image can be combined according to the required angle, and the image is complement-zero amplified for the part of the algorithm that realizes the boundary beyond the image, as shown in FIG. 7 .
  • the left side boundary is used as the starting point to generate a number of pixel lines X' 1 , X′ 2 ... X′ m , and the upper side boundary is the starting point.
  • Y' 1 ... Y' m-1 where m is a row and k is the number of connected pixels.
  • Each pixel line is convoluted with the first derivative f ⁇ (t) of the Gaussian function, and the absolute value of the convolution operation is obtained:
  • the edge detection angle is reduced from [0°, 360°] to [0°, 180°] by convolving and constructing absolute values of the constructed pixel lines. Therefore, it is only necessary to process the image in the interval of the edge detection angle [0°, 180°].
  • the 90° direction is a vertically segmented image, and each column of pixels constitutes a pixel line. Therefore, the detection angle range [45°, 90°] can be achieved.
  • the angle range [45°, 90°] can be mapped to [0°, 45°], [90°, 135°] and [135°, 180°] by transposing and flipping the image matrix.
  • the specific method is as follows:
  • the image matrix is flipped horizontally, and the edge detection angle interval is mapped from [45°, 90°] to [90°, 135°]. After the image matrix is transposed, the edge detection angle interval is mapped from [45°, 90°] to [135°, 180°]. After the image matrix is horizontally flipped and transposed, the edge detection angle interval is mapped from [45°, 90°] to [0°, 45°]. Based on the above method, the edge detection of the [0°, 360°] angle interval can be realized only by applying the [45°, 90°] edge detection angle.
  • the edge recognition method of any angle of the present invention can be applied to the pulse recognition, and the pulse recognition method includes, for example, the following steps:
  • Pre-treatment of the edges of the arms and wrists to further optimize the edges of the arms and wrists to provide protection for subsequent wrist veins This step specifically includes identifying the maximum connected domain of the arm edge, the arm edge breakpoint connection, and the arm wrist curve fitting as follows:
  • Identify the maximum connected domain of the arm edge identify the connected domain of the generated edge image, and find the largest connected domain of the right edge of the image. If the maximum connected domain runs through the left and right borders of the image, that is, there is no breakpoint in the connected domain, the maximum connected domain can be considered as the edge of the arm wrist.
  • Arm edge breakpoint connection Connect the arm edge segments to form an integral edge of the arm wrist that runs through the left and right borders of the image.
  • the maximum connected domain is only a part of the edge of the arm's wrist, so the other arm wrist edge segments need to be connected.
  • the edge segment is found in the range of 2 pixels in the upper, upper left, left, lower left, and lower directions from the left breakpoint of the largest connected domain.
  • the two connected domains are connected, and the intermediate breakpoint pixels complement the pixels between the two segments by interpolation or other fitting, eventually forming a new connected domain and
  • the breakpoint on the left side of the connected domain is the origin and further search for other edge segments until reaching the left edge of the image.
  • Curve fitting of the arm wrist Eliminate the step point generated in the process of turning the edge of the two-dimensional image into a one-dimensional curve, so that the one-dimensional arm edge curve of the transformation is smoother, and the edge feature of the arm wrist is highlighted.
  • Identifying the sacral stalk algorithm is used to identify the sacral stalk feature points: firstly extract the feature of the extracted arm wrist edge, identify the depression between the hand and the sacral stem, and find the lowest point of the depression.
  • the curvature of the humeral stem at the top of the epidermis is characterized by the fact that the wrist is sunken to the arm with a maximum curvature point, that is, the point where the boundary changes to a greater extent.
  • Radial artery image segmentation and vein recognition are used to segment the radial artery image and fit into a linear function that reflects the trend of the radial artery.
  • the specific steps include:
  • the pulse recognition method comprises the following steps:
  • Edge recognition creates continuous or interrupted points and/or lines at the edge of the arm's wrist.
  • the arm edge is then pre-treated to further optimize the edge of the arm wrist to provide protection for subsequent wrist pulse recognition.
  • the pre-processing process includes identifying the largest connected domain of the arm edge, the breakpoint connection of the arm edge, and the curve fitting of the arm wrist.
  • Identify the maximum connected domain of the arm edge identify the connected domain of the generated edge image and find the largest connected domain on the right edge of the image. If the maximum connected domain runs through the left and right borders of the image, that is, there is no breakpoint in the connected domain, the maximum connected domain can be considered as the edge of the arm wrist.
  • the arm edge breakpoint connection includes the steps of joining the arm edge segments to form an integral edge of the arm wrist that runs through the left and right borders of the image.
  • the maximum connected domain is only a part of the edge of the arm's wrist, so the other arm wrist edge segments need to be connected.
  • the edge segment is found in the range of 2 pixels in the upper, upper left, left, lower left, and lower directions from the left breakpoint of the largest connected domain.
  • the two connected domains are connected, and the intermediate breakpoint pixels complement the pixels between the two segments by interpolation or other fitting, eventually forming a new connected domain and
  • the breakpoint on the left side of the connected domain is the origin and further search for other edge segments until reaching the left edge of the image.
  • the wrist wrist curve fitting includes the following steps: using a low-pass filter or a polynomial curve fitting to eliminate the step point generated in the process of converting the edge of the two-dimensional image into a one-dimensional curve, so that The converted one-dimensional arm edge curve is smoother, highlighting the edge features of the arm wrist.
  • the sacral stem algorithm is used to identify the characteristic points of the sacral stem. As shown in Fig. 18, the extracted wrist arm edge is first extracted, and the depression between the hand and the sacral stem is identified to find the lowest point of the depression.
  • the curvature of the humeral stem at the top of the epidermis is characterized by the fact that the wrist is sunken to the arm with a maximum curvature point, that is, the point where the boundary changes to a greater extent.
  • Second look for peaks and valleys from the maximum curvature curve near the depression.
  • Radial artery image segmentation and pulse recognition An area is constructed with each pixel in the previously generated edge image (Fig. 19) as the origin.
  • the threshold of the mean and the variance is set according to the statistical rule of the mean and variance of the region of the radial artery boundary position. Calculate the mean and variance of the pixels in each edge pixel area.
  • the mean and variance of the pixels in each of the generated edge pixel regions are successively compared with the threshold, and the region meeting the threshold condition is binarized (Fig. 20). Instigation of binarization
  • the pulse image is averaged on the ordinate of the pixel to obtain a curve describing the radial artery image.
  • a quadratic polynomial straight line fitting is performed on the curve to obtain a linear function including the trend of the radial artery (Fig. 21), and the x-coordinate of the pulse is substituted into the linear function to obtain the ordinate of the pulse.
  • the position of the pulse in the image can be determined, as shown in Figure 22.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

An edge detection method using an arbitrary angle comprises: determining a boundary of an edge detection angle range; determining an arbitrary angle in an edge detection angle range; performing a convolution operation on each of a number of constructed straight pixel lines and a first derivative of a Gaussian function, obtaining an absolute value of a convolution operation result, and obtaining a local greatest value of the absolute value; assigning a gray value to the obtained local greatest value, and setting a gray scale of other non-local greatest values as 0; replacing original image pixels with image pixels having the gray values; and performing superposition of the gray scale on a number of images obtained by means of different edge detection angles, setting, according to requirements on an actually required edge image, a binarization threshold for the gray scale of an image resulting from multiple times of superimposition, and performing, according to the threshold, binarization on the image, so as to obtain a desired edge. The method provides an algorithm for edge detection performed by using an arbitrary angle and reduces complexity of an image edge detection algorithm.

Description

任意角度的边缘检测方法Edge detection method at any angle 技术领域Technical field
本发明涉及一种图像处理方法,特别是关于一种任意角度的边缘检测方法。The present invention relates to an image processing method, and more particularly to an edge detection method at an arbitrary angle.
背景技术Background technique
图像带给人类一个形象的思维世界,是人类认识世界的重要途径。存在于图像中的突变和不连续不平稳的结构我们称之为边缘。边缘往往携带着丰富的图像信息。这些边缘点构成了物体轮廓,而这些轮廓常是研究者感兴趣的地方,它集中体现研究目标的特征,对后续的图像分割、图像匹配、目标识别、计算机视觉有极为重要的铺垫作用,所以如何把轮廓不清晰的图像转换为清晰的边缘图像成为多年来人们一直深入研究的方向。在几十年的研究中,人们不断引入数学方法对图像边缘进行提取和解释。由最初的基于梯度原理的Prewitt算子、Sobel算子等到LoG算子和Canny算子,小波变换再到机器学习,体现了边缘检测问题的深度与难度。Image brings humanity an image of the world of thinking and is an important way for human beings to understand the world. The mutations that exist in the image and the discontinuous and unstable structures are called edges. The edges often carry a wealth of image information. These edge points constitute the contour of the object, and these contours are often of interest to the researcher. They focus on the characteristics of the research target, and are extremely important for subsequent image segmentation, image matching, target recognition, and computer vision. How to convert images with unclear outlines into clear edge images has become the direction that people have been studying intensively for many years. In decades of research, people have been introducing mathematical methods to extract and interpret image edges. From the original gradient-based Prewitt operator, Sobel operator, etc. to LoG operator and Canny operator, wavelet transform to machine learning, the depth and difficulty of edge detection problem are reflected.
基于梯度原理的多角度边缘检测算法方法采用N*N的梯度模板对二维图像进行卷积。由于模板一般为正方形,且其尺寸最大为5像素*5像素,所以模板能生成的梯度方向最多为16个,即0°、30°、45°、60°、90°、120°、135°、150°、180°、210°、225°、240°、270°、300°、315°和330°方向。经典的二维小波变换模极大值边缘检测方法只能在沿x方向和y方向求梯度后再根据幅角归类进行非极大值抑制。因此利用现有角度边缘检测方法对图像边缘进行任意角度边缘检测基本依靠旋转图像和旋转坐标的方式实现。然而旋转图像和旋转坐标时都会对图像进行插值运算,造成图像灰度信息的改变,因此在旋转图像和旋转坐标后对图像的边缘进行识别是无法保证图像边缘的准确性,而且在进行边缘识别后还需要根据旋转的角度将边缘图像旋转回原位置,这样又一次造成边缘图像信息的改变。另外,旋转图像和旋转坐标会引起图像尺寸的改变并且产生图像边界问题,这些问题都会增加图像处理难度。 The multi-angle edge detection algorithm based on the gradient principle uses a N*N gradient template to convolve the two-dimensional image. Since the template is generally square and its size is up to 5 pixels * 5 pixels, the template can generate a gradient direction of up to 16, ie 0 °, 30 °, 45 °, 60 °, 90 °, 120 °, 135 ° , 150°, 180°, 210°, 225°, 240°, 270°, 300°, 315°, and 330° directions. The classical two-dimensional wavelet transform modulus maximum edge detection method can only perform non-maximum value suppression according to the angle classification after finding the gradient along the x direction and the y direction. Therefore, using the existing angle edge detection method to perform arbitrary angle edge detection on the image edge basically relies on rotating image and rotating coordinates. However, when the image is rotated and the coordinates are rotated, the image is interpolated, which causes the image gray information to change. Therefore, the edge of the image is recognized after rotating the image and rotating the coordinates, and the edge of the image cannot be guaranteed. It is also necessary to rotate the edge image back to the original position according to the angle of rotation, which again causes the edge image information to change. In addition, rotating images and rotating coordinates can cause image size changes and image boundary problems that can increase image processing difficulty.
发明内容Summary of the invention
本发明提供了一种能够在不改变图像信息的前提下实现单像素任意角度边缘检测方法。The present invention provides a method for realizing a single pixel arbitrary angle edge detection without changing image information.
具体地,本发明提供了一种任意角度的边缘检测方法,包括以下步骤:Specifically, the present invention provides an edge detection method at any angle, including the following steps:
获取待检测图像的所有二维像素点的灰度值,所述待检测图像的大小为n×m,其中m、n均为正整数;Obtaining a gray value of all the two-dimensional pixel points of the image to be detected, where the size of the image to be detected is n×m, where m and n are positive integers;
采用如下规则提取上述二维像素点中选中部分的像素点的灰度值:The gray value of the selected part of the above two-dimensional pixel points is extracted by the following rule:
(a)从所述待检测图像的最左上角的像素开始,连续选取k个像素;其中k选自正整数;(a) starting from the top leftmost pixel of the image to be detected, continuously selecting k pixels; wherein k is selected from a positive integer;
(b)依次对每一行均连续选取k个像素,只是每一行的起始位置均为上一行连续k个像素的结束位置,即依照紧凑连接模式选取;或者为上一行连续k个像素的结束位置加一,即依照宽松连接模式选取;(b) successively select k pixels for each row, except that the starting position of each row is the end position of consecutive k pixels in the previous row, that is, according to the compact connection mode; or the end of consecutive k pixels in the previous row Add one position, that is, select according to the loose connection mode;
(c)从第二行开始选取时先遵照i次紧凑连接模式选取,再遵照j次宽松连接模式选取,如此循环r次,即到达所述待检测图像最底部的最下一行;其中,i、j、r均选自正整数,且用户能够通过设定i、j、r、k来实现任意提取角度的边缘检测;(c) When selecting from the second line, first select according to the i-th compact connection mode, and then select according to the j-time loose connection mode, so that the loop is r times, that is, the bottom line of the bottom of the image to be detected is reached; wherein, i , j, r are all selected from positive integers, and the user can implement edge detection of any extraction angle by setting i, j, r, k;
将按上述方法提取的、存储成矩阵形式的若干灰度值矩阵与高斯函数的一阶导数fσ(x)作卷积运算,再对卷积运算结果取绝对值,并对绝对值取局部极大值;Convolution operation is performed on the matrix of several gray values stored in a matrix form and the first derivative f σ (x) of the Gaussian function, and then the absolute value of the convolution operation is taken, and the absolute value is taken locally. maximum;
在对应待检测图像的所有二维像素点的矩阵中,将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0。In the matrix corresponding to all the two-dimensional pixel points of the image to be detected, the obtained local maximum value position is assigned to a non-zero gray value, and the gray value of the other pixel positions is set to zero.
其中,所述高斯函数的一阶导数fσ(x)为
Figure PCTCN2017112917-appb-000001
其中σ为常数,取值范围为1~10。
Wherein the first derivative f σ (x) of the Gaussian function is
Figure PCTCN2017112917-appb-000001
Where σ is a constant, and the value ranges from 1 to 10.
其中,所述不为零的灰度值为255/边缘检测角度的个数。Wherein, the non-zero gray value is 255/the number of edge detection angles.
其中,在将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0的步骤之后,还包括将得到的灰度值矩阵表示的像素替换掉原图像上对应像素的步骤。Wherein, after the step of assigning the obtained local maximum value to a non-zero gray value and the gray value of the other pixel position to 0, the method further comprises: replacing the pixel represented by the obtained gray value matrix with the original The step of corresponding pixels on the image.
其中,用户进行4~8次独立的i、j、r、k的设定来实现4~8次不同 提取角度的边缘检测。Among them, the user performs 4 to 8 independent i, j, r, and k settings to achieve 4 to 8 different times. Extract the edge detection of the angle.
其中,将不同边缘检测角度得到的若干灰度值矩阵以图像显示形式进行灰度叠加,对多次叠加后图像的灰度根据实际所需边缘图像要求而设二值化阈值,根据该二值化阈值对图像进行二值化处理,得到所需边缘。Wherein, a plurality of gray value matrices obtained by different edge detection angles are superimposed in an image display form, and a gray level threshold is set according to an actual required edge image requirement for the gray level of the plurality of superimposed images, according to the binary value The threshold is binarized to obtain the desired edge.
其中,得到的所需边缘为单像素宽边缘。Among them, the desired edge obtained is a single pixel wide edge.
基于上述技术方案可知,本发明的关脉识别方法相对于现有技术具有如下有益效果:Based on the above technical solutions, the pulse recognition method of the present invention has the following beneficial effects as compared with the prior art:
1、本发明提供了一种可以在[0°,360°]范围内实现任意角度边缘检测的算法;1. The present invention provides an algorithm that can achieve edge detection at any angle in the range of [0°, 360°];
2、本发明利用只需应用[45°,90°]边缘检测角度即可实现[0°,360°]角度区间的边缘检测,降低图像边缘检测算法复杂度;2. The invention can realize the edge detection of the [0°, 360°] angle interval by applying only the [45°, 90°] edge detection angle, and reduce the complexity of the image edge detection algorithm;
3、本发明首次揭示了任意角度边缘检测算子构建公式;3. The present invention discloses for the first time a formula for constructing an arbitrary angle edge detection operator;
4、本发明边缘检测角度构建方法比现有的基于角度的经典算子更具有可实现性;4. The edge detection angle construction method of the present invention is more achievable than the existing angle-based classical operator;
5、本算法将二维图像边缘识别问题转化为一维曲线信号处理问题,降低了算法复杂度;5. The algorithm transforms the two-dimensional image edge recognition problem into one-dimensional curve signal processing problem, which reduces the complexity of the algorithm;
6、本算法生成的边缘为单像素宽边缘。6. The edge generated by this algorithm is a single pixel wide edge.
附图说明DRAWINGS
图1是图像k个相邻像素的紧凑连接的示意图;Figure 1 is a schematic illustration of a compact connection of k adjacent pixels of an image;
图2是图像k个相邻像素的宽松连接的示意图;2 is a schematic diagram of a loose connection of k adjacent pixels of an image;
图3是图像边缘检测k个相邻像素的任意角度组成形式的示意图;3 is a schematic diagram of an image edge detecting an arbitrary angle composition form of k adjacent pixels;
图4是图像2个相邻像素的紧凑连接的示意图;Figure 4 is a schematic illustration of a compact connection of two adjacent pixels of an image;
图5是图像2个相邻像素的宽松连接的示意图;Figure 5 is a schematic illustration of a loose connection of two adjacent pixels of an image;
图6是图像边缘检测2个相邻像素的任意角度组成形式的示意图;6 is a schematic diagram showing an arbitrary angle composition form of two adjacent pixels of an image edge detection;
图7是超出图像边界的部分对图像进行补0扩增的示意图;Figure 7 is a schematic diagram of a portion of the image beyond the boundary of the image to complement the 0 amplification;
图8是多个不同检测角度进行叠加的关系算式;Figure 8 is a relational expression for superimposing a plurality of different detection angles;
图9是多个不同检测角度进行叠加的示意图;Figure 9 is a schematic diagram of superimposing a plurality of different detection angles;
图10是角度优化及多个角度叠加的原图和对比图;Figure 10 is an original view and a comparison chart of angle optimization and multiple angle superposition;
图11~14分别是检测圆、圆及字母、圆、圆及字母的角度叠加数量、连通域与像素数P之间的关系折线; 11 to 14 are the relationship between the number of angles of the circle, the circle and the letters, the circle, the circle and the letter, and the relationship between the connected domain and the number of pixels P;
图15是手臂边缘断点连接示意图;Figure 15 is a schematic view of the break connection of the arm edge;
图16是手臂和腕部边缘图像;Figure 16 is an image of the arm and wrist edges;
图17是转化为一维曲线的边缘和经过滤波或高阶多项式拟合过的手臂腕部曲线;Figure 17 is a curve of an arm wrist transformed into an edge of a one-dimensional curve and a filtered or high-order polynomial fit;
图18是手臂腕部边缘与对应的曲率曲线图;Figure 18 is a graph showing the curvature of the arm wrist and the corresponding curvature;
图19是带有桡动脉信息的手臂腕部边缘图像;Figure 19 is an image of the arm wrist edge with radial artery information;
图20是分割出的桡动脉图像;Figure 20 is a segmented radial artery image;
图21是桡动脉像素纵坐标平均化和直线拟合曲线;Figure 21 is a ordinate ordinate averaging and straight line fitting curve of the radial artery;
图22是桡动脉的坐标显示图。Fig. 22 is a coordinate display diagram of the radial artery.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。The present invention will be further described in detail below with reference to the specific embodiments of the invention,
本发明公开了一种任意角度的边缘检测方法,其是通过获取待检测图像的灰度值,然后用若干不同角度的像素线扫过上述图像,分别提取上述若干像素线对应的像素点的灰度值,并将其存储为矩阵,将得到的矩阵分别与高斯函数的一阶导数fσ(x)作卷积运算,再对卷积运算结果取绝对值,并对绝对值取局部极大值;在对应待检测图像的所有二维像素点的矩阵中,将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0,从而得到局部极大值点的断续点或连线。本领域技术人员可以基于这些点或连线进行插值或拟合得到连续线段,也可以根据多次不同角度的像素线得到的结果进行叠加,再二值化得到所需边缘,还可以基于进一步的连通域运算来求取单一值的连续边缘线。The invention discloses an edge detection method of an arbitrary angle, which is obtained by acquiring gray values of an image to be detected, and then scanning the image by using pixel lines of different angles to respectively extract grays of pixels corresponding to the plurality of pixel lines. The degree value is stored as a matrix, and the obtained matrix is convoluted with the first derivative f σ (x) of the Gaussian function, and the absolute value of the convolution operation result is taken, and the local maximum is taken for the absolute value. a value; in the matrix corresponding to all the two-dimensional pixel points of the image to be detected, the obtained local maximum value position is given a non-zero gray value, and the gray value of the other pixel position is set to 0, thereby obtaining a local pole Intermittent points or connections for large points. Those skilled in the art can perform interpolation or fitting based on these points or lines to obtain continuous line segments, and can also superimpose the results obtained by multiple pixel lines of different angles, and then binarize to obtain desired edges, and can also be based on further Connect the domain operations to find a continuous edge line of a single value.
具体地,本发明的任意角度的边缘检测方法,包括以下步骤:Specifically, the edge detection method of any angle of the present invention includes the following steps:
获取待检测图像的所有二维像素点的灰度值,所述待检测图像的大小为n×m,其中m、n均为正整数;Obtaining a gray value of all the two-dimensional pixel points of the image to be detected, where the size of the image to be detected is n×m, where m and n are positive integers;
采用如下规则提取上述二维像素点中选中部分的像素点的灰度值:The gray value of the selected part of the above two-dimensional pixel points is extracted by the following rule:
(a)从所述待检测图像的最左上角的像素开始,连续选取k个像素;其中k为大于等于1的正整数;(a) starting from the top leftmost pixel of the image to be detected, continuously selecting k pixels; wherein k is a positive integer greater than or equal to 1;
(b)依次对每一行均连续选取k个像素,只是每一行的起始位置 均为上一行连续k个像素的结束位置,即依照紧凑连接模式选取;或者为上一行连续k个像素的结束位置加一,即依照宽松连接模式选取;(b) successively select k pixels for each row, just the starting position of each row It is the end position of consecutive k pixels in the previous row, that is, according to the compact connection mode; or the end position of consecutive k pixels in the previous row is added, that is, according to the loose connection mode;
(c)选取时先遵照i次紧凑连接模式选取,再遵照j次宽松连接模式选取,如此循环r次,即到达所述待检测图像最底部的最下一行;其中,i、j、r均为正整数;根据上述设定可以得到如下公式:(c) Selecting according to the i-th compact connection mode, and then selecting according to j times of loose connection mode, so that the cycle is r times, that is, the bottom line of the bottom of the image to be detected is reached; wherein i, j, r are both It is a positive integer; according to the above settings, the following formula can be obtained:
循环次数r×(紧凑次数i+宽松次数j)+1=行数m;Number of cycles r × (compact times i + loose times j) +1 = number of lines m;
循环次数r×紧凑次数i×(每行像素个数k-1)+每行像素个数k×循环次数r×宽松次数j+每行像素个数k=列数n;Number of cycles r × compact number i × (number of pixels per line k-1) + number of pixels per line k × number of cycles r × loose times j + number of pixels per line k = number of columns n;
将由此得到的从待检测图像最左上角的像素开始到待检测图像最下端一行的多次弯折的线段称之为“像素直线”。每次即可通过设置不同的k值来实现以不同的提取角度(亦称之为边缘检测角度)来提取对应像素直线覆盖的像素点的灰度值。The thus obtained line segment which is obtained from the pixel at the upper leftmost corner of the image to be detected and which is bent at the lowermost row of the image to be detected is referred to as a "pixel line". The gray value of the pixel points covered by the straight line of the corresponding pixel is extracted by setting different k values each time by different extraction angles (also referred to as edge detection angles).
将按上述方法提取的、存储成矩阵形式的若干像素直线与高斯函数的一阶导数fσ(x)作卷积运算,再对卷积运算结果取绝对值,并对绝对值取局部极大值;该高斯函数的一阶导数fσ(x)为
Figure PCTCN2017112917-appb-000002
其中σ为常数,取值范围为1~10;卷积运算公式表示为hn,σ(θ)=gn(θ)*fσ(x),其中gn(θ)表示依据像素直线提取的灰度值矩阵,hn,σ(θ)表示卷积运算结果。
Convolution operation is performed on a plurality of pixel lines stored in a matrix form and a first derivative f σ (x) of a Gaussian function, and the absolute value of the convolution operation result is taken, and the absolute value is taken as a local maximum Value; the first derivative fσ(x) of the Gaussian function is
Figure PCTCN2017112917-appb-000002
Where σ is a constant, the value ranges from 1 to 10; the convolution operation formula is expressed as h n, σ (θ)=g n (θ)*f σ (x), where g n (θ) represents the line extraction according to the pixel The gray value matrix, h n, σ (θ) represents the result of the convolution operation.
在对应待检测图像的所有二维像素点的矩阵中,将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0。作为优选,该不为零的灰度值例如为255/边缘检测角度的个数。In the matrix corresponding to all the two-dimensional pixel points of the image to be detected, the obtained local maximum value position is assigned to a non-zero gray value, and the gray value of the other pixel positions is set to zero. Preferably, the non-zero gradation value is, for example, 255/the number of edge detection angles.
作为优选,可以将不同边缘检测角度得到的若干灰度值矩阵以图像显示形式进行灰度叠加,对多次叠加后图像的灰度根据实际所需边缘图像要求而设二值化阈值,根据该二值化阈值对图像进行二值化处理,得到所需边缘。其具体计算方式例如参见图8、9所示,但图8、9只是示意性的,并不用于限制本发明。 Preferably, a plurality of gray value matrices obtained by different edge detection angles may be grayscale superimposed in an image display form, and a binarization threshold is set according to an actual required edge image requirement for the gray scale of the image after multiple superpositions, according to the The binarization threshold binarizes the image to obtain the desired edge. The specific calculation method is shown in Figs. 8 and 9, for example, but Figures 8 and 9 are only schematic and are not intended to limit the present invention.
作为优选,不同的边缘检测角度例如可以选取4~8个。如图10~14所示,经试验验证当不同的边缘检测角度选取4~8时效果最佳。Preferably, different edge detection angles can be selected, for example, from 4 to 8. As shown in Figures 10 to 14, it has been experimentally verified that the best effect is obtained when different edge detection angles are selected from 4 to 8.
其中,采用上述规则提取二维像素点中选中部分的像素点的灰度值的步骤依据的原理是:The step of extracting the gray value of the selected part of the two-dimensional pixel by using the above rule is based on the following principle:
本发明定义了两种提取模式,分别称之为紧凑连接和宽松连接,其中:The present invention defines two extraction modes, referred to as compact connections and loose connections, respectively:
如图1所示,紧凑连接是指下一行像素的首个提取位置位于与上一行像素的最后一个提取位置相同的位置,由此提取的灰度值用矩阵Qθ2L表示如下:As shown in FIG. 1, the compact connection means that the first extraction position of the next row of pixels is at the same position as the last extraction position of the pixel of the previous row, and the extracted gray value is represented by the matrix Q θ2L as follows:
Figure PCTCN2017112917-appb-000003
Figure PCTCN2017112917-appb-000003
如图2所示,宽松连接是指下一行像素的首个提取位置位于与上一行像素的最后一个提取位置右边一位的位置,即加一的位置,由此提取的灰度值用矩阵Qθ2L表示如下:As shown in FIG. 2, the loose connection means that the first extraction position of the pixel of the next row is located one bit to the right of the last extraction position of the pixel of the previous row, that is, the position of one plus, and the gray value extracted by the matrix is Q. θ2L is expressed as follows:
Figure PCTCN2017112917-appb-000004
Figure PCTCN2017112917-appb-000004
如图3所示,上述紧凑连接和宽松连接可以遵照一定的规律进行混排,例如i次紧凑连接,j次宽松连接,然后这样重复r次。上述i、j、r均为不大于行数m的正整数。As shown in FIG. 3, the above-mentioned compact connection and loose connection can be mixed according to a certain rule, for example, i times compact connection, j times loose connection, and then repeated r times. The above i, j, and r are all positive integers not larger than the number of rows m.
本发明中不同的提取角度(边缘检测角度)方向,在数值设定上即表现为每一行提取的像素个数、行数、紧凑连接与宽松连接的重复次数等共同作用因子,可以通过设定这些参数来最终确定具体的提取角度方 同。In the present invention, the different extraction angles (edge detection angles) direction, in the numerical setting, are represented by the number of pixels extracted in each row, the number of rows, the number of repetitions of the compact connection and the loose connection, etc., which can be set by These parameters are used to determine the specific extraction angle with.
例如:对于紧凑连接,每一行提取两个像素(k=2),一直重复到待检测图像最下面一行(i=1,j=0,r=m-1),则其提取角度方向,即边缘检测角度
Figure PCTCN2017112917-appb-000005
即45°。
For example, for a compact connection, each row extracts two pixels (k=2) and repeats until the bottom row of the image to be detected (i=1, j=0, r=m-1), then it extracts the angular direction, ie Edge detection angle
Figure PCTCN2017112917-appb-000005
That is 45°.
再例如,对于一宽松连接一紧凑连接的交错排列(i=1,j=1),每一行提取两个像素(k=2),一直重复到待检测图像最下面一行(r=(m-1)/2),则其提取角度方向,即边缘检测角度
Figure PCTCN2017112917-appb-000006
即59°,近似为60°。
For another example, for a loose connection and a staggered arrangement of compact connections (i=1, j=1), two pixels (k=2) are extracted for each line, and are repeated until the bottom line of the image to be detected (r=(m- 1) / 2), then extract the angular direction, that is, the edge detection angle
Figure PCTCN2017112917-appb-000006
That is, 59°, which is approximately 60°.
本发明的边缘检测方法适应任意角度的检测的推导过程如下,其中每行的连续提取像素的个数k=2。The derivation process of the edge detection method of the present invention adapted to the detection of an arbitrary angle is as follows, wherein the number of consecutive extracted pixels per line is k=2.
(1)构建边缘检测角度区间边界(1) Construct an edge detection angle interval boundary
将图像的相邻像素点关系分为紧凑连接和宽松连接,以每行两个像素为例,紧凑连接如图4所示:从图像最左侧列的像素为起点,相邻行的像素点首尾像素垂直相连,每两行组成一个紧凑连接单元。根据这种方式若干紧凑连接单元连接成一条线直到图像边界,这条直线与它的y轴方向投影的夹角就是边缘检测角度。其矩阵Qθ2L表示方式为:The adjacent pixel point relationship of the image is divided into a compact connection and a loose connection. Taking two pixels per line as an example, the compact connection is as shown in FIG. 4: starting from the pixel in the leftmost column of the image, and the pixel of the adjacent row. The first and last pixels are vertically connected, and each two lines form a compact connection unit. In this way, several compact connecting units are connected in a line up to the image boundary, and the angle between this line and its y-axis projection is the edge detection angle. Its matrix Q θ2L is expressed as:
Figure PCTCN2017112917-appb-000007
Figure PCTCN2017112917-appb-000007
其边缘检测角度
Figure PCTCN2017112917-appb-000008
Edge detection angle
Figure PCTCN2017112917-appb-000008
宽松连接如图5所示:从图像左上角顶点起,以最左侧列和最上侧行的像素为起点,相邻行的像素点首尾像素对角相连,每两行组成一个宽松连接单元。根据这种方式若干宽松连接单元连接成一条线直到图像边界,这条直线与它的y轴方向投影的夹角就是边缘检测方向。其矩阵 Qθ2R表示方式为:The loose connection is shown in Figure 5: starting from the top left corner of the image, starting with the pixels of the leftmost column and the top row, the pixels of the adjacent rows are connected diagonally to the first and last pixels, and each two rows form a loose connection unit. According to this method, a plurality of loose connecting units are connected in a line up to the image boundary, and the angle between the line and its y-axis projection is the edge detecting direction. Its matrix Q θ2R is expressed as:
Figure PCTCN2017112917-appb-000009
Figure PCTCN2017112917-appb-000009
其边缘检测角度
Figure PCTCN2017112917-appb-000010
Edge detection angle
Figure PCTCN2017112917-appb-000010
因此两像素的紧凑连接单元组成的边缘检测角度
Figure PCTCN2017112917-appb-000011
为该段角度区间的左边界。两像素的宽松连接单元组成的边缘检测角度
Figure PCTCN2017112917-appb-000012
Figure PCTCN2017112917-appb-000013
为该段角度区间的右边界。所以该角度区间为(θ2L,θ2R)。
Therefore, the edge detection angle composed of a two-pixel compact connection unit
Figure PCTCN2017112917-appb-000011
Is the left boundary of the angular interval of the segment. Edge detection angle composed of two-pixel loose connection unit
Figure PCTCN2017112917-appb-000012
Figure PCTCN2017112917-appb-000013
Is the right border of the angular interval of the segment. Therefore, the angle interval is (θ 2L , θ 2R ).
当像素个数为k个像素时,k个像素的紧凑连接单元组成的边缘检测角度区间的左边界
Figure PCTCN2017112917-appb-000014
其中k=2,3,…。
When the number of pixels is k pixels, the left boundary of the edge detection angle interval composed of compact connecting units of k pixels
Figure PCTCN2017112917-appb-000014
Where k=2,3,...
k个像素的紧凑连接单元组成的边缘检测角度区间的右边界
Figure PCTCN2017112917-appb-000015
其中k=2,3,…。
The right edge of the edge detection angle interval consisting of a compact connecting unit of k pixels
Figure PCTCN2017112917-appb-000015
Where k=2,3,...
因此,检测角度区间边界的并集为(θ1,θ2)∪(θ3,θ4)∪…∪(θn-1,θn);该并集的范围为(45°,90°)。Therefore, the union of the detected angle interval boundaries is (θ 1 , θ 2 ) ∪ (θ 3 , θ 4 ) ∪ ... ∪ (θ n-1 , θ n ); the range of the union is (45°, 90°) ).
(2)构建边缘检测角度区间中的任意角度(2) Construct any angle in the edge detection angle interval
以两像素相连的单元为例,区间中的任意角度组成形式如下:Taking a unit connected by two pixels as an example, the arbitrary angles in the interval are composed as follows:
如图6所示,i个紧凑连接和j个宽松连接组成一个单元重复出现r次,其行数m和列数n与i、j和r关系为:As shown in Fig. 6, i compact connections and j loose connections constitute one unit repeated r times, and the relationship between the number of rows m and the number of columns n and i, j and r is:
r(i+j)+1=m;  (1)r(i+j)+1=m; (1)
ri(k-1)+krj+k=n; (2)Ri(k-1)+krj+k=n; (2)
因此每个角度区间里的边缘检测角度 Therefore the edge detection angle in each angular interval
Figure PCTCN2017112917-appb-000016
Figure PCTCN2017112917-appb-000016
另外,每个边界条件也符合上式。In addition, each boundary condition also conforms to the above formula.
所以通过上述方法能够将图像中的像素根据所需角度进行组合,对于算法实现超出图像边界的部分对图像进行补0扩增,如图7所示。Therefore, by the above method, the pixels in the image can be combined according to the required angle, and the image is complement-zero amplified for the part of the algorithm that realizes the boundary beyond the image, as shown in FIG. 7 .
(3)将按上述方法构建的若干像素直线分别与高斯函数的一阶导数fσ(t)作卷积运算,并对卷积运算结果取绝对值,并对绝对值取局部极大值;以紧凑连接生成的边缘检测上界角度为例解释若干像素直线,以左侧边界为起点生成若干像素直线为X1、X2…Xm,以上侧边界为起点生成的若干像素直线为Y1…Ym-1;其中m为行,k为连接像素个数。(3) Convolution operation of a plurality of pixel lines constructed by the above method with a first derivative f σ (t) of a Gaussian function, and taking an absolute value of the convolution operation result, and taking a local maximum value for the absolute value; upper bound angle to the edge detection compact connecting a number of pixels to explain an example of generating a straight line, as a starting point to generate the left-side boundary straight line a number of pixels X 1, X 2 ... X m , a number of pixels or more straight lateral boundary is generated starting Y 1 ...Y m-1 ; where m is the row and k is the number of connected pixels.
Figure PCTCN2017112917-appb-000017
Figure PCTCN2017112917-appb-000017
以宽松连接生成的边缘检测下界角度为例解释若干像素直线,以左侧边界为起点生成若干像素直线为X′1、X′2…X′m,以上侧边界为起点生成的若干像素直线为Y′1…Y′m-1;其中m为行,k为连接像素个数。Taking the edge detection lower boundary angle generated by the loose connection as an example to explain a number of pixel lines, the left side boundary is used as the starting point to generate a number of pixel lines X' 1 , X′ 2 ... X′ m , and the upper side boundary is the starting point. Y' 1 ... Y'm-1; where m is a row and k is the number of connected pixels.
Figure PCTCN2017112917-appb-000018
Figure PCTCN2017112917-appb-000018
每一个像素直线都分别与高斯函数的一阶导数fσ(t)作卷积运算,并 对卷积运算结果取绝对值得到:|fσ(t)*X1|,|fσ(t)*X2|,…|fσ(t)*Xm||fσ(t)*X′1|,|fσ(t)*X′2|,…|fσ(t)*X′m|和|fσ(t)*Y1|,…|fσ(t)*Ym-1||fσ(t)*Y′1|,…|fσ(t)*Y′m-1|。通过对构建的若干像素直线作卷积和取绝对值的运算,使边缘检测角度从[0°,360°]缩减到[0°,180°]。因此只需对边缘检测角度[0°,180°]的区间里对图像进行处理。Each pixel line is convoluted with the first derivative f σ (t) of the Gaussian function, and the absolute value of the convolution operation is obtained: |f σ (t)*X 1 |, |f σ (t )*X 2 |,...|f σ (t)*X m ||f σ (t)*X′ 1 |,|f σ (t)*X′ 2 |,...|f σ (t)*X ' m | and |f σ (t)*Y 1 |,...|f σ (t)*Y m-1 ||f σ (t)*Y′ 1 |,...|f σ (t)*Y′ M-1 |. The edge detection angle is reduced from [0°, 360°] to [0°, 180°] by convolving and constructing absolute values of the constructed pixel lines. Therefore, it is only necessary to process the image in the interval of the edge detection angle [0°, 180°].
(4)对得到的|fσ(t)*X1|,|fσ(t)*X2|,…|fσ(t)*Xm|和|fσ(t)*Y1|,…|fσ(t)*Ym-1|进行局部极大值运算赋灰度值,其他非局部极大值像素灰度设为0,其灰度值为(255/边缘检测角度个数)。根据像素下标将具有灰度值的图像像素替换到原图像中相同像素下标位置上;(4) For the obtained |f σ (t)*X 1 |, |f σ (t)*X 2 |,...|f σ (t)*X m | and |f σ (t)*Y 1 | ,...|f σ (t)*Y m-1 | Perform local maxima operation to assign gray value, other non-local maxima pixel grayscale is set to 0, and its gray value is (255/edge detection angle number). Substituting image pixels having gray values according to pixel subscripts to the same pixel subscript position in the original image;
(5)将不同边缘检测角度方向得到的若干图像进行灰度叠加,根据实际所需边缘图像要求对多次叠加后图像的灰度设二值化阈值,根据该二值化阈值对图像进行二值化处理。最终得到所需边缘。(5) grading the gradations of several images obtained by different edge detection angle directions, setting a binarization threshold for the gradation of the image after multiple superimposition according to the actual required edge image requirement, and performing two images according to the binarization threshold Value processing. The final edge is obtained.
上述边缘检测角度范围为(45°,90°),45°边缘检测角度就是一个像素依次连接组成的像素直线,即k=1时。90°方向就是垂直分割图像,每列像素分别组成像素直线。因此,该检测角度范围[45°,90°]可以实现。The edge detection angle range is (45°, 90°), and the 45° edge detection angle is a pixel line in which one pixel is sequentially connected, that is, when k=1. The 90° direction is a vertically segmented image, and each column of pixels constitutes a pixel line. Therefore, the detection angle range [45°, 90°] can be achieved.
通过将图像矩阵转置和翻转可以将角度范围为[45°,90°]映射到[0°,45°],[90°,135°]和[135°,180°]。具体方法如下:The angle range [45°, 90°] can be mapped to [0°, 45°], [90°, 135°] and [135°, 180°] by transposing and flipping the image matrix. The specific method is as follows:
将图像矩阵水平翻转,边缘检测角度区间为从[45°,90°]映射为[90°,135°]。将图像矩阵转置后,边缘检测角度区间为从[45°,90°]映射为[135°,180°]。将图像矩阵水平翻转和转置后边缘检测角度区间为从[45°,90°]映射为[0°,45°]。基于以上方法,实现[0°,360°]角度区间的边缘检测只需应用[45°,90°]边缘检测角度即可实现。The image matrix is flipped horizontally, and the edge detection angle interval is mapped from [45°, 90°] to [90°, 135°]. After the image matrix is transposed, the edge detection angle interval is mapped from [45°, 90°] to [135°, 180°]. After the image matrix is horizontally flipped and transposed, the edge detection angle interval is mapped from [45°, 90°] to [0°, 45°]. Based on the above method, the edge detection of the [0°, 360°] angle interval can be realized only by applying the [45°, 90°] edge detection angle.
应用application
本发明的任意角度的边缘识别方法可以应用于关脉识别中,该关脉识别方法例如包括以下步骤:The edge recognition method of any angle of the present invention can be applied to the pulse recognition, and the pulse recognition method includes, for example, the following steps:
1、对待检测的手臂和腕部的边缘进行识别,生成手臂和腕部的边缘线条。识别手臂和腕部边缘的算法即为本申请的任意角度的边缘检测算法。 1. Identify the edges of the arms and wrists to be tested to create the edge lines of the arms and wrists. The algorithm for recognizing the edges of the arms and wrists is the edge detection algorithm of any angle of the present application.
2、对手臂和腕部的边缘预处理,将手臂和腕部的边缘进一步优化,为后续腕部关脉的识别提供保障。该步骤具体包括识别手臂边缘最大连通域、手臂边缘断点连接、手臂腕部曲线拟合,如下所示:2. Pre-treatment of the edges of the arms and wrists to further optimize the edges of the arms and wrists to provide protection for subsequent wrist veins. This step specifically includes identifying the maximum connected domain of the arm edge, the arm edge breakpoint connection, and the arm wrist curve fitting as follows:
(1)识别手臂边缘最大连通域:对生成的边缘图像进行连通域识别,找出图像右侧边界最大连通域。若最大连通域贯穿图像左右两侧边界,即连通域不存在断点,该最大连通域即可认为是手臂腕部边缘。(1) Identify the maximum connected domain of the arm edge: identify the connected domain of the generated edge image, and find the largest connected domain of the right edge of the image. If the maximum connected domain runs through the left and right borders of the image, that is, there is no breakpoint in the connected domain, the maximum connected domain can be considered as the edge of the arm wrist.
(2)手臂边缘断点连接:将手臂边缘片段连接起来,形成一个贯穿图像左右边界的手臂腕部整体边缘。在边缘存在断点情况下,最大连通域只是手臂腕部边缘的一部分,因此需要将其他手臂腕部边缘片段连接起来。以最大连通域左侧断点为原点对该点上、左上、左、左下、下5个方向2个像素范围内寻找边缘片段。若在搜寻范围内存在其他连通域,则将两个连通域相连,中间断点像素通过插值或者其它拟合方式在两个片断之间补像素点,最终形成一个新的连通域,并以新的连通域左侧断点为原点进一步寻找其他边缘片段,直至到达图像左侧边界。(2) Arm edge breakpoint connection: Connect the arm edge segments to form an integral edge of the arm wrist that runs through the left and right borders of the image. In the case of a breakpoint at the edge, the maximum connected domain is only a part of the edge of the arm's wrist, so the other arm wrist edge segments need to be connected. The edge segment is found in the range of 2 pixels in the upper, upper left, left, lower left, and lower directions from the left breakpoint of the largest connected domain. If there are other connected domains in the search range, the two connected domains are connected, and the intermediate breakpoint pixels complement the pixels between the two segments by interpolation or other fitting, eventually forming a new connected domain and The breakpoint on the left side of the connected domain is the origin and further search for other edge segments until reaching the left edge of the image.
(3)手臂腕部曲线拟合:消除二维图像边缘转为一维曲线过程中产生的阶跃点,使转换的一维手臂边缘曲线更平滑,突出手臂腕部边缘特征。(3) Curve fitting of the arm wrist: Eliminate the step point generated in the process of turning the edge of the two-dimensional image into a one-dimensional curve, so that the one-dimensional arm edge curve of the transformation is smoother, and the edge feature of the arm wrist is highlighted.
3、识别桡骨突茎算法用于识别桡骨突茎特征点:首先对提取的手臂腕部边缘进行特征提取,识别手部与桡骨突茎之间的凹陷处,寻找凹陷处的最低点。桡骨突茎在表皮顶部曲率变化特点是手腕凹陷到手臂存在一个曲率最大点,即边界变化弯曲幅度较大的点。其次,寻找离凹陷处附近最大曲率曲线的峰谷。最后,在曲率曲线峰谷附近识别手臂边缘是否有峰如果有峰,该点可识别为关脉x坐标;如果没有峰,该处的曲线峰谷识别为关脉x坐标。3. Identifying the sacral stalk algorithm is used to identify the sacral stalk feature points: firstly extract the feature of the extracted arm wrist edge, identify the depression between the hand and the sacral stem, and find the lowest point of the depression. The curvature of the humeral stem at the top of the epidermis is characterized by the fact that the wrist is sunken to the arm with a maximum curvature point, that is, the point where the boundary changes to a greater extent. Second, look for peaks and valleys from the maximum curvature curve near the depression. Finally, it is recognized whether there is a peak at the arm edge near the peak of the curvature curve. If there is a peak, the point can be identified as the off-axis x coordinate; if there is no peak, the curve peak and valley at that point is identified as the off-axis x coordinate.
4、桡动脉图像分割和关脉识别用于分割桡动脉图像并拟合成能够反映桡动脉走势的直线函数,具体步骤包括:4. Radial artery image segmentation and vein recognition are used to segment the radial artery image and fit into a linear function that reflects the trend of the radial artery. The specific steps include:
(1)区域构建和阈值设置,用于为二值化桡动脉提供阈值参考。(1) Area construction and threshold settings for providing a threshold reference for the binarized brachial artery.
(2)二值化桡动脉区域,用于将桡动脉图像和其他图像分离。(2) Binaryized radial artery region for separating the radial artery image from other images.
(3)桡动脉直线拟合用于获得反映桡动脉走势的直线函数和最终的关脉坐标。(3) The radial artery straight line fitting is used to obtain a linear function reflecting the trend of the radial artery and the final Guanmai coordinates.
在一个实施方式中,该关脉识别方法包括以下步骤:In one embodiment, the pulse recognition method comprises the following steps:
首先利用本申请的上述任意角度的边缘检测方法对整个图像进行 边缘识别,生成手臂腕部边缘的连续或中断的点和/或线。First, the entire image is performed by using the above-described edge detection method of any angle of the present application. Edge recognition creates continuous or interrupted points and/or lines at the edge of the arm's wrist.
之后对手臂腕部边缘进行预处理,进一步优化手臂腕部边缘,为后续腕部关脉识别提供保障。该预处理过程包括识别手臂边缘最大连通域,手臂边缘断点连接,手臂腕部曲线拟合。The arm edge is then pre-treated to further optimize the edge of the arm wrist to provide protection for subsequent wrist pulse recognition. The pre-processing process includes identifying the largest connected domain of the arm edge, the breakpoint connection of the arm edge, and the curve fitting of the arm wrist.
1)识别手臂边缘最大连通域:对生成的边缘图像进行连通域识别,找出图像右侧边界最大连通域。若最大连通域贯穿图像左右两侧边界,即连通域不存在断点,该最大连通域即可认为是手臂腕部边缘。1) Identify the maximum connected domain of the arm edge: identify the connected domain of the generated edge image and find the largest connected domain on the right edge of the image. If the maximum connected domain runs through the left and right borders of the image, that is, there is no breakpoint in the connected domain, the maximum connected domain can be considered as the edge of the arm wrist.
2)如图15所示,手臂边缘断点连接包括以下步骤:将手臂边缘片段连接起来,形成一个贯穿图像左右边界的手臂腕部整体边缘。在边缘存在断点情况下,最大连通域只是手臂腕部边缘的一部分,因此需要将其他手臂腕部边缘片段连接起来。以最大连通域左侧断点为原点对该点上、左上、左、左下、下5个方向2个像素范围内寻找边缘片段。若在搜寻范围内存在其他连通域,则将两个连通域相连,中间断点像素通过插值或者其它拟合方式在两个片断之间补像素点,最终形成一个新的连通域,并以新的连通域左侧断点为原点进一步寻找其他边缘片段,直至到达图像左侧边界。2) As shown in Figure 15, the arm edge breakpoint connection includes the steps of joining the arm edge segments to form an integral edge of the arm wrist that runs through the left and right borders of the image. In the case of a breakpoint at the edge, the maximum connected domain is only a part of the edge of the arm's wrist, so the other arm wrist edge segments need to be connected. The edge segment is found in the range of 2 pixels in the upper, upper left, left, lower left, and lower directions from the left breakpoint of the largest connected domain. If there are other connected domains in the search range, the two connected domains are connected, and the intermediate breakpoint pixels complement the pixels between the two segments by interpolation or other fitting, eventually forming a new connected domain and The breakpoint on the left side of the connected domain is the origin and further search for other edge segments until reaching the left edge of the image.
3)如图16和图17所示,手臂腕部曲线拟合包括以下步骤:用低通滤波器或者多项式曲线拟合消除二维图像边缘转为一维曲线过程中产生的阶跃点,使转换的一维手臂边缘曲线更平滑,突出手臂腕部边缘特征。3) As shown in Fig. 16 and Fig. 17, the wrist wrist curve fitting includes the following steps: using a low-pass filter or a polynomial curve fitting to eliminate the step point generated in the process of converting the edge of the two-dimensional image into a one-dimensional curve, so that The converted one-dimensional arm edge curve is smoother, highlighting the edge features of the arm wrist.
识别桡骨突茎算法用于识别桡骨突茎特征点。如图18所示,首先对提取的手臂腕部边缘进行特征提取,识别手部与桡骨突茎之间的凹陷处,寻找凹陷处的最低点。桡骨突茎在表皮顶部曲率变化特点是手腕凹陷到手臂存在一个曲率最大点,即边界变化弯曲幅度较大的点。其次,寻找离凹陷处附近最大曲率曲线的峰谷。最后,在曲率曲线峰谷附近识别手臂边缘是否有峰如果有峰,该点可识别为关脉x坐标;如果没有峰,该处的曲线峰谷识别为关脉x坐标。The sacral stem algorithm is used to identify the characteristic points of the sacral stem. As shown in Fig. 18, the extracted wrist arm edge is first extracted, and the depression between the hand and the sacral stem is identified to find the lowest point of the depression. The curvature of the humeral stem at the top of the epidermis is characterized by the fact that the wrist is sunken to the arm with a maximum curvature point, that is, the point where the boundary changes to a greater extent. Second, look for peaks and valleys from the maximum curvature curve near the depression. Finally, it is recognized whether there is a peak at the arm edge near the peak of the curvature curve. If there is a peak, the point can be identified as the off-axis x coordinate; if there is no peak, the curve peak and valley at that point is identified as the off-axis x coordinate.
桡动脉图像分割和关脉识别。用之前生成的边缘图像(图19)中每一个像素为原点构建一个区域。根据桡动脉边界位置的区域像素均值和方差的统计规律,设定均值和方差的阈值。计算每个边缘像素区域中像素的均值和方差。将生成的每个边缘像素区域中像素的均值和方差逐次与阈值作比较,二值化符合阈值条件的区域(图20)。对二值化的桡动 脉图像像素纵坐标求平均,获得描述桡动脉图像的曲线。对曲线进行二次多项式直线拟合,得到包含桡动脉走势的直线函数(图21),将关脉x坐标代入该直线函数得到关脉的纵坐标。关脉在图像中位置即可确定,如图22所示。Radial artery image segmentation and pulse recognition. An area is constructed with each pixel in the previously generated edge image (Fig. 19) as the origin. The threshold of the mean and the variance is set according to the statistical rule of the mean and variance of the region of the radial artery boundary position. Calculate the mean and variance of the pixels in each edge pixel area. The mean and variance of the pixels in each of the generated edge pixel regions are successively compared with the threshold, and the region meeting the threshold condition is binarized (Fig. 20). Instigation of binarization The pulse image is averaged on the ordinate of the pixel to obtain a curve describing the radial artery image. A quadratic polynomial straight line fitting is performed on the curve to obtain a linear function including the trend of the radial artery (Fig. 21), and the x-coordinate of the pulse is substituted into the linear function to obtain the ordinate of the pulse. The position of the pulse in the image can be determined, as shown in Figure 22.
以上所述的具体实施例,对本公开的目的、技术方案和有益效果进行了进一步详细说明,应理解的是,以上所述仅为本公开的具体实施例而已,并不用于限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present disclosure. All modifications, equivalents, improvements, etc., made within the spirit and scope of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (7)

  1. 一种任意角度的边缘检测方法,包括以下步骤:An edge detection method at any angle includes the following steps:
    获取待检测图像的所有二维像素点的灰度值,所述待检测图像的大小为n×m,其中m、n均为正整数;Obtaining a gray value of all the two-dimensional pixel points of the image to be detected, where the size of the image to be detected is n×m, where m and n are positive integers;
    采用如下规则提取上述二维像素点中选中部分的像素点的灰度值:The gray value of the selected part of the above two-dimensional pixel points is extracted by the following rule:
    (a)从所述待检测图像的最左上角的像素开始,连续选取k个像素;其中k选自正整数;(a) starting from the top leftmost pixel of the image to be detected, continuously selecting k pixels; wherein k is selected from a positive integer;
    (b)依次对每一行均连续选取k个像素,只是每一行的起始位置均为上一行连续k个像素的结束位置,即依照紧凑连接模式选取;或者为上一行连续k个像素的结束位置加一,即依照宽松连接模式选取;(b) successively select k pixels for each row, except that the starting position of each row is the end position of consecutive k pixels in the previous row, that is, according to the compact connection mode; or the end of consecutive k pixels in the previous row Add one position, that is, select according to the loose connection mode;
    (c)从第二行开始选取时先遵照i次紧凑连接模式选取,再遵照j次宽松连接模式选取,如此循环r次,即到达所述待检测图像最底部的最下一行;其中,i、j、r均选自正整数,且用户能够通过设定i、j、r、k来实现任意提取角度的边缘检测;(c) When selecting from the second line, first select according to the i-th compact connection mode, and then select according to the j-time loose connection mode, so that the loop is r times, that is, the bottom line of the bottom of the image to be detected is reached; wherein, i , j, r are all selected from positive integers, and the user can implement edge detection of any extraction angle by setting i, j, r, k;
    将按上述方法提取的、存储成矩阵形式的若干灰度值矩阵与高斯函数的一阶导数fσ(x)作卷积运算,再对卷积运算结果取绝对值,并对绝对值取局部极大值;Convolution operation is performed on the matrix of several gray values stored in a matrix form and the first derivative f σ (x) of the Gaussian function, and then the absolute value of the convolution operation is taken, and the absolute value is taken locally. maximum;
    在对应待检测图像的所有二维像素点的矩阵中,将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0。In the matrix corresponding to all the two-dimensional pixel points of the image to be detected, the obtained local maximum value position is assigned to a non-zero gray value, and the gray value of the other pixel positions is set to zero.
  2. 根据权利要求1所述的方法,其特征在于,所述高斯函数的一阶导数fσ(x)为
    Figure PCTCN2017112917-appb-100001
    其中σ为常数,取值范围为1~10。
    The method of claim 1 wherein the first derivative f σ (x) of the Gaussian function is
    Figure PCTCN2017112917-appb-100001
    Where σ is a constant, and the value ranges from 1 to 10.
  3. 根据权利要求1所述的方法,其特征在于,所述不为零的灰度值为255/边缘检测角度的个数。The method of claim 1 wherein said non-zero gray value is 255/the number of edge detection angles.
  4. 根据权利要求1所述的方法,其特征在于,在将得到的局部极大值位置赋予一不为零的灰度值,其它像素位置的灰度值设为0的步骤之后,还包括将得到的灰度值矩阵表示的像素替换掉原图像上对应像素 的步骤。The method according to claim 1, wherein after the step of assigning the obtained local maximum value to a non-zero gray value and the gray value of the other pixel position is set to 0, The pixel represented by the gray value matrix replaces the corresponding pixel on the original image A step of.
  5. 根据权利要求1所述的方法,其特征在于,用户进行4~8次独立的i、j、r、k的设定来实现4~8次不同提取角度的边缘检测。The method according to claim 1, characterized in that the user performs 4 to 8 independent settings of i, j, r, k to realize edge detection of 4 to 8 different extraction angles.
  6. 根据权利要求5所述的方法,其特征在于,将不同边缘检测角度得到的若干灰度值矩阵以图像显示形式进行灰度叠加,对多次叠加后图像的灰度根据实际所需边缘图像要求而设二值化阈值,根据该二值化阈值对图像进行二值化处理,得到所需边缘。The method according to claim 5, wherein the plurality of gray value matrices obtained by different edge detection angles are gray-scale superimposed in an image display form, and the gray scales of the plurality of superimposed images are required according to actual required edge image requirements. A binarization threshold is set, and the image is binarized according to the binarization threshold to obtain a desired edge.
  7. 根据权利要求6所述的方法,其特征在于,得到的所需边缘为单像素宽边缘。 The method of claim 6 wherein the desired edge obtained is a single pixel wide edge.
PCT/CN2017/112917 2017-08-31 2017-11-24 Edge detection method using arbitrary angle WO2019041590A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710778429.7 2017-08-31
CN201710778429 2017-08-31

Publications (1)

Publication Number Publication Date
WO2019041590A1 true WO2019041590A1 (en) 2019-03-07

Family

ID=65513630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/112917 WO2019041590A1 (en) 2017-08-31 2017-11-24 Edge detection method using arbitrary angle

Country Status (2)

Country Link
CN (1) CN109427066B (en)
WO (1) WO2019041590A1 (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059706A (en) * 2019-04-23 2019-07-26 上海工程技术大学 It is a kind of to place an order the detection method of a straight line for rich salt-pepper noise environment
CN110490889A (en) * 2019-08-12 2019-11-22 中电科技(合肥)博微信息发展有限责任公司 A kind of radar target extracting method based on edge detection
CN110838127A (en) * 2019-10-30 2020-02-25 合肥工业大学 Feature image edge detection method for intelligent automobile
CN110956078A (en) * 2019-10-09 2020-04-03 中国人民解放军战略支援部队信息工程大学 Power line detection method and device
CN111179291A (en) * 2019-12-27 2020-05-19 凌云光技术集团有限责任公司 Edge pixel point extraction method and device based on neighborhood relationship
CN111199235A (en) * 2020-01-03 2020-05-26 深圳市京湾量子遥感科技有限公司 Image edge extraction method
CN111445491A (en) * 2020-03-24 2020-07-24 山东智翼航空科技有限公司 Three-neighborhood maximum difference value edge detection narrow lane guidance algorithm for micro unmanned aerial vehicle
CN111524139A (en) * 2020-04-02 2020-08-11 西安电子科技大学 Bilateral filter-based corner detection method and system
CN112435235A (en) * 2020-11-23 2021-03-02 西安理工大学 Seed cotton impurity content detection method based on image analysis
CN112489066A (en) * 2020-11-30 2021-03-12 国网山西省电力公司晋城供电公司 Method for extracting infrared thermal imaging image edge of power distribution equipment
CN113706522A (en) * 2021-09-08 2021-11-26 常州市新创智能科技有限公司 Method and device for detecting cardboard scraps on glass fiber surface, storage medium and electronic equipment
CN113727050A (en) * 2021-11-04 2021-11-30 山东德普检测技术有限公司 Video super-resolution processing method and device for mobile equipment and storage medium
WO2021253732A1 (en) * 2020-06-18 2021-12-23 飞依诺科技(苏州)有限公司 Medical image processing method and apparatus, computer device, and storage medium
CN113850800A (en) * 2021-10-15 2021-12-28 郑州磨料磨具磨削研究所有限公司 Method for detecting edge breakage of cutting seam of hard and brittle material
CN113870297A (en) * 2021-12-02 2021-12-31 暨南大学 Image edge detection method and device and storage medium
CN114187267A (en) * 2021-12-13 2022-03-15 沭阳县苏鑫冲压件有限公司 Stamping part defect detection method based on machine vision
CN114677340A (en) * 2022-03-14 2022-06-28 上海第二工业大学 Concrete surface roughness detection method based on image edge
CN115060754A (en) * 2022-04-29 2022-09-16 江苏隧锦五金制造有限公司 Surface quality detection method for stainless steel product
CN115131387A (en) * 2022-08-25 2022-09-30 山东鼎泰新能源有限公司 Gasoline engine spray wall collision parameter automatic extraction method and system based on image processing
CN115256400A (en) * 2022-08-26 2022-11-01 北京理工大学 Linear defining method for motion feasible range of three-degree-of-freedom electrically-driven coupling joint of robot
CN115564728A (en) * 2022-09-30 2023-01-03 苏州大学 Image corner detection method, device, equipment and application
CN115578732A (en) * 2022-11-21 2023-01-06 山东爱福地生物股份有限公司 Label identification method for fertilizer production line
CN115797925A (en) * 2023-02-13 2023-03-14 青岛佳美洋食品有限公司 Method for detecting fish processing foreign matter
CN115908429A (en) * 2023-03-08 2023-04-04 山东歆悦药业有限公司 Foot bath powder grinding precision detection method and system
CN116596924A (en) * 2023-07-17 2023-08-15 山东唐乐生物科技股份有限公司 Stevioside quality detection method and system based on machine vision
CN116416268B (en) * 2023-06-09 2023-08-18 浙江双元科技股份有限公司 Method and device for detecting edge position of lithium battery pole piece based on recursion dichotomy
CN116645297A (en) * 2023-07-24 2023-08-25 济宁龙纳智能科技有限公司 AGV forklift control method based on artificial intelligence
CN116863249A (en) * 2023-09-01 2023-10-10 山东拓新电气有限公司 Coal mine conveyor belt deviation recognition method based on artificial intelligence
CN116883407A (en) * 2023-09-08 2023-10-13 山东省永星食品饮料有限公司 Bottled water impurity detection method based on artificial intelligence

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264488B (en) * 2019-06-20 2021-03-16 合肥工业大学 Binary image edge extraction device
CN110264489B (en) * 2019-06-24 2022-07-05 北京奇艺世纪科技有限公司 Image boundary detection method and device and terminal
CN111127498B (en) * 2019-12-12 2023-07-25 重庆邮电大学 Canny edge detection method based on edge self-growth
CN111882570A (en) * 2020-07-28 2020-11-03 浙江水晶光电科技股份有限公司 Edge positioning method and device, storage medium and electronic equipment
CN114332140B (en) * 2022-03-16 2022-07-12 北京文安智能技术股份有限公司 Method for processing traffic road scene image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191812A1 (en) * 2001-04-24 2002-12-19 Nam-Deuk Kim Object edge watermarking
CN104156958A (en) * 2014-08-06 2014-11-19 中国科学院生物物理研究所 Circuit board wiring edge extraction method and corresponding extraction platform
CN104156956A (en) * 2014-08-06 2014-11-19 中国科学院生物物理研究所 Multi-angle edge detection method based on Gauss wavelet one-dimensional peak value identification
CN104732556A (en) * 2015-04-13 2015-06-24 南通理工学院 Image edge detection method based on dyeing matrix algorithm

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537646B (en) * 2014-12-12 2017-06-27 南京理工大学 The automatic MTF methods of estimation of multi-angle of remote sensing images
CN104715491B (en) * 2015-04-09 2017-07-21 大连理工大学 A kind of sub-pixel edge detection method based on one-dimensional Gray Moment
CN105740869B (en) * 2016-01-28 2019-04-12 北京工商大学 A kind of rectangular operator edge extracting method and system based on multiple dimensioned multiresolution
CN105894521A (en) * 2016-04-25 2016-08-24 中国电子科技集团公司第二十八研究所 Sub-pixel edge detection method based on Gaussian fitting
CN105975974A (en) * 2016-05-10 2016-09-28 深圳市金脉智能识别科技有限公司 ROI image extraction method in finger vein identification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191812A1 (en) * 2001-04-24 2002-12-19 Nam-Deuk Kim Object edge watermarking
CN104156958A (en) * 2014-08-06 2014-11-19 中国科学院生物物理研究所 Circuit board wiring edge extraction method and corresponding extraction platform
CN104156956A (en) * 2014-08-06 2014-11-19 中国科学院生物物理研究所 Multi-angle edge detection method based on Gauss wavelet one-dimensional peak value identification
CN104732556A (en) * 2015-04-13 2015-06-24 南通理工学院 Image edge detection method based on dyeing matrix algorithm

Cited By (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059706A (en) * 2019-04-23 2019-07-26 上海工程技术大学 It is a kind of to place an order the detection method of a straight line for rich salt-pepper noise environment
CN110059706B (en) * 2019-04-23 2023-04-07 上海工程技术大学 Detection method for single straight line in pepper-salt-rich noise environment
CN110490889A (en) * 2019-08-12 2019-11-22 中电科技(合肥)博微信息发展有限责任公司 A kind of radar target extracting method based on edge detection
CN110490889B (en) * 2019-08-12 2023-05-09 中电科技(合肥)博微信息发展有限责任公司 Radar target extraction method based on edge detection
CN110956078A (en) * 2019-10-09 2020-04-03 中国人民解放军战略支援部队信息工程大学 Power line detection method and device
CN110956078B (en) * 2019-10-09 2023-06-30 中国人民解放军战略支援部队信息工程大学 Power line detection method and device
CN110838127A (en) * 2019-10-30 2020-02-25 合肥工业大学 Feature image edge detection method for intelligent automobile
CN111179291A (en) * 2019-12-27 2020-05-19 凌云光技术集团有限责任公司 Edge pixel point extraction method and device based on neighborhood relationship
CN111179291B (en) * 2019-12-27 2023-10-03 凌云光技术股份有限公司 Edge pixel point extraction method and device based on neighborhood relation
CN111199235A (en) * 2020-01-03 2020-05-26 深圳市京湾量子遥感科技有限公司 Image edge extraction method
CN111445491B (en) * 2020-03-24 2023-09-15 山东智翼航空科技有限公司 Three-neighborhood maximum difference edge detection narrow channel guiding method for miniature unmanned aerial vehicle
CN111445491A (en) * 2020-03-24 2020-07-24 山东智翼航空科技有限公司 Three-neighborhood maximum difference value edge detection narrow lane guidance algorithm for micro unmanned aerial vehicle
CN111524139A (en) * 2020-04-02 2020-08-11 西安电子科技大学 Bilateral filter-based corner detection method and system
CN111524139B (en) * 2020-04-02 2023-03-31 西安电子科技大学 Bilateral filter-based corner detection method and system
WO2021253732A1 (en) * 2020-06-18 2021-12-23 飞依诺科技(苏州)有限公司 Medical image processing method and apparatus, computer device, and storage medium
CN112435235B (en) * 2020-11-23 2024-02-02 西安理工大学 Seed cotton impurity content detection method based on image analysis
CN112435235A (en) * 2020-11-23 2021-03-02 西安理工大学 Seed cotton impurity content detection method based on image analysis
CN112489066A (en) * 2020-11-30 2021-03-12 国网山西省电力公司晋城供电公司 Method for extracting infrared thermal imaging image edge of power distribution equipment
CN112489066B (en) * 2020-11-30 2023-07-04 国网山西省电力公司晋城供电公司 Extraction method for infrared thermal imaging image edge of power distribution equipment
CN113706522A (en) * 2021-09-08 2021-11-26 常州市新创智能科技有限公司 Method and device for detecting cardboard scraps on glass fiber surface, storage medium and electronic equipment
CN113706522B (en) * 2021-09-08 2024-05-31 常州市新创智能科技有限公司 Glass fiber surface paperboard chip detection method and device, storage medium and electronic equipment
CN113850800A (en) * 2021-10-15 2021-12-28 郑州磨料磨具磨削研究所有限公司 Method for detecting edge breakage of cutting seam of hard and brittle material
CN113850800B (en) * 2021-10-15 2024-04-30 郑州磨料磨具磨削研究所有限公司 Method for detecting broken edges of scribing seams of hard and brittle materials
CN113727050B (en) * 2021-11-04 2022-03-01 山东德普检测技术有限公司 Video super-resolution processing method and device for mobile equipment and storage medium
CN113727050A (en) * 2021-11-04 2021-11-30 山东德普检测技术有限公司 Video super-resolution processing method and device for mobile equipment and storage medium
CN113870297A (en) * 2021-12-02 2021-12-31 暨南大学 Image edge detection method and device and storage medium
CN113870297B (en) * 2021-12-02 2022-02-22 暨南大学 Image edge detection method and device and storage medium
CN114187267B (en) * 2021-12-13 2023-07-21 沭阳县苏鑫冲压件有限公司 Stamping part defect detection method based on machine vision
CN114187267A (en) * 2021-12-13 2022-03-15 沭阳县苏鑫冲压件有限公司 Stamping part defect detection method based on machine vision
CN114677340A (en) * 2022-03-14 2022-06-28 上海第二工业大学 Concrete surface roughness detection method based on image edge
CN114677340B (en) * 2022-03-14 2024-05-24 上海第二工业大学 Concrete surface roughness detection method based on image edge
CN115060754A (en) * 2022-04-29 2022-09-16 江苏隧锦五金制造有限公司 Surface quality detection method for stainless steel product
CN115060754B (en) * 2022-04-29 2024-05-24 上海沛圣科技有限公司 Stainless steel product surface quality detection method
CN115131387A (en) * 2022-08-25 2022-09-30 山东鼎泰新能源有限公司 Gasoline engine spray wall collision parameter automatic extraction method and system based on image processing
CN115131387B (en) * 2022-08-25 2023-01-24 山东鼎泰新能源有限公司 Gasoline engine spray wall collision parameter automatic extraction method and system based on image processing
CN115256400B (en) * 2022-08-26 2024-05-28 北京理工大学 Method for linearly defining movement feasible range of three-degree-of-freedom electric drive coupling joint of robot
CN115256400A (en) * 2022-08-26 2022-11-01 北京理工大学 Linear defining method for motion feasible range of three-degree-of-freedom electrically-driven coupling joint of robot
CN115564728A (en) * 2022-09-30 2023-01-03 苏州大学 Image corner detection method, device, equipment and application
CN115564728B (en) * 2022-09-30 2023-08-11 苏州大学 Image corner detection method, device, equipment and application
CN115578732A (en) * 2022-11-21 2023-01-06 山东爱福地生物股份有限公司 Label identification method for fertilizer production line
CN115797925B (en) * 2023-02-13 2023-04-28 青岛佳美洋食品有限公司 Method for detecting foreign matters in fish processing
CN115797925A (en) * 2023-02-13 2023-03-14 青岛佳美洋食品有限公司 Method for detecting fish processing foreign matter
CN115908429A (en) * 2023-03-08 2023-04-04 山东歆悦药业有限公司 Foot bath powder grinding precision detection method and system
CN116416268B (en) * 2023-06-09 2023-08-18 浙江双元科技股份有限公司 Method and device for detecting edge position of lithium battery pole piece based on recursion dichotomy
CN116596924B (en) * 2023-07-17 2023-10-20 山东唐乐生物科技股份有限公司 Stevioside quality detection method and system based on machine vision
CN116596924A (en) * 2023-07-17 2023-08-15 山东唐乐生物科技股份有限公司 Stevioside quality detection method and system based on machine vision
CN116645297B (en) * 2023-07-24 2023-11-07 济宁龙纳智能科技有限公司 AGV forklift control method based on artificial intelligence
CN116645297A (en) * 2023-07-24 2023-08-25 济宁龙纳智能科技有限公司 AGV forklift control method based on artificial intelligence
CN116863249B (en) * 2023-09-01 2023-11-21 山东拓新电气有限公司 Coal mine conveyor belt deviation recognition method based on artificial intelligence
CN116863249A (en) * 2023-09-01 2023-10-10 山东拓新电气有限公司 Coal mine conveyor belt deviation recognition method based on artificial intelligence
CN116883407B (en) * 2023-09-08 2023-11-24 山东省永星食品饮料有限公司 Bottled water impurity detection method based on artificial intelligence
CN116883407A (en) * 2023-09-08 2023-10-13 山东省永星食品饮料有限公司 Bottled water impurity detection method based on artificial intelligence

Also Published As

Publication number Publication date
CN109427066A (en) 2019-03-05
CN109427066B (en) 2021-11-05

Similar Documents

Publication Publication Date Title
WO2019041590A1 (en) Edge detection method using arbitrary angle
CN103310453B (en) A kind of fast image registration method based on subimage Corner Feature
CN108010082B (en) Geometric matching method
CN112381183B (en) Target detection method and device, electronic equipment and storage medium
Prakash et al. Human recognition using 3D ear images
CN108257155B (en) Extended target stable tracking point extraction method based on local and global coupling
CN110472521B (en) Pupil positioning calibration method and system
Direkoğlu et al. Shape classification via image-based multiscale description
CN111091075A (en) Face recognition method and device, electronic equipment and storage medium
CN108154147A (en) The region of interest area detecting method of view-based access control model attention model
CN104091145A (en) Human palm vein feature image acquisition method
Chaman et al. Real-time hand gesture communication system in Hindi for speech and hearing impaired
Nag et al. New cold feature based handwriting analysis for enthnicity/nationality identification
Donati et al. An accurate system for fashion hand-drawn sketches vectorization
CN115240224A (en) Gesture feature extraction method based on three-dimensional hand key point and image feature fusion
Wagdy et al. Document image skew detection and correction method based on extreme points
US20050089225A1 (en) Method for aligning gesture features of image
CN116912604A (en) Model training method, image recognition device and computer storage medium
Wu et al. Image Edge Detection Based on Sobel with Morphology
JP4509512B2 (en) Skew detection
Cohen et al. 3D iris model and reader for iris identification
Belan et al. A homogenous parameter set for image recognition based on area
Varghese et al. Hexagonal image enhancement using Hex-Gabor filter for machine vision applications
Hassan et al. Enhance iris segmentation method for person recognition based on image processing techniques
Rao et al. Texture classification based on local features using dual neighborhood approach

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923424

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923424

Country of ref document: EP

Kind code of ref document: A1