CN114965693A - Ultrasound C-scan automatic alignment system based on virtual-real registration - Google Patents
Ultrasound C-scan automatic alignment system based on virtual-real registration Download PDFInfo
- Publication number
- CN114965693A CN114965693A CN202210573378.5A CN202210573378A CN114965693A CN 114965693 A CN114965693 A CN 114965693A CN 202210573378 A CN202210573378 A CN 202210573378A CN 114965693 A CN114965693 A CN 114965693A
- Authority
- CN
- China
- Prior art keywords
- scanning
- ultrasonic
- image
- optical
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000002604 ultrasonography Methods 0.000 title claims description 4
- 230000003287 optical effect Effects 0.000 claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 18
- 239000000523 sample Substances 0.000 claims abstract description 15
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 12
- 238000012360 testing method Methods 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 21
- 230000009466 transformation Effects 0.000 claims description 18
- 238000004422 calculation algorithm Methods 0.000 claims description 13
- 238000003384 imaging method Methods 0.000 claims description 9
- 230000011218 segmentation Effects 0.000 claims description 8
- 239000000463 material Substances 0.000 claims description 5
- 238000009210 therapy by ultrasound Methods 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 11
- 241000723369 Cocculus trilobus Species 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000004927 fusion Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- -1 life science Substances 0.000 description 1
- 238000012634 optical imaging Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N29/00—Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
- G01N29/04—Analysing solids
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N29/00—Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
- G01N29/22—Details, e.g. general constructional or apparatus details
- G01N29/24—Probes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N29/00—Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object
- G01N29/44—Processing the detected response signal, e.g. electronic circuits specially adapted therefor
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2291/00—Indexing codes associated with group G01N29/00
- G01N2291/26—Scanned objects
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/30—Assessment of water resources
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Acoustics & Sound (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
Abstract
本发明涉及图像处理技术领域,尤其是一种基于虚实配准的超声C扫描自动对准系统,包括三轴移动装置、光学相机、标定板和超声探头,所述光学相机安装在三轴移动装置的Z轴固定架上,通过三轴移动装置的X、Y轴带动光学相应水平面移动,超声探头安装在三轴移动装置的Z轴上,标定板置于水中试件台上,并基于系统方法实现系统处理,本发明可完成任意位置区域的自动对准与扫描流程,减少手动对准以及对非关注区域的扫描时间,提高扫描效率。
The invention relates to the technical field of image processing, in particular to an ultrasonic C-scan automatic alignment system based on virtual-real registration, comprising a three-axis moving device, an optical camera, a calibration plate and an ultrasonic probe, wherein the optical camera is installed on the three-axis moving device On the Z-axis fixed frame of the three-axis moving device, the X and Y axes of the three-axis moving device drive the optical corresponding horizontal plane to move, the ultrasonic probe is installed on the Z-axis of the three-axis moving device, and the calibration plate is placed on the water test piece table. By realizing system processing, the present invention can complete the automatic alignment and scanning process of any position area, reduce manual alignment and scanning time for non-concerned areas, and improve scanning efficiency.
Description
技术领域technical field
本发明涉及图像处理技术领域,具体领域为一种基于虚实配准的超声C扫描自动对准系统。The invention relates to the technical field of image processing, in particular to an ultrasonic C-scan automatic alignment system based on virtual-real registration.
背景技术Background technique
超声C扫描流程中,需要在扫描前设置C扫描路径的起点和终点,由于水中光线折射等原因试件相对位置不便于观察,并且有时工件只需要扫描部分特定区域,故手动选取起点与终点操作费时费力,并且准确度不高。In the ultrasonic C-scanning process, the start and end points of the C-scanning path need to be set before scanning. Due to the refraction of light in the water and other reasons, the relative position of the specimen is inconvenient to observe, and sometimes the workpiece only needs to scan some specific areas, so manually select the start and end points to operate. Time-consuming and labor-intensive, and the accuracy is not high.
发明内容SUMMARY OF THE INVENTION
针对现有技术存在的不足,本发明的目的在于提供一种基于虚实配准的超声C扫描自动对准系统,以解决现有技术具有不方便操作、花费时间、对准操作不准确的问题,通过该技术方案能够实现自动化设置扫描区域,进而达到流水化全自动扫描的效果。In view of the deficiencies in the prior art, the purpose of the present invention is to provide an ultrasonic C-scan automatic alignment system based on virtual-real registration, so as to solve the problems of inconvenient operation, time-consuming and inaccurate alignment operation in the prior art, Through the technical solution, the automatic setting of the scanning area can be realized, thereby achieving the effect of streamlined automatic scanning.
为实现上述目的,本发明提供如下技术方案:一种基于虚实配准的超声C扫描自动对准系统,包括三轴移动装置、光学相机、标定板和超声探头,所述光学相机安装在三轴移动装置的Z轴固定架上,通过三轴移动装置的X、Y轴带动光学相应水平面移动,超声探头安装在三轴移动装置的Z轴上,标定板置于水中试件台上,其系统使用方式为:In order to achieve the above object, the present invention provides the following technical solutions: an ultrasonic C-scan automatic alignment system based on virtual-real registration, comprising a three-axis moving device, an optical camera, a calibration plate and an ultrasonic probe, and the optical camera is installed on the three-axis. On the Z-axis fixed frame of the mobile device, the X and Y axes of the three-axis mobile device drive the optical corresponding horizontal plane to move, the ultrasonic probe is installed on the Z-axis of the three-axis mobile device, and the calibration plate is placed on the water sample table. Use as:
(1)设置扫描起点为三轴移动装置的X、Y轴原点,设置扫描终点为三轴移动装置的X、Y轴的预设值位置,保证标定板位于整个扫描区域内;(1) Set the scanning starting point as the origin of the X and Y axes of the three-axis mobile device, and set the scanning end point as the preset value position of the X and Y axes of the three-axis mobile device to ensure that the calibration plate is located in the entire scanning area;
(2)通过超声探头对标定板区域进行超声C扫描成像;(2) Ultrasonic C-scan imaging is performed on the calibration plate area through an ultrasonic probe;
(3)获取扫描图像后,提取成像四个定点的像素坐标值,并基于已知的整体扫描区域,根据两组点计算工件参考平面到超声C扫描图像的投影矩阵Hw2c;(3) after acquiring the scanned image, extract the pixel coordinate values of four fixed points of imaging, and based on the known overall scanning area, calculate the projection matrix Hw2c of the workpiece reference plane to the ultrasonic C-scanning image according to two groups of points;
(4)对超声C扫描声学图像与相机光学图像进行处理,计算得到超声C扫描图像到光学图像的变换矩阵Hc2o;(4) process the ultrasonic C-scanning acoustic image and the camera optical image, and calculate the transformation matrix H c2o from the ultrasonic C-scanning image to the optical image;
(5)基于上述步骤完成系统标定操作,然后将标定板从水中试件台上取出,将待检测工件放置于试件台;(5) Complete the system calibration operation based on the above steps, then take out the calibration plate from the test piece table in the water, and place the workpiece to be detected on the test piece table;
(6)将Z轴与相机处于原点初始位置,拍摄一张水中工件的光学照片,采用HSV色域阈值分割识别工件轮廓,再求解最小外接矩形作为扫描区;(6) place the Z axis and the camera at the initial position of the origin, take an optical photo of the workpiece in the water, use the HSV color gamut threshold segmentation to identify the contour of the workpiece, and then solve the minimum circumscribed rectangle as the scanning area;
(7)得到一组光学图像中的扫描起点A与终点B,根据标定求得的变换矩阵逆向求解工件参考平面坐标系下二维空间;(7) Obtain the scanning starting point A and the end point B in a group of optical images, and inversely solve the two-dimensional space under the workpiece reference plane coordinate system according to the transformation matrix obtained by the calibration;
(8)以此起点终点坐标设置为扫描参数即可进行自动扫描。(8) Set the coordinates of the starting point and the end point as the scanning parameters to perform automatic scanning.
优选的,所述标定板为均匀分布设置有孔洞的板件,根据步骤(4),其声学图像处理为,超声探头对标定板表面进行超声时,声学图像中标定板表面反射强烈,而孔洞位置反射为零,所以成像对比度较高,故采用阈值分割算法提取出孔洞轮廓,再使用霍夫圆拟合算法提取孔洞圆心。Preferably, the calibration plate is a plate with holes evenly distributed. According to step (4), the acoustic image processing is as follows: when the ultrasonic probe performs ultrasound on the surface of the calibration plate, the surface of the calibration plate in the acoustic image is strongly reflected, while the holes are The positional reflection is zero, so the imaging contrast is high. Therefore, the threshold segmentation algorithm is used to extract the outline of the hole, and then the Hough circle fitting algorithm is used to extract the center of the hole.
优选的,所述标定板为单一材质且颜色固定,根据步骤(4),其光学图像处理为,将图像变换至HSV色域基于Hue色相值对图像进行二值化,再使用霍夫圆拟合算法提取孔洞圆心。Preferably, the calibration plate is made of a single material and has a fixed color. According to step (4), the optical image processing is to convert the image to the HSV color gamut, binarize the image based on the Hue hue value, and then use the Hough circle to approximate the image. The combined algorithm extracts the center of the hole.
优选的,基于声学图像处理和光学图像处理获得的两组点进行整理排序进行单应性变换矩阵拟合求解,计算得到超声C扫描图像到光学图像的变换矩阵Hc2o。Preferably, the homography transformation matrix is fitted and solved based on the two sets of points obtained by the acoustic image processing and the optical image processing, and the transformation matrix H c2o from the ultrasonic C-scan image to the optical image is obtained by calculation.
优选的,根据步骤(7)和(8),其工件参考平面坐标系下二维空间为:Preferably, according to steps (7) and (8), the two-dimensional space under the workpiece reference plane coordinate system is:
起点:A'=A·Hw2c T·Hc2o T;Starting point: A'=A· Hw2cT · Hc2oT ;
终点:B'=B·Hw2c T·Hc2o T。End point: B'=B· Hw2cT · Hc2oT .
与现有技术相比,本发明的有益效果是:系统仅需要一次标定操作即可完成任意位置区域的自动对准与扫描流程,减少手动对准以及对非关注区域的扫描时间,提高扫描效率。Compared with the prior art, the present invention has the beneficial effects that the system only needs one calibration operation to complete the automatic alignment and scanning process of any position area, reduce manual alignment and scanning time for non-concerned areas, and improve scanning efficiency. .
1)本发明是一种自动化对准流程,使用时,能够节省操作人员手动操作的时间,达到省时省力的效果,并且提高了起点终点定位的精确度,节省了扫描时间。1) The present invention is an automatic alignment process, which can save the operator's time for manual operation, achieve the effect of saving time and effort, and improve the accuracy of starting point and end point positioning, saving scanning time.
2)提高了扫描流程的自动化率,使超声C扫描系统在工业场景中应用更加广泛2) Improve the automation rate of the scanning process, making the ultrasonic C-scanning system more widely used in industrial scenarios
3)虚实配准可实现增强现实融合显示,应用中具有广阔前景。3) Virtual-real registration can realize augmented reality fusion display, which has broad prospects in application.
附图说明Description of drawings
图1为本发明的标定板平面图;1 is a plan view of a calibration plate of the present invention;
图2为本发明的系统器件装配示意图;2 is a schematic diagram of the system device assembly of the present invention;
图3为本发明的系统方法流程图。FIG. 3 is a flow chart of the system method of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
虚实配准是增强现实的关键技术。因为有运算量小实时性强的特点,利用平面模板进行虚实配准被广泛使用。Virtual-real registration is the key technology of augmented reality. Due to the characteristics of small computational complexity and strong real-time performance, the use of planar templates for virtual-real registration is widely used.
单应性变换用来描述物体在世界坐标系与像素坐标系之间的位置映射关系,平面的单应性被定义为一个平面到另外一个平面的投影映射,对应的变换矩阵称为单应性矩阵。The homography transformation is used to describe the position mapping relationship between the world coordinate system and the pixel coordinate system. The homography of a plane is defined as the projection mapping from one plane to another plane, and the corresponding transformation matrix is called a homography matrix.
超声波C扫描技术是将超声检测与微机控制和微机进行数据采集、存贮、处理、图像显示集合在一起的技术,C扫描成像是利用超声波反射原理提取垂直于声束指定截面(即横向截面像)的回波信息而形成二维图像的技术,其原理简单,可获取不同截面的信息,广泛应用于半导体、生命科学、材料科学、纳米技术等领域。Ultrasonic C-scanning technology is a technology that integrates ultrasonic testing with microcomputer control and microcomputer for data acquisition, storage, processing, and image display. ) echo information to form a two-dimensional image technology, its principle is simple, can obtain information of different sections, widely used in semiconductor, life science, material science, nanotechnology and other fields.
参阅图1至3,本发明提供一种技术方案:一种基于虚实配准的超声C扫描自动对准系统,包括三轴移动装置、光学相机、标定板和超声探头,所述光学相机安装在三轴移动装置的Z轴固定架上,通过三轴移动装置的X、Y轴带动光学相应水平面移动,超声探头安装在三轴移动装置的Z轴上,标定板置于水中试件台上,其系统使用方式为:1 to 3, the present invention provides a technical solution: an ultrasonic C-scan automatic alignment system based on virtual-real registration, including a three-axis moving device, an optical camera, a calibration plate and an ultrasonic probe, the optical camera is installed in the On the Z-axis fixed frame of the three-axis moving device, the X and Y axes of the three-axis moving device drive the optical corresponding horizontal plane to move, the ultrasonic probe is installed on the Z-axis of the three-axis moving device, and the calibration plate is placed on the water sample table. The system is used in the following ways:
(1)设置扫描起点为三轴移动装置的X、Y轴原点,设置扫描终点为三轴移动装置的X、Y轴的预设值位置,保证标定板位于整个扫描区域内;(1) Set the scanning starting point as the origin of the X and Y axes of the three-axis mobile device, and set the scanning end point as the preset value position of the X and Y axes of the three-axis mobile device to ensure that the calibration plate is located in the entire scanning area;
(2)通过超声探头对标定板区域进行超声C扫描成像;(2) Ultrasonic C-scan imaging is performed on the calibration plate area through an ultrasonic probe;
(3)获取扫描图像后,提取成像四个定点的像素坐标值,并基于已知的整体扫描区域,根据两组点计算工件参考平面到超声C扫描图像的投影矩阵Hw2c;(3) after acquiring the scanned image, extract the pixel coordinate values of four fixed points of imaging, and based on the known overall scanning area, calculate the projection matrix Hw2c of the workpiece reference plane to the ultrasonic C-scanning image according to two groups of points;
(4)对超声C扫描声学图像与相机光学图像进行处理,计算得到超声C扫描图像到光学图像的变换矩阵Hc2o;(4) the ultrasonic C-scanning acoustic image and the camera optical image are processed, and the transformation matrix H c2o from the ultrasonic C-scanning image to the optical image is obtained by calculation;
(5)基于上述步骤完成系统标定操作,然后将标定板从水中试件台上取出,将待检测工件放置于试件台;(5) Complete the system calibration operation based on the above steps, then take out the calibration plate from the test piece table in the water, and place the workpiece to be detected on the test piece table;
(6)将Z轴与相机处于原点初始位置,拍摄一张水中工件的光学照片,采用HSV色域阈值分割识别工件轮廓,再求解最小外接矩形作为扫描区;(6) place the Z axis and the camera at the initial position of the origin, take an optical photo of the workpiece in the water, use the HSV color gamut threshold segmentation to identify the contour of the workpiece, and then solve the minimum circumscribed rectangle as the scanning area;
(7)得到一组光学图像中的扫描起点A与终点B,根据标定求得的变换矩阵逆向求解工件参考平面坐标系下二维空间;(7) Obtain the scanning starting point A and the end point B in a group of optical images, and inversely solve the two-dimensional space under the workpiece reference plane coordinate system according to the transformation matrix obtained by the calibration;
(8)以此起点终点坐标设置为扫描参数即可进行自动扫描。(8) Set the coordinates of the starting point and the end point as the scanning parameters to perform automatic scanning.
所述标定板为均匀分布设置有孔洞的板件,根据步骤(4),其声学图像处理为,超声探头对标定板表面进行超声时,声学图像中标定板表面反射强烈,而孔洞位置反射为零,所以成像对比度较高,故采用阈值分割算法提取出孔洞轮廓,再使用霍夫圆拟合算法提取孔洞圆心。The calibration plate is a plate with holes evenly distributed. According to step (4), the acoustic image processing is as follows: when the ultrasonic probe performs ultrasound on the surface of the calibration plate, the surface of the calibration plate in the acoustic image is strongly reflected, and the reflection at the position of the hole is: Therefore, the threshold segmentation algorithm is used to extract the outline of the hole, and then the Hough circle fitting algorithm is used to extract the center of the hole.
所述标定板为单一材质且颜色固定,根据步骤(4),其光学图像处理为,将图像变换至HSV色域基于Hue色相值对图像进行二值化,再使用霍夫圆拟合算法提取孔洞圆心。The calibration plate is made of a single material and has a fixed color. According to step (4), the optical image processing is to transform the image into the HSV color gamut, binarize the image based on the Hue hue value, and then use the Hough circle fitting algorithm to extract the image. Hole center.
基于声学图像处理和光学图像处理获得的两组点进行整理排序进行单应性变换矩阵拟合求解,计算得到超声C扫描图像到光学图像的变换矩阵Hc2o。Based on the two sets of points obtained by acoustic image processing and optical image processing, the homography transformation matrix is fitted and solved, and the transformation matrix H c2o from the ultrasonic C-scan image to the optical image is calculated.
根据步骤(7)和(8),其工件参考平面坐标系下二维空间为:According to steps (7) and (8), the two-dimensional space under the workpiece reference plane coordinate system is:
起点:A′=A·Hw2c T·Hc2o T;Starting point: A′=A· Hw2cT · Hc2oT ;
终点:B′=B·Hw2c T·Hc2o T。End point: B'=B· Hw2cT · Hc2oT .
通过本技术方案,实际设置中,采用150mm*150mm的标定板,并设置三轴移动装置的扫描终点为200mm位置;同时设置每次扫描结束后,Z轴会回归平面内零点位置,由此可以实现相机空间参考位置的固定;Through this technical solution, in the actual setting, a 150mm*150mm calibration plate is used, and the scanning end point of the three-axis mobile device is set to 200mm; Realize the fixation of the camera's spatial reference position;
然后通过光学相机和超声探头对扫描件区域进行扫描成像,获取C扫描图像之后首先提取成像四个顶点像素坐标值,另有已知扫描区域四角的二维空间坐标点(0,0)、(0,200)、(200,0)、(200,200),坐标单位为毫米,可根据两组点计算工件参考平面到C扫描图像的投影矩阵Hw2c;Then, the scanned area is scanned and imaged by an optical camera and an ultrasonic probe. After the C-scan image is obtained, the pixel coordinate values of the four vertices of the imaging are first extracted, and the two-dimensional space coordinate points (0,0), ( 0,200), (200,0), (200,200), the coordinate unit is millimeter, and the projection matrix Hw2c from the workpiece reference plane to the C-scan image can be calculated according to the two sets of points;
再对C扫描声学图像与相机光学图像进行处理。声学图像中标定板表面反射强烈,而孔洞位置反射为零,所以成像对比度较高,故采用阈值分割算法提取出孔洞轮廓,再使用霍夫圆拟合算法提取孔洞圆心;光学图像中考虑到水中试件台底板为单一材质且颜色固定,故将图像变换至HSV色域基于Hue色相值对图像进行二值化,再使用霍夫圆拟合算法提取孔洞圆心。此处光学成像过程经过一次水中折射,但依然符合平面投影变换规律。故对获得的两组点进行整理排序进行单应性变换矩阵拟合求解,计算可得C扫描图像到光学图像的变换矩阵Hc2o。The C-scan acoustic image and the camera optical image are then processed. In the acoustic image, the surface of the calibration plate has strong reflection, but the reflection at the hole position is zero, so the imaging contrast is high, so the threshold segmentation algorithm is used to extract the hole contour, and then the Hough circle fitting algorithm is used to extract the hole center; in the optical image, considering the water The bottom plate of the test piece is made of a single material and the color is fixed. Therefore, the image is converted to the HSV color gamut, and the image is binarized based on the Hue hue value, and then the Hough circle fitting algorithm is used to extract the center of the hole. Here, the optical imaging process undergoes a refraction in water, but it still conforms to the law of plane projection transformation. Therefore, the obtained two sets of points are sorted and sorted, and the homography transformation matrix is fitted and solved, and the transformation matrix H c2o from the C scan image to the optical image can be obtained by calculation.
由此完成系统标定操作,标定板可以从水池中取出,将待检测工件放置于试件台。此时Z轴与相机处于原点初始位置,拍摄一张水中工件的光学照片,自动算法可采用HSV色域阈值分割识别工件轮廓,再求解最小外接矩形作为扫描区;或在上位机程序中直接使用鼠标框选ROI区域作为待扫描区。In this way, the system calibration operation is completed, the calibration plate can be taken out from the pool, and the workpiece to be tested is placed on the test piece table. At this time, the Z axis and the camera are at the initial position of the origin, and an optical photo of the workpiece in the water is taken. The automatic algorithm can use HSV color gamut threshold segmentation to identify the contour of the workpiece, and then solve the minimum circumscribed rectangle as the scanning area; or use it directly in the host computer program. Select the ROI area with the mouse as the area to be scanned.
由此可以得到一组光学图像中的扫描起点A与终点B,根据标定求得的变换矩阵可以逆向求解工件参考平面坐标系下二维空间From this, the scanning start point A and the end point B in a set of optical images can be obtained. According to the transformation matrix obtained by the calibration, the two-dimensional space in the workpiece reference plane coordinate system can be reversely solved.
起点A′=A·Hw2c T·Hc2o T与终点 B′=B·Hw2c T·Hc2o T,单位为毫米。The starting point A'=A·H w2c T ·H c2o T and the end point B'=B·H w2c T ·H c2o T , the unit is millimeter.
以此起点终点坐标设置为扫描参数即可进行自动扫描。Automatic scanning can be performed by setting the coordinates of the starting point and the end point as the scanning parameters.
通过在Z轴上安装的相机与标定板实现C扫描设备虚实配准;Realize virtual and real registration of C-scan equipment through the camera and calibration plate installed on the Z axis;
通过光学与声学图像的图像处理实现C扫描自动对准;C-scan automatic alignment is realized by image processing of optical and acoustic images;
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
1)本发明是一种自动化对准流程,使用时,能够节省操作人员手动操作的时间,达到省时省力的效果,并且提高了起点终点定位的精确度,节省了扫描时间。1) The present invention is an automatic alignment process, which can save the operator's time for manual operation, achieve the effect of saving time and effort, and improve the accuracy of starting point and end point positioning, saving scanning time.
2)提高了扫描流程的自动化率,使超声C扫描系统在工业场景中应用更加广泛2) Improve the automation rate of the scanning process, making the ultrasonic C-scanning system more widely used in industrial scenarios
3)虚实配准可实现增强现实融合显示,应用中具有广阔前景。3) Virtual-real registration can realize augmented reality fusion display, which has broad prospects in application.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the present invention is defined by the appended claims and their equivalents.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210573378.5A CN114965693B (en) | 2022-05-24 | Ultrasonic C-scan automatic alignment system based on virtual-real registration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210573378.5A CN114965693B (en) | 2022-05-24 | Ultrasonic C-scan automatic alignment system based on virtual-real registration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114965693A true CN114965693A (en) | 2022-08-30 |
CN114965693B CN114965693B (en) | 2025-02-18 |
Family
ID=
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117949536A (en) * | 2024-03-27 | 2024-04-30 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Integrated circuit acoustic scanning method, device, computer equipment and storage medium |
CN119000872A (en) * | 2024-09-05 | 2024-11-22 | 中国计量科学研究院 | Ultrasonic microscope auxiliary positioning method based on optical imaging |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686827A (en) * | 2007-01-19 | 2010-03-31 | 桑尼布鲁克健康科学中心 | Imaging probe with combined ultrasound and optical imaging device |
CN104215695A (en) * | 2013-06-05 | 2014-12-17 | 上海工程技术大学 | Three-dimensional ultrasonic location reticular mold plate |
CN104792885A (en) * | 2015-04-03 | 2015-07-22 | 上海和伍新材料科技有限公司 | Device and method for calibrating relative position of camera and ultrasonic probe in ultrasonic detection |
US20180000444A1 (en) * | 2015-01-23 | 2018-01-04 | The University Of North Carolina At Chapel Hill | Apparatuses, systems, and methods for preclinical ultrasound imaging of subjects |
CN107714082A (en) * | 2017-09-04 | 2018-02-23 | 北京航空航天大学 | A kind of ultrasonic probe caliberating device and method based on optical alignment |
CN110554095A (en) * | 2019-08-16 | 2019-12-10 | 上海工程技术大学 | three-dimensional ultrasonic probe calibration device and method |
CN111487320A (en) * | 2019-01-29 | 2020-08-04 | 中慧医学成像有限公司 | 3D Ultrasound Imaging Method and System Based on 3D Optical Imaging Sensor |
CN112132903A (en) * | 2020-06-05 | 2020-12-25 | 哈尔滨工业大学 | Coordinate system calibration method and system for vision system and multi-axis motion system |
CN113974830A (en) * | 2021-11-02 | 2022-01-28 | 中国人民解放军总医院第一医学中心 | A surgical navigation system for ultrasound-guided thermal ablation of thyroid tumors |
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686827A (en) * | 2007-01-19 | 2010-03-31 | 桑尼布鲁克健康科学中心 | Imaging probe with combined ultrasound and optical imaging device |
CN104215695A (en) * | 2013-06-05 | 2014-12-17 | 上海工程技术大学 | Three-dimensional ultrasonic location reticular mold plate |
US20180000444A1 (en) * | 2015-01-23 | 2018-01-04 | The University Of North Carolina At Chapel Hill | Apparatuses, systems, and methods for preclinical ultrasound imaging of subjects |
CN104792885A (en) * | 2015-04-03 | 2015-07-22 | 上海和伍新材料科技有限公司 | Device and method for calibrating relative position of camera and ultrasonic probe in ultrasonic detection |
CN107714082A (en) * | 2017-09-04 | 2018-02-23 | 北京航空航天大学 | A kind of ultrasonic probe caliberating device and method based on optical alignment |
CN111487320A (en) * | 2019-01-29 | 2020-08-04 | 中慧医学成像有限公司 | 3D Ultrasound Imaging Method and System Based on 3D Optical Imaging Sensor |
CN110554095A (en) * | 2019-08-16 | 2019-12-10 | 上海工程技术大学 | three-dimensional ultrasonic probe calibration device and method |
CN112132903A (en) * | 2020-06-05 | 2020-12-25 | 哈尔滨工业大学 | Coordinate system calibration method and system for vision system and multi-axis motion system |
CN113974830A (en) * | 2021-11-02 | 2022-01-28 | 中国人民解放军总医院第一医学中心 | A surgical navigation system for ultrasound-guided thermal ablation of thyroid tumors |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117949536A (en) * | 2024-03-27 | 2024-04-30 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | Integrated circuit acoustic scanning method, device, computer equipment and storage medium |
CN119000872A (en) * | 2024-09-05 | 2024-11-22 | 中国计量科学研究院 | Ultrasonic microscope auxiliary positioning method based on optical imaging |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112308832B (en) | Bearing quality detection method based on machine vision | |
CN110853018B (en) | An online detection system and detection method for vibration table fatigue cracks based on computer vision | |
CN101532926A (en) | On-line vision detecting system for automatic impact specimen processing device and image processing method thereof | |
CN1975323A (en) | Method for making three-dimensional measurement of objects utilizing single digital camera to freely shoot | |
CN114719749B (en) | Metal surface crack detection and real size measurement method and system based on machine vision | |
CN108844961A (en) | A kind of temperature controller case vision detection system and method | |
CN113970560B (en) | Defect three-dimensional detection method based on multi-sensor fusion | |
CN111353997A (en) | Real-time three-dimensional surface defect detection method based on fringe projection | |
CN201007646Y (en) | A liquid-assisted tomography three-dimensional shape measurement device | |
CN110261069A (en) | Detection method for optical lens | |
CN109557098A (en) | Metal surface detection system based on machine vision | |
CN113390357B (en) | A method for measuring rivet flushness based on binocular multi-line structured light | |
CN110864671B (en) | A method for measuring the repeatability of robot positioning based on line-structured light fitting plane | |
CN114965272A (en) | A test method for a chip defect detection platform | |
CN104655041B (en) | A kind of industrial part contour line multi-feature extraction method of additional constraint condition | |
CN114965693A (en) | Ultrasound C-scan automatic alignment system based on virtual-real registration | |
CN114965693B (en) | Ultrasonic C-scan automatic alignment system based on virtual-real registration | |
CN114200429A (en) | SVD multi-mechanical type laser radar external parameter calibration method and system based on same visual field | |
CN118608457A (en) | A special equipment detection method and system based on machine vision | |
Riffo et al. | Active inspection of objects to detect possible damage and measure their volume using 3D reconstruction | |
CN112763496A (en) | Mobile phone battery surface defect detection device and detection method thereof | |
CN104459101B (en) | Enzyme-linked immunospot assay device and method | |
CN114964032B (en) | Blind hole depth measurement method and device based on machine vision | |
CN114998279B (en) | Identification positioning method for pits and cracks on surface of stone large plate | |
CN116735604A (en) | Nondestructive detection system and method for internal defects of large-size laser crystal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |