CN106500577A - A kind of clinac vane grating method for detecting position - Google Patents

A kind of clinac vane grating method for detecting position Download PDF

Info

Publication number
CN106500577A
CN106500577A CN201610913120.XA CN201610913120A CN106500577A CN 106500577 A CN106500577 A CN 106500577A CN 201610913120 A CN201610913120 A CN 201610913120A CN 106500577 A CN106500577 A CN 106500577A
Authority
CN
China
Prior art keywords
camera
grating
vane
vane grating
software
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
CN201610913120.XA
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.)
Shandong Qianfoshan Hospital
Original Assignee
Shandong Qianfoshan Hospital
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 Shandong Qianfoshan Hospital filed Critical Shandong Qianfoshan Hospital
Priority to CN201610913120.XA priority Critical patent/CN106500577A/en
Publication of CN106500577A publication Critical patent/CN106500577A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/003Measuring arrangements characterised by the use of electric or magnetic techniques for measuring position, not involving coordinate determination

Abstract

The invention discloses a kind of clinac vane grating method for detecting position, measure vane grating displacement, first the image binaryzation for obtaining is processed, the pixel number of in image point-of-interest movement is calculated afterwards, the change of unit pixel point and the proportionality coefficient of actual range is multiplied by, the actual displacement of object movement is tried to achieve;The multi-leaf optical grating displacement importing PC ends for the treatment of plan are compared with actual displacement amount and is obtained a result, the present invention is detected to vane grating in place using computer vision technique, system accuracies are high, simultaneously all blades can be detected, and result can be shown with real-time online, while the requirement to hardware is low, system cost is relatively low, repeatable utilization rate is high, simple to operate, easy to use.

Description

A kind of clinac vane grating method for detecting position
Technical field
The present invention relates to clinac technical field, specially a kind of clinac vane grating position Detection method.
Background technology
Radiotherapy is one of main method of oncotherapy.In Patients During Radiotherapy, vane grating in-placing precision is irradiated to target area The protection of the accuracy of dosage and normal structure organ is significant.It is a lot of to position detecting method to vane grating at present, Wherein mainly there are dosage Film Dosimeter, planar detector arrays method, electronic portal imaging device EPID (EPID).But dosage Film Dosimeter Pendulum position, repeatability, determination of reference point etc. can affect measurement result, and workload is big, and the recycling rate of waterused of film is low.Plane Its measurement area of detector array method is limited, it is impossible to which once to all of blade, situation is detected in place, and EPID is also measurement Area is not big enough, and needs supporting electric translation equipment, higher to hardware requirement.And three of the above method all cannot be to per piece page The situation in place of piece is directly tracked and is analyzed,
In order to overcome above-mentioned deficiency, it is proposed that a kind of clinac vane grating method for detecting position, the system Using computer vision technique, software processing is carried out by the video to collecting, obtain vane grating actual displacement in video Amount, is compared with the multi-leaf optical grating displacement for the treatment of plan, so as to realize that the in-placing precision to vane grating is detected.
Content of the invention
It is an object of the invention to provide a kind of clinac vane grating method for detecting position, above-mentioned to solve The problem proposed in background technology.
For achieving the above object, the present invention provides following technical scheme:A kind of clinac vane grating position Detection method, comprises the following steps:
The first step:Build Computer Vision Platform, including select video acquisition required for industrial camera, camera lens, light source, The installation and debugging of the PC used by video and related software are processed, and fixed plate is placed below vane grating, industrial camera is placed in The center such as vane grating on fixed plate plate;
Second step:Treatment is simulated to patient on accelerator;
3rd step:The sport video that vane grating is gathered using image capture module in software;
4th step:Using software to gained image procossing, vane grating displacement is measured, at the image binaryzation that will first obtain Reason, after calculate the pixel number of the movement of point-of-interest in image, be multiplied by the change of unit pixel point and the ratio of actual range Example coefficient, tries to achieve the actual displacement of object movement;
5th step:The multi-leaf optical grating displacement for the treatment of plan is imported PC ends to compare with actual displacement amount;
6th step:Show result.
Preferably, in the first step, according to the needs of building of Computer Vision Platform, camera is selected to need consideration industry The scan mode of camera, photo-sensitive cell, colored or GTG and signal transmission type;Consider simultaneously and precision is wanted Ask, visual field size, the speed of detection object.Requirement to camera resolution can be calculated by permissible accuracy:
Precision=the visual field (long or wide) ÷ camera pixels (long or wide)
Then camera pixel (long or the wide)=visual field (long or wide) ÷ precision
Camera lens selects to determine that focal length, first calculating meet the enlargement ratio (M) of demand:
Enlargement ratio (M)=Sensor Sizes/FOV
Substitute into and calculate focal length (f) formula:
Focal length (f)=Sensor Sizes*WD/FOV
Wherein Sensor Sizes are photo-sensitive cell size (sizes of camera internal photo-sensitive cell);
FOV is field range (camera can get the actual range of object);
WD is operating distance (distance of camera lens leading edge to body surface).
The focal length for meeting the camera lens reality of demand need to be more than the numerical value.Camera lens catalogue or software inquiry can be passed through also, as long as Required parameter is inserted, appropriate camera lens just can be quickly found out.The self-programmed software adopted in the present invention, it is possible to achieve video Obtain, image procossing, numeric ratio compared with and show.In whole hardware design, it is contemplated that different brands model vane grating size is not Same, meet most vane grating brand and models in selector as far as possible.
Preferably, in the second step, according to the difference of different brands different model vane grating shape size, phase is installed Should be noted that during machine that camera operating distance, viewing field of camera should cover whole vane grating range of movement, for subsequent software process letter Single, fluorescent marker is applied to grating blade tip, is irradiated 2 to 5 minutes using ultraviolet lamp, after remove ultraviolet lamp, will Fixed plate is placed with below vane grating, and camera is fixed in fixed plate, closes radiotherapy room lamp, software connection camera and PC ends, Video module is gathered by the USB of software in dark conditions and gathers video, fluorescer adopts light accumulation type fluorescent paint.
Preferably, in the 3rd step, unit pixel point needs measured in advance with the proportionality coefficient of actual range, and for not It is both needed to determine with brand and model vane grating, determination step is as follows:
(1), collection vane grating moves to terminal (center line) position video from initial (0 displacement) position;
(2) pixel number is measured using software, and the actual displacement of vane grating is by checking vane grating handbook, real Border measurement and system derive three kinds of modes and obtain;
(3), error analysis is taken and repeatedly measures the method that averages.
Compared with prior art, the invention has the beneficial effects as follows:The present invention is using computer vision technique to vane grating Detect in place, system accuracies are high, simultaneously all blades can be detected, and result can be shown with real-time online, with When requirement to hardware low, system cost is relatively low, and it is high to repeat utilization rate, simple to operate, easy to use.
Description of the drawings
Fig. 1 is method of the present invention flow chart;
Fig. 2 is the video acquisition flow chart of the present invention;
Fig. 3 is the ratio measuring software flowchart of the present invention;
Fig. 4 is the displacement measurement software flowchart of the present invention.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The present invention will be further described below in conjunction with the accompanying drawings:
As shown in figure 1, giving clinac vane grating method for detecting position flow chart of the present invention, which includes Step in detail below:
The first step:Build Computer Vision Platform, including select video acquisition required for industrial camera, camera lens, light source, The installation and debugging of the PC used by video and related software are processed, and fixed plate is placed below vane grating, industrial camera is placed in The center such as vane grating on fixed plate plate, using CCD industrial cameras, photo-sensitive cell size is 3 μm -10 μm, and pixel is PAL 768*576 is made as, TSC-system is 640*480, and frame speed is 120 frames, and camera lens visual field is more than 20cm.It is light source to select ultraviolet lamp. Related software is installed at connection camera and PC, PC end, according to the needs of building of Computer Vision Platform, selects camera to need to consider work The scan mode of industry camera, photo-sensitive cell, colored or GTG and signal transmission type;Consider simultaneously and precision is wanted Ask, visual field size, the speed of detection object.Requirement to camera resolution can be calculated by permissible accuracy:
Precision=the visual field (long or wide) ÷ camera pixels (long or wide)
Then camera pixel (long or the wide)=visual field (long or wide) ÷ precision
Camera lens selects to determine that focal length, first calculating meet the enlargement ratio (M) of demand:
Enlargement ratio (M)=Sensor Sizes/FOV
Substitute into and calculate focal length (f) formula:
Focal length (f)=Sensor Sizes*WD/FOV
Wherein Sensor Sizes are photo-sensitive cell size (sizes of camera internal photo-sensitive cell);
FOV is field range (camera can get the actual range of object);
WD is operating distance (distance of camera lens leading edge to body surface).
The focal length for meeting the camera lens reality of demand need to be more than the numerical value.Camera lens catalogue or software inquiry can be passed through also, as long as Required parameter is inserted, appropriate camera lens just can be quickly found out.The self-programmed software adopted in the present invention, it is possible to achieve video Obtain, image procossing, numeric ratio compared with and show.In whole hardware design, it is contemplated that different brands model vane grating size is not Same, meet most vane grating brand and models in selector as far as possible.
Second step:Treatment is simulated to patient on accelerator.
3rd step:IMAQ, as shown in Fig. 2 fluorescent marker is applied to grating blade tip first, glimmering for reaching The bright enough purpose of light, can multiple uniform application.Fluorescer is irradiated 2 to 5 minutes using ultraviolet lamp so as to reach most bright shape State, fixed plate is positioned over below vane grating, and camera is fixed in fixed plate, with vane grating in wait center, pass Radiotherapy room lamp is closed, fluorescent effect is highlighted in dark conditions.PC ends software connection camera, using video acquisition module in software Video is obtained, image is gathered.
In this step, according to different brands model vane grating, appropriate adjustment fixed plate placement location, adjustment camera work Distance, viewing field of camera should cover whole vane grating range of movement.
4th step:Using software to gained image procossing, vane grating displacement is measured.Step is as follows:
(1) ratio measuring, as shown in figure 3, the video acquisition module in using software obtains image, by gained image two-value Change, gray value 128 is selected as the threshold value of binary image;Vane grating original position image is obtained, and mould is processed using barycenter Block obtains original position center-of-mass coordinate, obtains image when vane grating moves to midline position, is obtained using barycenter processing module Midline position center-of-mass coordinate, calculates number of pixels according to two coordinates;Vane grating is inquired about from starting by vane grating handbook Position moves to standard displacement during midline position, while vane grating displacement is surveyed, to check whether in place;With public affairs Formula, standard actual displacement is than number of pixels moral proportionality coefficient.
(2) vane grating displacement measurement, as shown in figure 4, obtain video using video acquisition module in software;Select gray scale Threshold value of the value 128 as binary image;Obtain vane grating moving displacement image;Obtained in image using barycenter processing module Center-of-mass coordinate;The initial center-of-mass coordinate of comparison, calculates number of pixels, is multiplied by proportionality coefficient and obtains actual displacement.
In this step, the measure of proportionality coefficient removes error using repeatedly measuring the method averaged.Many for difference Page grating is both needed to the proportionality coefficient of analytical unit pixel and actual range.
5th step:The multi-leaf optical grating displacement for the treatment of plan is imported PC ends to compare with actual displacement amount;
6th step:Show result, obtain final vane grating result in place.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with Understanding can carry out multiple changes, modification, replacement to these embodiments without departing from the principles and spirit of the present invention And modification, the scope of the present invention be defined by the appended.

Claims (4)

1. a kind of clinac vane grating method for detecting position, comprises the following steps:
The first step:Computer Vision Platform is built, including selecting the industrial camera required for video acquisition, camera lens, light source to process PC used by video and the installation and debugging of related software, below vane grating place fixed plate, industrial camera are placed in fixation The center such as vane grating on plate plate;
Second step:Treatment is simulated to patient on accelerator;
3rd step:The sport video that vane grating is gathered using image capture module in software;
4th step:Using software to gained image procossing, vane grating displacement is measured, first the image binaryzation for obtaining is processed, Calculate the pixel number of point-of-interest movement in image afterwards, be multiplied by the change of unit pixel point and the ratio system of actual range Number, tries to achieve the actual displacement of object movement;
5th step:The multi-leaf optical grating displacement for the treatment of plan is imported PC ends to compare with actual displacement amount;
6th step:Show result.
2. a kind of clinac vane grating method for detecting position according to claim 1, it is characterised in that:Institute State in the first step, according to the needs of building of Computer Vision Platform, select camera to need the scan mode for considering industrial camera, sense Optical element, colored or GTG and signal transmission type;Consider the requirement to precision, visual field size, detectable substance simultaneously The speed of body.Requirement to camera resolution can be calculated by permissible accuracy:
Precision=the visual field (long or wide) ÷ camera pixels (long or wide)
Then camera pixel (long or the wide)=visual field (long or wide) ÷ precision
Camera lens selects to determine that focal length, first calculating meet the enlargement ratio (M) of demand:
Enlargement ratio (M)=Sensor Sizes/FOV
Substitute into and calculate focal length (f) formula:
Focal length (f)=Sensor Sizes*WD/FOV
Wherein Sensor Sizes are photo-sensitive cell size (sizes of camera internal photo-sensitive cell);
FOV is field range (camera can get the actual range of object);
WD is operating distance (distance of camera lens leading edge to body surface).
The focal length for meeting the camera lens reality of demand need to be more than the numerical value.Camera lens catalogue or software inquiry can be passed through also, as long as by institute The parameter of needs is inserted, and just can be quickly found out appropriate camera lens.The self-programmed software adopted in the present invention, it is possible to achieve video is obtained Take, image procossing, numeric ratio compared with and show.In whole hardware design, it is contemplated that different brands model vane grating size is different, Meet most vane grating brand and models in selector as far as possible.
3. a kind of clinac vane grating method for detecting position according to claim 1, it is characterised in that:Institute State in second step, according to the difference of different brands different model vane grating shape size, when camera is installed, should be noted that camera work Make distance, viewing field of camera should cover whole vane grating range of movement, in order to subsequent software process is simple, fluorescent marker is applied Smear grating blade tip, using ultraviolet lamp irradiate 2 to 5 minutes, after remove ultraviolet lamp, by fixed plate place with multipage light Below grid, camera is fixed in fixed plate, is closed radiotherapy room lamp, software connection camera and PC ends, is passed through in dark conditions The USB collection video module collection videos of software, fluorescer adopt light accumulation type fluorescent paint.
4. a kind of clinac vane grating method for detecting position according to claim 1, it is characterised in that:Institute State in the 3rd step, unit pixel point needs measured in advance with the proportionality coefficient of actual range, and for different brands model multipage light Grid are both needed to determine, and determination step is as follows:
(1), collection vane grating moves to terminal (center line) position video from initial (0 displacement) position;
(2) pixel number is measured using software, and the actual displacement of vane grating is surveyed by checking vane grating handbook, reality Amount and system derive three kinds of modes and obtain;
(3), error analysis is taken and repeatedly measures the method that averages.
CN201610913120.XA 2016-10-20 2016-10-20 A kind of clinac vane grating method for detecting position Pending CN106500577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913120.XA CN106500577A (en) 2016-10-20 2016-10-20 A kind of clinac vane grating method for detecting position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913120.XA CN106500577A (en) 2016-10-20 2016-10-20 A kind of clinac vane grating method for detecting position

Publications (1)

Publication Number Publication Date
CN106500577A true CN106500577A (en) 2017-03-15

Family

ID=58317940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913120.XA Pending CN106500577A (en) 2016-10-20 2016-10-20 A kind of clinac vane grating method for detecting position

Country Status (1)

Country Link
CN (1) CN106500577A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108653938A (en) * 2018-07-09 2018-10-16 山东省肿瘤防治研究院(山东省肿瘤医院) A kind of portable medical linear accelerator room interstitial comments device and double blind evaluation method
CN109589504A (en) * 2018-11-20 2019-04-09 华中科技大学同济医学院附属协和医院 A kind of multi-leaf raster leaf in-placing precision verifying system and its implementation
CN111408073A (en) * 2020-03-24 2020-07-14 宁波同调医学科技有限公司 Method and system for calculating dose of radiotherapy ray planar detector

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5166531A (en) * 1991-08-05 1992-11-24 Varian Associates, Inc. Leaf-end configuration for multileaf collimator
US5818902A (en) * 1996-03-01 1998-10-06 Elekta Ab Intensity modulated arc therapy with dynamic multi-leaf collimation
CN2669903Y (en) * 2003-09-15 2005-01-12 颜廷国 Double rotating multi-sheet analogue positioning grating for verification
CN101510454A (en) * 2008-02-01 2009-08-19 伊利克塔股份有限公司 Fluorescence vision system
CN101520895A (en) * 2009-02-24 2009-09-02 上海大学 Method for automatic switching of pixel displacement and actual displacement in scale image
CN101970043A (en) * 2008-03-14 2011-02-09 反射医疗公司 Method and apparatus for emission guided radiation therapy
CN104147712A (en) * 2014-08-28 2014-11-19 山东交通学院 Vane displacement error detection device of multi-vane collimator
CN104783824A (en) * 2014-01-20 2015-07-22 上海联影医疗科技有限公司 Calibration method for X-ray imaging system
CN106345072A (en) * 2016-09-21 2017-01-25 山东师范大学 Real-time detecting method and system for multi-leaf collimator blade position of linear accelerator

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5166531A (en) * 1991-08-05 1992-11-24 Varian Associates, Inc. Leaf-end configuration for multileaf collimator
US5818902A (en) * 1996-03-01 1998-10-06 Elekta Ab Intensity modulated arc therapy with dynamic multi-leaf collimation
CN2669903Y (en) * 2003-09-15 2005-01-12 颜廷国 Double rotating multi-sheet analogue positioning grating for verification
CN101510454A (en) * 2008-02-01 2009-08-19 伊利克塔股份有限公司 Fluorescence vision system
CN101970043A (en) * 2008-03-14 2011-02-09 反射医疗公司 Method and apparatus for emission guided radiation therapy
CN101520895A (en) * 2009-02-24 2009-09-02 上海大学 Method for automatic switching of pixel displacement and actual displacement in scale image
CN104783824A (en) * 2014-01-20 2015-07-22 上海联影医疗科技有限公司 Calibration method for X-ray imaging system
CN104147712A (en) * 2014-08-28 2014-11-19 山东交通学院 Vane displacement error detection device of multi-vane collimator
CN106345072A (en) * 2016-09-21 2017-01-25 山东师范大学 Real-time detecting method and system for multi-leaf collimator blade position of linear accelerator

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张传义: "一种医用直线加速器多叶光栅的位置检测系统的研究", 《中国优秀硕士学位论文全文数据库信息科技Ⅱ辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108653938A (en) * 2018-07-09 2018-10-16 山东省肿瘤防治研究院(山东省肿瘤医院) A kind of portable medical linear accelerator room interstitial comments device and double blind evaluation method
CN109589504A (en) * 2018-11-20 2019-04-09 华中科技大学同济医学院附属协和医院 A kind of multi-leaf raster leaf in-placing precision verifying system and its implementation
CN109589504B (en) * 2018-11-20 2021-02-09 华中科技大学同济医学院附属协和医院 Multi-leaf grating blade in-place precision verification system and implementation method thereof
CN111408073A (en) * 2020-03-24 2020-07-14 宁波同调医学科技有限公司 Method and system for calculating dose of radiotherapy ray planar detector
CN111408073B (en) * 2020-03-24 2021-12-31 宁波同调医学科技有限公司 Method and system for calculating dose of radiotherapy ray planar detector

Similar Documents

Publication Publication Date Title
CN102353519B (en) Resolving power evaluation method for three-generation dim light image intensifier
WO2021063062A1 (en) Live-line testing system for power grid apparatus, thermal infrared imager, and method
CN111337142A (en) Body temperature correction method and device and electronic equipment
CN104976960B (en) A kind of raindrop physical characteristic observation procedure
CN102635056B (en) Measuring method for construction depth of asphalt road surface
CN104729718B (en) A kind of processing system and method for infrared imaging system NETD
CN108647677A (en) The ammeter appearance and performance intelligent detecting method and device that view-based access control model calculates
CN106345072B (en) The real-time detection method and system of a kind of linear accelerator multi-leaf raster leaf position
CN107884005B (en) The optical measuring system and measurement method of a kind of simulation human eye focus ring border perception
CN114323571B (en) Multi-optical-axis consistency detection method for photoelectric aiming system
KR100939079B1 (en) System for mesurement of the snowfall and method for mesurement of the snowfall
CN107403177A (en) Brightness measurement method based on industrial camera
CN107356202A (en) A kind of laser scanning measurement system target sights method automatically
CN102456142A (en) Analysis method for smoke blackness based on computer vision
CN103278143A (en) Machine version-based zero position walking momentum testing device and machine vision-based zero position walking momentum testing method
CN107092905B (en) Method for positioning instrument to be identified of power inspection robot
CN106500577A (en) A kind of clinac vane grating method for detecting position
CN110958450A (en) Imaging system space testing device and contrast and frequency testing method
CN104596638B (en) High-resolution multi-wavelength laser intensity distribution detector and measurement method implemented by same
CN112595236A (en) Measuring device for underwater laser three-dimensional scanning and real-time distance measurement
CN105391998B (en) Automatic detection method and apparatus for resolution of low-light night vision device
CN113192063B (en) Bridge line-shaped monitoring system and bridge line-shaped monitoring method
CN214097211U (en) Transparent plate glass's defect detecting device
CN104913726B (en) LED based slope model face system for monitoring displacement and detection method
CN108200424B (en) Debugging method and system for aligning visual axes of multiple TDI CCD detectors

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication