CN102052896A - Automatic method for detecting dimension of use part of surgical instrument - Google Patents

Automatic method for detecting dimension of use part of surgical instrument Download PDF

Info

Publication number
CN102052896A
CN102052896A CN2010105470217A CN201010547021A CN102052896A CN 102052896 A CN102052896 A CN 102052896A CN 2010105470217 A CN2010105470217 A CN 2010105470217A CN 201010547021 A CN201010547021 A CN 201010547021A CN 102052896 A CN102052896 A CN 102052896A
Authority
CN
China
Prior art keywords
theater instruments
operating theater
sub
pixel
ordinate
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.)
Pending
Application number
CN2010105470217A
Other languages
Chinese (zh)
Inventor
王殊轶
张敏燕
周颍
葛斌
孟青云
郭世俊
谢海明
尹勋超
高艳华
韩露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2010105470217A priority Critical patent/CN102052896A/en
Publication of CN102052896A publication Critical patent/CN102052896A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to an automatic method for detecting the dimension of the use part of a surgical instrument. The detection method provided by the invention comprises the following steps: image acquisition, system calibration and image processing, wherein the image processing includes automatic use part positioning and sub-pixel edge detection.

Description

Operating theater instruments is used the spot size automatic testing method
The present invention is dividing an application of " operating theater instruments being used spot size automatic detection device and detection method thereof ", the applying date of original application: on April 30th, 2009, application number: 200910050294.8, invention and created name: operating theater instruments is used spot size automatic detection device and detection method thereof.
Technical field
The present invention relates to a kind of instrument that operating theater instruments is used spot size that is used for detecting automatically, especially a kind of operating theater instruments based on the machine vision principle is used the spot size automatic testing method.
Background technology
The size detection of operating theater instruments is that application is very general and the problem of actual application value arranged in the operating theater instruments quality control.At present, domestic operating theater instruments manufacturing enterprise mainly takes the manual measurement method, as the size detection of the apparatus that undergos surgery by instruments such as vernier caliper, milscales.That this traditional artificial vision detects is consuming time, labour intensive and efficient are low, and personal error is inevitable.
Summary of the invention
The present invention will provide a kind of operating theater instruments to use the spot size automatic testing method, these apparatus and method can detect the front, side of the operating theater instruments width value from the downward 3mm in top effectively, the curved side top of curved operating theater instruments is arrived lateral extent equivalent value, with this fast and accurately testing product whether adhere to specification, and have high precision, fast, the contactless characteristics of speed.
Technical scheme of the present invention is:
A kind of operating theater instruments is used the spot size automatic detection device, comprises computing machine, video camera, and detection platform, illuminator, demarcation gauge block anchor clamps, width detection anchor clamps, height/thickness detect anchor clamps, camera fixing device, demarcation gauge block;
Video camera is made up of cmos image sensor and CMOS camera; Described camera fixing device comprises camera pedestal, guide rail slide block, guide rail, guiderail base, pass through the fixedly connected helical teeth column of guiderail base guide rail above the detection platform, the helical teeth groove of column guide rail is connected and fixed the guide rail slide block, the fixedly connected camera pedestal in guide rail slide block front, fixed cameras above the camera pedestal; Above the detection platform, the fixing gauge block anchor clamps of demarcating below the video camera are demarcated gauge block anchor clamps front the width detection anchor clamps are installed, and a left side connects and height/thickness is installed detects anchor clamps; Place illuminator under the video camera on the platform, camera lens center, the center at gauge block anchor clamps center, demarcation gauge block and detection position of demarcating are on same perpendicular line; Video camera is connected by the USB2.0 USB (universal serial bus) with computing machine.
Computer operating system is WindowsXP+SP2, and used software is the detection software based on Visual C++ 6.0.
The highest resolution of cmos image sensor is 2048*1536, and Pixel Dimensions is 3.2
Figure 2010105470217100002DEST_PATH_IMAGE001
* 3.2
Figure 189023DEST_PATH_IMAGE001
, optical dimensions is 1/2 inch, signal to noise ratio (S/N ratio)〉and 42dB, dynamic range〉60dB, susceptibility is 1V/lux-sec under the light source of 550nm.
The focal length of the optical lens of CMOS camera is 55mm, image full-size: 8.8mm*6.6mm, aperture: F2.8-F32C, focus: 0.14m-Inf, operating distance: 140mm-Inf, optical magnification 0.5x.
Illuminator is a LED high brightness back side light source.
The computer data delivery outlet connects display or printer.
A kind of operating theater instruments is used the spot size automatic testing method, and it is as follows specifically to detect step:
(1) image acquisition
Cmos sensor is gathered original image, and original image is carried out opening operation, and promptly corrosion is expanded again earlier, to eliminate noise spot;
(2) system calibrating
Use the demarcation gauge block to carry out system calibrating, draw the developed width of every pixel representative;
(3) Flame Image Process
(1) use the position to locate automatically
Employing comes the tip position of positioning operation apparatus to obtain the ordinate P on operating theater instruments top based on the automatic positioning method of binary chop.
The use position of operating theater instruments is positioned at downward 3mm place, its top, and formula draws the ordinate Q that uses the position below utilizing:
Q=3mm/K+P, wherein: K is the actual physical size of single pixel representative,
The crossline direction that with Q is ordinate is carried out sub-pixel precision one dimension edge extracting, and the distance between two edges is the use spot size;
(2) sub-pixel edge detects
1) coarse positioning
Select the ideal edge filter D eriche boundary filter that satisfies the Canny criterion and can realize with recursive fashion for use:
Figure 795584DEST_PATH_IMAGE002
Figure 2010105470217100002DEST_PATH_IMAGE003
To the Deriche boundary filter and Yan Zeshi
Figure 415047DEST_PATH_IMAGE004
The level and smooth degree of more little correspondence is big more;
2) fine positioning
Adopt the method for parabola of fit maximizing to realize the sub-pixel precision of marginal point is extracted: the local maximum region that at first detects edge amplitude, near maximal value, find three points then, come para-curve of match by these three points, this parabolical maximal value is exactly the marginal position of sub-pixel precision.
The invention has the beneficial effects as follows: apparatus of the present invention are by real time computer control, and cmos camera is controlled by software-driven, observe the image that operating theater instruments is used the position by system initialization and real-time display module; At the needs that value is measured, carry out system calibrating earlier before each the measurement; Image is carried out processing such as denoising, sub-pixel edge extraction; Use automatic positioning technology again and write software interface, testing result can intuitively show by display.
This device is a cover accurate detection device, can solve operating theater instruments and use the location detection problem, improves product percent of pass and security, avoids artificial erroneous judgement, improves detection efficiency, guarantees the quality of product.Therefore, have that accuracy height, speed are fast, the advantage of decoration structure features simple design, be fit to promote the use of.
Description of drawings
Fig. 1 is the front view of operating theater instruments;
Fig. 2, Fig. 3 are the right views of Fig. 1;
Fig. 4 is apparatus of the present invention scenario-frame synoptic diagram;
Fig. 5 is apparatus of the present invention structural upright general assembly synoptic diagram;
Fig. 6 is a workflow diagram of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
As shown in Figure 4, operating theater instruments is used the spot size automatic detection device, comprises computing machine 1, and video camera 2, illuminator 3, demarcation gauge block anchor clamps 4, width detection anchor clamps 5, height/thickness detect anchor clamps 6, camera fixing device 7, demarcate gauge block.Video camera 2 is made up of cmos image sensor and CMOS camera.
As shown in Figure 5, camera fixing device 7 comprises camera pedestal 8, guide rail slide block 9, guide rail 10, guiderail base 11, detection platform 12, fixed guide base 11 on the detection platform 12, be provided with helical teeth column guide rail 10 above the guiderail base 11, the helical teeth groove of helical teeth guide rail 10 is connected and fixed guide rail slide block 9, be provided with camera pedestal 8 above the guide rail slide block 9, camera pedestal 8 fixed cameras 2, guiderail base 11 the place aheads are provided with demarcates gauge block anchor clamps 4, be fixed with on the platform 12 and demarcate gauge block anchor clamps 4, width detection anchor clamps 5, height/thickness detects anchor clamps 6, place illuminator 3 under the video camera 2 on the platform 12, be fixed on video camera 2 optical centers on the camera pedestal 8, demarcate gauge block anchor clamps 4 centers, the center of demarcating gauge block 13 and tested operating theater instruments use position is on same perpendicular line; Described video camera 2 is connected by the USB2.0 USB (universal serial bus) with computing machine 1; Described computing machine 1 operating system is WindowsXP+SP2, and used software is based on Visual C++ 6.0 independently developed detection softwares.
This device adopts the CMOS(complementary metal oxide semiconductor (CMOS), Complementary Metal-Oxide Semiconductor) video camera 2 images acquired of sensor devices formation, design unification, succinct light path voluntarily and cooperated the mechanical hook-up of all types of measured object, use multiple digital image processing method and feature identification technique, realized that operating theater instruments use spot size detects automatically.
(1) the conformability height of cmos image sensor and peripheral circuit, volume is less, and power consumption is lower, and transmission speed can be very fast.The high resolution digital camera 2 that adopts has been finished the integration of ADC, capture card, control chip and circuit, volume is little, in light weight, easy to carry, and and the interface of computing machine 1 adopts the USB2.0 USB (universal serial bus), transmission speed is up to 480Mb/s, is fit at a high speed, real-time designing requirement.
To reach high precision in order allowing detect, should to improve the resolution of institute's pickup image as far as possible, and avoid the image border distortion, these requirements have determined the parameter of optical device.
Figure 2010105470217100002DEST_PATH_IMAGE005
(2) Zhuan Ye LED ruddiness back lighting light source, the uniform parallel rays of emissive porwer.Operating theater instruments uses the position to be metal solid, and light uses the position can make video camera obtain the image with clear clearly demarcated edge from bottom irradiation operating theater instruments.
(3) purpose of design of mechanical hook-up is mainly camera and detected element provides a stable good working environment, so that the accurately collection of location and image.As shown in Figure 5, center with illuminator 3 is a work centre, the center of guarantee video camera 2 optical centers, demarcate gauge block anchor clamps 4 centers, demarcating gauge block and tested operating theater instruments use position is on same perpendicular line, and working face is selected the maximum detection plane of all width that detect positions.Utilize guide rail slide block 9 to realize the adjusting of operating distance.
(4) workflow of whole device (Fig. 6) is as follows:
Initialization apparatus (internal memory zero clearing, camera inner parameter are reduced to virgin state etc.); Images acquired is to internal memory (in real time and single frames collection, stop, reading, store); System calibrating (developed width of every pixel representative in the uncalibrated image); Flame Image Process (using computings such as corrosion and expansion); Detecting the position locatees automatically; Measurement size; Differentiate the product quality.
The running environment of system software is: the Duo 2 four nuclear Q6600 Dell Computers of 2GB internal memory, 250GB hard disk, operating system is the WindowsXP+SP2 Chinese edition, adopts Visual C++ 6.0 making softwares.This system software can be provided with a plurality of parameters (resolution, image window, exposure, gain, white balance, Gamma correction etc.) with the real-time regulated camera, makes the image acquisition quality reach best, extracts feature from the digital picture that obtains; This system software also can use the metric system gauge block to carry out system calibrating, realizes accurately range finding, and range error is no more than ± 0.01mm; Thereby realize high accuracy, high-precision test, perfect in shape and function, reliable, friendly interface, easy to use.
(5) device gordian technique-digital image processing techniques
This device has proposed a kind of method of using the position to detect automatically based on the operating theater instruments of image processing techniques from the angle of computer vision.Concrete flow process is as follows:
(1) cmos sensor is gathered original image, and original image is carried out opening operation, and promptly corrosion is expanded again earlier, to eliminate most of noise spot;
(2) use the demarcation gauge block to carry out system calibrating, draw the developed width of every pixel representative;
(3) the use spots localization of image and the rim detection core that is software systems, adopt the use position of automatic positioning method positioning operation apparatus efficiently, and utilization sub-pixel edge detection method, extract operating theater instruments and use the one dimension edge at position to measure.
1. use the position automatic positioning method
Employing comes the tip position of positioning operation apparatus based on the automatic positioning method of binary chop.
Concrete principle is as follows: with the operating theater instruments front elevation is example, and the ordinate of definition image is the ordinal number of ordered series of numbers element, and the operating theater instruments width dimensions of each ordinate correspondence is the value of this sequence number element.The width dimensions on operating theater instruments top is 0 pixel in theory.When judging the operating theater instruments top is obscured mutually with blank space for avoiding searching, width with the operating theater instruments top is a success conditions less than 1 pixel, and the difference with the head and the tail ordinal number of current seek area is a stop condition smaller or equal to 1, and binary chop can find the ordinate P on operating theater instruments top in the short time in the ordinate sequence of entire image.
The ordinate P of binary chop positioning operation instrument tip, and the use position of operating theater instruments is positioned at downward 3mm place, its top, formula draws the ordinate Q that uses the position below therefore utilizing:
Q=3mm/K+P (K is the actual physical size of single pixel representative)
Carry out sub-pixel precision one dimension edge extracting in the crossline direction that with Q is ordinate, the distance between two edges is the use spot size.
2. sub-pixel edge detection method
1) coarse positioning
Select the ideal edge filter D eriche boundary filter that satisfies the Canny criterion and can realize with recursive fashion for use:
Figure 976566DEST_PATH_IMAGE002
Figure 713578DEST_PATH_IMAGE003
To the Deriche boundary filter and Yan Zeshi The level and smooth degree of more little correspondence is big more.
2) fine positioning
Adopt the method for parabola of fit maximizing to realize the sub-pixel precision of marginal point is extracted.At first detect the local maximum region of edge amplitude, near maximal value, find three points then, come para-curve of match by these three points.This parabolical maximal value is exactly the marginal position of sub-pixel precision.
At present, domestic operating theater instruments manufacturing enterprise mainly takes the manual measurement method, as the size detection of the apparatus that undergos surgery by instruments such as vernier caliper, milscales.That this traditional artificial vision detects is consuming time, labour intensive and efficient are low, and personal error is inevitable.
According to actual working environment, image resolution ratio is 2048*1536, normal picking rate, choose best conditions of exposure and gain coefficient, white balance adjusting adopts under the condition of the empirical value of testing, and online detection is carried out, rate of accuracy reached 90% in operation instrumentation position, averaging time, 513ms was respond well.
Device of the present invention can detect front (Fig. 1) the width value A, side (Fig. 2) of the operating theater instruments one-tenth-value thickness 1/10 B from the downward 3mm in top effectively, the curved side top of curved operating theater instruments (Fig. 3) is to value such as offside distance C, with this fast and accurately testing product whether adhere to specification.Method of the present invention has improved production practices efficient, has developed the application of digital image processing techniques, has that accuracy height, speed are fast, the advantage of decoration structure features simple design, is fit to promote the use of.

Claims (1)

1. an operating theater instruments is used the spot size automatic testing method, it is characterized in that it is as follows specifically to detect step:
(1) image acquisition
Cmos sensor is gathered original image, and original image is carried out opening operation, and promptly corrosion is expanded again earlier, to eliminate noise spot;
(2) system calibrating
Use the demarcation gauge block to carry out system calibrating, draw the developed width of every pixel representative;
Flame Image Process
A. use the position to locate automatically
Employing comes the tip position of positioning operation apparatus to obtain the ordinate P on operating theater instruments top based on the automatic positioning method of binary chop;
The use position of operating theater instruments is positioned at downward 3mm place, its top, and formula draws the ordinate Q that uses the position below utilizing:
Q=3mm/K+P, wherein: K is the actual physical size of single pixel representative,
The crossline direction that with Q is ordinate is carried out sub-pixel precision one dimension edge extracting, and the distance between two edges is the use spot size;
Sub-pixel edge detects
1) coarse positioning
Select the ideal edge filter D eriche boundary filter that satisfies the Canny criterion and can realize with recursive fashion for use:
Figure 2010105470217100001DEST_PATH_IMAGE001
Figure 204998DEST_PATH_IMAGE002
To the Deriche boundary filter and Yan Zeshi
Figure 2010105470217100001DEST_PATH_IMAGE003
The level and smooth degree of more little correspondence is big more;
2) fine positioning
Adopt the method for parabola of fit maximizing to realize the sub-pixel precision of marginal point is extracted: the local maximum region that at first detects edge amplitude, near maximal value, find three points then, come para-curve of match by these three points, this parabolical maximal value is exactly the marginal position of sub-pixel precision.
CN2010105470217A 2009-04-30 2009-04-30 Automatic method for detecting dimension of use part of surgical instrument Pending CN102052896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105470217A CN102052896A (en) 2009-04-30 2009-04-30 Automatic method for detecting dimension of use part of surgical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105470217A CN102052896A (en) 2009-04-30 2009-04-30 Automatic method for detecting dimension of use part of surgical instrument

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100502948A Division CN101576372A (en) 2009-04-30 2009-04-30 Automatic detection device for size of used position of surgical instrument and detection method thereof

Publications (1)

Publication Number Publication Date
CN102052896A true CN102052896A (en) 2011-05-11

Family

ID=43957464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105470217A Pending CN102052896A (en) 2009-04-30 2009-04-30 Automatic method for detecting dimension of use part of surgical instrument

Country Status (1)

Country Link
CN (1) CN102052896A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102494616A (en) * 2011-11-22 2012-06-13 捷开通讯科技(上海)有限公司 Length measuring device based on mobile terminal and method thereof
CN102809347A (en) * 2011-06-01 2012-12-05 鸿富锦精密工业(深圳)有限公司 Multiplying-power multi-form scale marking system and method
CN103278092A (en) * 2013-06-09 2013-09-04 上海理工大学 Connecting piece detecting system based on machine vision
CN109506573A (en) * 2018-12-17 2019-03-22 湖北三江航天万山特种车辆有限公司 A kind of device that quickly components are detected using image-recognizing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102809347A (en) * 2011-06-01 2012-12-05 鸿富锦精密工业(深圳)有限公司 Multiplying-power multi-form scale marking system and method
CN102809347B (en) * 2011-06-01 2016-02-10 赛恩倍吉科技顾问(深圳)有限公司 Under many multiplying powers, multi-form scale indicates system and method
CN102494616A (en) * 2011-11-22 2012-06-13 捷开通讯科技(上海)有限公司 Length measuring device based on mobile terminal and method thereof
CN102494616B (en) * 2011-11-22 2015-01-07 捷开通讯科技(上海)有限公司 Length measuring method based on mobile terminal
CN103278092A (en) * 2013-06-09 2013-09-04 上海理工大学 Connecting piece detecting system based on machine vision
CN109506573A (en) * 2018-12-17 2019-03-22 湖北三江航天万山特种车辆有限公司 A kind of device that quickly components are detected using image-recognizing method

Similar Documents

Publication Publication Date Title
CN101576372A (en) Automatic detection device for size of used position of surgical instrument and detection method thereof
CN101561249B (en) Method for automatically detecting fit dimension of surgical knife blade
CN102538672B (en) CMOS (complementary metal-oxide-semiconductor)-machine-vision-based component size measuring system and measurement test method
CN106441212B (en) Device and method for detecting field angle of optical instrument
CN102768762B (en) Digital camera calibration method targeted to shield tunnel defect digital radiography detection and device thereof
CN203929068U (en) A kind of wide field optical system
CN102063718A (en) Field calibration and precision measurement method for spot laser measuring system
CN108332708A (en) Laser leveler automatic checkout system and detection method
CN107238727B (en) Photoelectric type rotation speed sensor based on dynamic vision sensor chip and detection method
CN103308007A (en) System and method for measuring coplanarity of integrated circuit (IC) pins through multistage reflection and raster imaging
CN201983763U (en) Parameter measurement system of cable insulation layer based on image processing
CN102494663A (en) Measuring system of swing angle of swing nozzle and measuring method of swing angle
CN102052896A (en) Automatic method for detecting dimension of use part of surgical instrument
CN108169757A (en) Center pixel high-precision identification light measurement system and method
CN108844494A (en) Method based on optical means detection glasses curvature of curved surface parameter
US7866820B2 (en) Corneo-scleral topography system
JP5775646B1 (en) Point needle type meter image analysis apparatus, indicator needle type meter image analysis method and program
EP3121588A1 (en) Optical characteristic measuring apparatus
CN105758337A (en) Method for obtaining included angel between a lens plane and an image sensor plane
CN201522265U (en) VCM magnetic steel vision detecting system
CN208187381U (en) Laser leveler automatic checkout system
CN113888651B (en) Dynamic and static visual detection system
CN101120872A (en) Rat sports ability detecting method and system
CN106197365A (en) A kind of optical axis included angle detection method of multiple stage viewing field of camera splicing
CN205120611U (en) Steel sheet surface defect detection system based on linear array camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20110511