Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for measuring bubble offset of two-line vial based on image processing technology

A technology for image processing and tube levels, which is applied to measuring devices, instruments, and optical devices, etc., can solve the problems of large errors, time-consuming and labor-intensive human eye recognition, etc., and achieve high precision and better robustness.

Active Publication Date: 2022-03-11
CHINA JILIANG UNIV
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the deficiencies of the prior art, the present invention provides a method for measuring the bubble offset of a two-line tube level based on image processing technology. The method adopts the method of automatically determining the region of interest, and enters the bubble center to calculate the bubble offset. When measuring the center of a fixed area, use the image outline to find the center coordinates of the bubble center and the two sets of thick black lines, and measure the offset of the bubble center between the areas surrounded by each set of thick black lines; improve the measurement accuracy, and can be used at the same time Because machines replace humans to detect measuring instruments with two-line tube levels, it solves the problem of time-consuming, labor-intensive and large errors in human-eye recognition

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for measuring bubble offset of two-line vial based on image processing technology
  • Method for measuring bubble offset of two-line vial based on image processing technology
  • Method for measuring bubble offset of two-line vial based on image processing technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Step 1: Read the original grayscale image of the bubble in the two-line vial

[0028] The original grayscale image src of the obtained two-line vial bubble is as follows: figure 2 shown.

[0029] Step 2: Binarize the original grayscale image

[0030] The binarized image bI obtained by binarizing and segmenting the original grayscale image src using the OTSU method 1 like image 3 shown.

[0031] Step 3: For the binarized image bI 1 Perform contour detection to find the largest contour CT in the image Max And find the inclination angle of the smallest circumscribed rectangle of the largest contour

[0032] For the image bI obtained after binarization 1 For contour detection, since the foreground image and the background image are significantly different after binarization, and the background image is completely black, the image in the area surrounded by the largest contour in the binarized image is the foreground image. Find the largest contour number index and s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for measuring the bubble offset of a two-line tube level based on image processing technology. The image is operated to obtain the image of the region of interest; find the center of the bubble and the contour center of each thick black line in the image of the region of interest; calculate the distance between the center of the bubble and the center of the contour center of the two thick black lines closest to the center of the bubble; finally realize it according to the calibration result A measure of the offset of the center of the bubble from the center of the two thick black line outlines closest to the center of the bubble. The method of the present invention adopts the mode of machine vision to effectively solve the problem of time-consuming and labor-intensive and large error when using human eyes to identify, and adopts the method of representing the actual offset by the vertical distance value between the center of the bubble and the center of the rectangle surrounded by two thick black lines, and the algorithm Innovative and robust, yet simple and practical with high precision.

Description

technical field [0001] The invention relates to the technical field of machine vision measurement, and relates to a method for measuring the bubble offset of a multi-line tube level based on image processing technology. Background technique [0002] In many industrial manufacturing activities, people often need to check the flatness of the surface of the object to be measured. Therefore, some measuring instruments with a tube level (such as a spirit level, etc.) are usually used to complete this type of precision measurement. The most widely used method is to judge whether the surface of the measured object is level by measuring the bubble offset in the tube level. There are many measuring instruments with tube levels on the market today that are used to test the flatness of the surface of the measured object. Bubbles in the level are detected and calibrated. - The general calibration method is to place the measuring instrument with a tube level on a standard level testing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G01B11/03
CPCG01B11/03
Inventor 刘磊陈爱军丁佳为
Owner CHINA JILIANG UNIV