An Image Measurement Algorithm for Dimensions of Circular Industrial Parts
A technology for image measurement and parts, which is applied in the field of image measurement algorithms for the size of circular industrial parts, can solve problems such as difficult image size detection, and achieve high application value, good detection stability and detection accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] Attached below Figure 1-9 The present invention is described in further detail:
[0039] An image measurement algorithm for the size of circular industrial parts, the image measurement algorithm specifically includes the following steps:
[0040] S1: Extract the edge of the image, and calculate the gradient direction of the image edge.
[0041] The calculation method of extracting the edge of the image adopts the CANNY edge detection algorithm commonly used in image processing.
[0042] The calculation method of the gradient direction is as follows:
[0043] First, the image is convolved in the XY direction with a Gaussian differential window. Assuming that the gradients of a point in the image in the X and Y directions are Gx and Gy respectively, the sine and cosine of the direction of the gradient are:
[0044]
[0045]
[0046] S2: Calculate the included angle of the line between the edge of the image and the center of the initial circle.
[0047] The calc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


