WO2020172781A1 - Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system - Google Patents

Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system Download PDF

Info

Publication number
WO2020172781A1
WO2020172781A1 PCT/CN2019/076102 CN2019076102W WO2020172781A1 WO 2020172781 A1 WO2020172781 A1 WO 2020172781A1 CN 2019076102 W CN2019076102 W CN 2019076102W WO 2020172781 A1 WO2020172781 A1 WO 2020172781A1
Authority
WO
WIPO (PCT)
Prior art keywords
patient
head
model
camera
magnetic stimulation
Prior art date
Application number
PCT/CN2019/076102
Other languages
French (fr)
Chinese (zh)
Inventor
孙聪
王波
蔡胜安
Original Assignee
武汉资联虹康科技股份有限公司
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 武汉资联虹康科技股份有限公司 filed Critical 武汉资联虹康科技股份有限公司
Priority to PCT/CN2019/076102 priority Critical patent/WO2020172781A1/en
Priority to CN201980001180.6A priority patent/CN110896611B/en
Publication of WO2020172781A1 publication Critical patent/WO2020172781A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N2/00Magnetotherapy
    • A61N2/02Magnetotherapy using magnetic fields produced by coils, including single turn loops or electromagnets
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N2/00Magnetotherapy
    • A61N2/004Magnetotherapy specially adapted for a specific therapy
    • A61N2/006Magnetotherapy specially adapted for a specific therapy for magnetic stimulation of nerve tissue

Definitions

  • the invention belongs to the technical field of transcranial magnetic stimulation medical treatment, in particular to a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system.
  • Transcranial Magnetic Stimulation is a technique that uses a pulsed magnetic field to generate an electric current in the local cerebral cortex to temporarily activate or inhibit the cortex.
  • the operation of transcranial magnetic stimulation treatment equipment is to treat patients through manual operation or stent fixation to control the TMS coil.
  • Manual operation is very inconvenient. It takes a long time to hold the coil or use the bracket to fix a specific angle; the patient’s experience is not good, and the patient does not dare to move while sitting and maintaining the posture. After moving, it needs to be repositioned; manual positioning is cumbersome and not accurate enough. Thus, the treatment effect of patients is greatly reduced. Therefore, there is an urgent need for a navigation system capable of automatically navigating the movement of the manipulator so as to automatically treat the magnetic stimulation points on the patient's head.
  • a more accurate positioning method can be a transcranial magnetic stimulation navigation system.
  • a machine vision positioning navigation system such as the Chinese patent "Transcranial Magnetic Stimulation Navigation System and Transcranial Magnetic Stimulation Coil Positioning Method” 201210281507.X , 201210281472.X; the other is an optical positioning navigation system, such as the Chinese patent "a navigational transcranial magnetic stimulation treatment system” 201010235826.8, "a calibration device and method for repetitive transcranial magnetic stimulation optical positioning navigation system” 201010235828.7.
  • the machine vision positioning and navigation system requires a positioning cap.
  • the thickness of the positioning cap increases the distance between the coil and the cerebral cortex, increases the stimulation intensity, and causes a waste of energy, especially when transcranial magnetic stimulation and EEG recording are required at the same time.
  • Positioning caps and EEG electrode caps will increase the distance between the coil and the cerebral cortex.
  • the patent application number 201710467812.0 discloses a transcranial magnetic stimulation treatment device, including a TMS coil, a stent, a mechanical arm, a controller, and a positioning device; the positioning device detects the position of the human head and the TMS coil, and sends the position to Controller, the controller controls the six driving mechanisms of the robotic arm to rotate corresponding angles. Because the robotic arm has six degrees of freedom, the TMS coil can stimulate the entire brain area; however, the positioning device in the patent uses two Infrared camera and a processor, its position information is not accurate enough to accurately locate the position of the magnetic stimulation point of the patient's head, so that the robotic arm cannot be accurately navigated to the patient's head to be stimulated. Magnetic stimulation treatment is performed on the magnetic stimulation points, thereby reducing the therapeutic effect.
  • the purpose of the present invention is to solve the problems existing in the prior art and provide a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system.
  • the 3D camera can effectively obtain the patient's facial color image, infrared image and depth image, and obtain the patient based on these images
  • the TMS coil to the magnetic stimulation point of the patient's head for treatment
  • solve the human error caused by holding the TMS coil for a long time in the prior art and the operation inconvenience brought to medical staff at the same time solve
  • the inaccurate navigation path of the robotic arm caused by the inaccurate positioning of the magnetic stimulation point of the magnetic stimulation on the patient's head by the positioning device results in the problem that the treatment effect is not significant.
  • a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system including a lying bed, a headrest, a 3D camera, a 3D scanner, a manipulator, a TMS coil, and an intelligent terminal; the 3D camera, 3D scanner, manipulator, and TMS coil are respectively Electrical connection with smart terminal;
  • the lying bed can move back and forth to adjust the relative position of the patient's head and the camera;
  • the headrest mainly functions as a bracket, and the support site is the skull, and also includes the neck.
  • the function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the back of the head;
  • the 3D camera is used to obtain the spatial pose of the patient's head and the manipulator, so as to navigate the manipulator;
  • the manipulator is used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment;
  • the navigation method of the navigation system includes the following steps:
  • S3 Match the position of the patient's head model with the actual position of the patient's head through the 3D camera and the smart terminal, and determine the spatial position of the magnetic stimulation point on the patient's head model to be magnetically stimulated;
  • step S5 Put the device model built in step S4 and the patient head model built in step S2 in the same spatial coordinate system; and then calculate through the smart terminal that the TMS coil model arrives on the head model for magnetic stimulation
  • the smart terminal automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the magnetic stimulation point on the patient's head for treatment.
  • step S3 the method of matching the position of the patient's head model with the actual position of the patient's head includes the following steps:
  • step S33 Perform a matching calculation between the facial feature points marked in step S31 and the facial feature points identified in step S32 to obtain the rotation and translation relationship between the patient's head and the patient's head model;
  • S34 Perform rotation and translation operations on the patient's head mold according to the rotation and translation relationship, so that the position of the patient's head mold matches the actual position of the patient's head.
  • step S4 after modeling the manipulator, TMS coil and 3D camera, the spatial positions of the manipulator model, TMS coil model, and 3D camera model need to be compared with the actual spatial positions of the manipulator, TMS coil, and 3D camera.
  • Matching the specific matching method is:
  • step S43 Perform matching calculation on the feature points marked in step S41 and the feature points identified in step S42 to obtain the rotation and translation relationship between the manipulator model and the manipulator;
  • step S45 Perform rotation and translation operations on the manipulator model, TMS coil model, and 3D camera model according to the rotation and translation relationship in step S43 and step S44, so that the manipulator model, TMS coil model, and 3D camera model are positioned in space They are matched with the actual spatial positions of the manipulator, TMS coil and 3D camera.
  • the navigation method further includes a following positioning step, and the following positioning step includes: fine-tuning the spatial pose of the patient's head model through the smart terminal so that the spatial pose of the patient's head model is the same as that of the patient's head.
  • the current actual spatial pose is matched, and then the latest magnetic stimulation point is repositioned on the head model, and finally the moving path of the manipulator is re-planned, and the TMS coil is moved to the latest magnetic stimulation point for treatment.
  • the present invention also provides a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system, including a 3D scanner, a positioning cap, and an intelligent terminal.
  • the 3D scanner and the intelligent terminal are electrically connected; the head model modeling system
  • the modeling method includes the following steps:
  • S1 The patient wears the positioning cap, starts the smart terminal, collects 3D image data of the patient's head from various directions through the 3D scanner, and sends the collected 3D image data to the smart terminal;
  • the 3D scanner includes a 3D camera and a rotating bracket, the 3D camera is mounted on the rotating bracket, the rotating bracket is driven to rotate by a motor, and the motor is electrically connected to the smart terminal;
  • the intelligent terminal controls the motor to drive the rotating bracket to rotate at a constant speed, so that the 3D camera moves in a circular motion around the patient's head at a constant speed, and collects 3D image data of the patient's head from all directions.
  • the 3D scanner may also include several 3D cameras and a fixed bracket, and the several 3D cameras are all installed on the fixed bracket; when collecting 3D image data of the patient's head, the smart terminal controls the plurality of 3D cameras. Three 3D cameras simultaneously collect 3D image data of the patient's head from different directions.
  • the image data captured by the 3D camera includes color images, depth images, and 3D point cloud images.
  • the 3D camera is set above the patient's face and can fully incorporate the patient's face into the shooting range.
  • the positioning cap is a white hood made of elastic material, which is used to cover the patient’s hair; because the 3D scanner cannot scan black hair without heat, it needs to be covered by the white hood Hair, exposing the facial features and forehead of the patient, and marking the characteristic points (brow center, nose tip, etc.); the positioning cap is flexible, suitable for a wide range of people, and convenient to wear; the positioning cap is provided with several Mark points, which is convenient for 3D camera to collect images data.
  • step S2 the method for integrating the 3D image data collected from various directions is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then using 3D
  • the point cloud ICP algorithm obtains the spatial position relationship between the point cloud images collected in various directions, and finally, according to the matching relationship and the spatial position relationship, all the point cloud image data are rotated and translated to obtain a complete head of the patient 3D point cloud image.
  • the mapping method is to compare the four points NZ, CZ, AL, and AR on the patient's head with the four points on the skull model to obtain the skull model conversion matrix, and then transfer the data in the MNI space
  • the point of is multiplied by the transformation matrix to obtain the coordinate points of the patient’s head model; where NZ represents the root of the nose, AL represents the left ear, AR represents the right ear, and CZ represents the line connecting the root of the nose and the occipital protuberance to the left and right ears. The intersection of the lines.
  • the present invention also provides a camera-based transcranial magnetic stimulation diagnosis and treatment detection system, which is used to locate the spatial position of the magnetic stimulation points on the patient's head;
  • the detection system includes: a 3D camera, a lying bed, a headrest and a smart The terminal; the 3D camera is used to capture the facial image of the patient, and the facial image of the patient is matched with the 3D head model through the smart terminal to obtain the magnetic stimulation point positioning information for transcranial magnetic stimulation diagnosis and treatment.
  • the detection method of the detection system includes the following steps:
  • the patient lies flat on the reclining bed, and adjusting the front and back positions of the reclining bed so that the reclining bed reaches the treatment position;
  • the 3D camera is used to take image data of the patient's head, and the intelligent terminal is used to model the head to establish a 3D head model of the patient's head;
  • the 3D camera is used to take a real-time facial image of the patient
  • the smart terminal is used to perform pose matching
  • the real-time facial image is matched with the established 3D head model for position matching, which further includes:
  • the facial feature points used for matching are marked in the 3D head model;
  • the facial feature points of the patient's real-time facial image are automatically recognized by the 3D camera;
  • the conversion matrix is obtained by affine transformation through feature point matching, and the patient's real-time facial image is calculated
  • the conversion relationship with the established 3D head mold calculate the position of the 3D head mold in space; calculate the position coordinates of the magnetic stimulation points on the 3D head mold in space.
  • the detection method further includes: during the magnetic stimulation treatment of the patient's head, the smart terminal also uses a 3D camera to follow the positioning of the patient's head; during the treatment, it will record each time the positioning is completed.
  • the position information of the magnetic stimulation point on the patient's head If the distance between the current and the previous magnetic stimulation point is more than 5mm due to the patient's head movement in the next moment, follow-up positioning is started; if it is not more than 5mm, follow-up positioning is not started .
  • the present invention has the following beneficial effects: (1)
  • the present invention uses a 3D camera and an intelligent terminal to model the patient's head, and matches the patient's head model with the patient's head, and then calculates through the intelligent terminal The optimal path for the TMS coil model to reach the magnetic stimulation point on the head mold to be magnetically stimulated, the intelligent terminal then automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the patient’s head for magnetic stimulation.
  • the stimulation point is used for treatment; thereby reducing the burden on the doctor, without holding the coil for a long time, avoiding the influence of human factors on the treatment effect;
  • the present invention can detect the space of the patient’s head in real time through the 3D camera during the treatment process
  • the position and posture of the patient’s head model are fine-tuned in real time, and the latest magnetic stimulation points are updated in real time to ensure the accuracy of treatment.
  • there is no restriction on the posture of the patient’s head which effectively improves the patient’s experience .
  • FIG. 1 is a schematic flowchart of a navigation method of a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnostic and treatment head model modeling system according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnostic and treatment head model modeling system according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of the arrangement of camera installation positions according to another embodiment of the present invention.
  • FIG. 6 is a flow chart of a modeling method of a camera-based transcranial magnetic stimulation head model modeling system according to another embodiment of the present invention.
  • FIG. 7 is a method flowchart of a camera-based transcranial magnetic stimulation diagnosis and treatment system according to another embodiment of the present invention.
  • connection should be understood in a broad sense.
  • it can be a mechanical connection or an electrical connection, or the internal communication between two components, which can be directly connected, or through an intermediate connection.
  • the media is indirectly connected, and those of ordinary skill in the art can understand the specific meanings of the above-mentioned terms according to specific circumstances.
  • this embodiment provides a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system, including a lying bed, a headrest, a 3D camera, a 3D scanner, and a manipulator , TMS coil and smart terminal; the 3D camera, 3D scanner, manipulator, and TMS coil are respectively electrically connected to the smart terminal; the smart terminal may be a computer;
  • the lying bed is a horizontal translation platform, which can move back and forth, and is used to adjust the relative position of the patient's head and the camera;
  • the headrest mainly functions as a bracket, the supporting site is the skull, and also includes the neck.
  • the function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the back of the head;
  • the 3D camera is used to obtain the spatial pose of the patient's head and the manipulator, so as to navigate the manipulator;
  • the manipulator is used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment;
  • the navigation method of the navigation system includes the following steps:
  • S3 Match the position of the patient's head model with the actual position of the patient's head through the 3D camera and the smart terminal, and determine the spatial position of the magnetic stimulation point on the patient's head model to be magnetically stimulated;
  • step S5 Put the device model built in step S4 and the patient head model built in step S2 in the same spatial coordinate system; and then calculate through the smart terminal that the TMS coil model arrives on the head model for magnetic stimulation
  • the optimal path of the point the shortest moving distance and no collision with other devices during the movement
  • the smart terminal then automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the patient
  • the head is to be treated by magnetic stimulation at the magnetic stimulation point.
  • modeling the patient's head includes the following steps:
  • S22 Integrate the 3D image data through the smart terminal to obtain a complete 3D point cloud image of the patient's head, and then obtain complete 3D head model data of the patient's head after sampling, smoothing, and plane fitting;
  • the method of integrating the 3D image data is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then obtaining the point clouds collected in each direction through the ICP algorithm of the 3D point cloud The spatial position relationship between the images, and finally all the point cloud image data are rotated and translated according to the matching relationship and the spatial position relationship to obtain a complete 3D point cloud image of the patient's head;
  • step S3 the 3D image captured by the 3D camera in real time only has facial information of the patient, and no head information. Therefore, the head model built in S2 must be registered with the facial data captured in real time. Due to the ICP algorithm The amount of calculation is too large to meet the requirements of real-time detection.
  • the position registration method is to first mark the facial feature points (brow center, earlobe, corner of the eye, nose tip, corner of the mouth and chin) for registration in the head model, and then in the real-time image
  • the facial feature points are automatically recognized, the conversion relationship between the real-time image and the head model is calculated through feature point matching, and the position of the head model in space is calculated, and then the position coordinates of the magnetic stimulation points on the head model in space are calculated; the specific steps are as follows :
  • step S33 Perform a matching calculation between the facial feature points marked in step S31 and the facial feature points identified in step S32 to obtain the rotation and translation relationship between the patient's head and the patient's head model;
  • S34 Perform rotation and translation operations on the patient's head mold according to the rotation and translation relationship, so that the position of the patient's head mold matches the actual position of the patient's head.
  • step S4 SolidWorks software can be used to model the manipulator, TMS coil and 3D camera.
  • the spatial positions of the manipulator model, TMS coil model, and 3D camera model need to be compared with the manipulator, The actual spatial position of the TMS coil and the 3D camera are matched; the specific matching method is:
  • step S43 Perform matching calculation on the feature points marked in step S41 and the feature points identified in step S42 to obtain the rotation and translation relationship between the manipulator model and the manipulator;
  • step S45 Perform rotation and translation operations on the manipulator model, TMS coil model, and 3D camera model according to the rotation and translation relationship in step S43 and step S44, so that the manipulator model, TMS coil model, and 3D camera model are positioned in space They are matched with the actual spatial positions of the manipulator, TMS coil and 3D camera.
  • step S5 the general movement path planning algorithm of the manipulator is relatively complicated. Since the model, obstacles, and path in this embodiment are all known, the method of manually planning the path is adopted, and the distance from the head mold is far (greater than Use a straight path at the position of 30mm), and use a circular path near the head mold (less than/equal to 30mm) to move the TMS coil around the head to the next magnetic stimulation point; since the 3D data of the head mold is known, Therefore, the head mold data can be enlarged to leave a safe distance for operation, and the shortest arc path between two points on the head mold can be calculated.
  • this embodiment provides a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system.
  • the navigation system of this embodiment also has a following positioning function; In the process of navigating the manipulator, even if the posture of the patient's head changes, the 3D camera can be used to follow the posture of the patient's head in real time to ensure the accuracy of the treatment, improve the treatment effect and the patient's experience.
  • the smart terminal also uses a 3D camera to follow the positioning of the patient's head; during the treatment, the position information of the patient's head is recorded every time the positioning is completed, If the distance between the magnetic stimulation point at the current time and the previous time exceeds 5mm due to the movement of the patient’s head at the next moment, follow-up positioning will be activated; if it does not exceed 5mm, follow-up positioning will not be activated; Pause the follow of the 3D camera and the manipulator, and at the same time pause the magnetic stimulation of the TMS coil; if the patient is not within the adjustable range of the 3D camera or leaves, stop the magnetic stimulation action of the manipulator and the coil.
  • the step of following positioning is: fine-tuning the spatial pose of the patient's head model through the smart terminal, so that the spatial pose of the patient's head model is matched with the current actual spatial pose of the patient's head, Then reposition the latest magnetic stimulation point on the head model, and finally re-plan the movement path of the manipulator, and move the TMS coil to the latest magnetic stimulation point for treatment.
  • the invention uses a camera to capture video image data of the patient's head, models the patient's head, and detects and estimates the patient's facial posture based on the modeling data and the captured facial video image to obtain the patient's facial posture According to the facial posture data, the robot will navigate and adjust the TMS treatment magnetic stimulation points, and ensure the precise positioning of the magnetic stimulation points during each treatment without the need to wear a light guide ball, which solves the problem of TMS positioning and repeated positioning .
  • a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system which includes a 3D scanner, a positioning cap, a seat, and a smart terminal.
  • the 3D scanner and the smart terminal are electrically connected ;
  • the smart terminal may be a computer.
  • the 3D scanner includes a 3D camera and a rotating bracket, the 3D camera is mounted on the rotating bracket, the rotating bracket is driven to rotate by a motor, and the motor is electrically connected to the smart terminal ;
  • the intelligent terminal controls the motor to drive the rotating bracket to rotate at a uniform speed, so that the 3D camera moves in a circular motion around the patient's head at a uniform speed, and collects the 3D image data of the patient's head from all directions.
  • the modeling method of the head model modeling system includes the following steps:
  • S1 The patient sits on the seat and wears the positioning cap, starts the smart terminal, collects 3D image data of the patient's head from various directions through the 3D scanner, and then integrates the collected 3D image data Sent to the smart terminal;
  • the positioning cap is a white hood made of elastic material, which is used to cover the patient’s hair; because the 3D scanner cannot scan black hair without heat, it needs to be covered by the white hood Hair, exposing the facial features and forehead of the patient, and marking the characteristic points (brow center, nose tip, etc.); the positioning cap is flexible, suitable for a wide range of people, and convenient to wear; the positioning cap is provided with several Mark points, which is convenient for 3D camera to collect images data.
  • step S2 the method for integrating the 3D image data collected from various directions is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then using 3D
  • the point cloud ICP algorithm obtains the spatial position relationship between the point cloud images collected in various directions, and finally, according to the matching relationship and the spatial position relationship, all the point cloud image data are rotated and translated to obtain a complete head of the patient 3D point cloud image.
  • 3D scan data of the patient's head it is necessary to collect 3D scan data of the patient's head through a 3D camera.
  • a 3D camera takes a photo
  • a color map, a depth map, and a 3D point cloud map are generated.
  • These three images are generated at the same time, so each The points on the image have a fixed correspondence. This correspondence is known and is obtained through the calibration of the camera; 3D scanning is to take a series of images around the patient’s head, and then stitch these images into a complete image.
  • the image stitching needs to find the same parts in the two images and match them; in the 3D camera, the 3D point cloud cannot be obtained for the hair, and the 3D data of the skull is needed in the medical treatment of the head model (no hair), so the patient is in the head model scan You need to wear a specific positioning cap. In order to make the matching more accurate, some mark points are usually set on the cap; 3D scanning finally needs to stitch the 3D point cloud, and the rotation and translation relationship between the point clouds of each image is required for stitching.
  • the splicing of point clouds mainly relies on the ICP algorithm, which sometimes fails, so rough matching is required first.
  • the mapping method is to compare the four points NZ, CZ, AL, and AR on the patient's head with the four points on the skull model to obtain the skull model conversion matrix, and then transfer the data in the MNI space
  • the point of is multiplied by the transformation matrix to obtain the coordinate points of the patient’s head model; where NZ represents the root of the nose, AL represents the left ear, AR represents the right ear, and CZ represents the line connecting the root of the nose and the occipital protuberance to the left and right ears. The intersection of the lines.
  • a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system is provided.
  • the 3D scanner includes three 3D cameras and a fixed bracket.
  • the fixing bracket is provided with three camera mounting positions, the angle between two adjacent camera mounting positions is 120 degrees, and the three 3D cameras are respectively installed on the 3 camera installation positions;
  • the three 3D cameras are controlled by an intelligent terminal to simultaneously collect 3D image data of the patient's head from three directions.
  • the 3D image data of the patient's head is simultaneously collected through three 3D cameras, and the collected data is sent to the intelligent terminal for head modeling, which has good real-time performance.
  • a camera-based transcranial magnetic stimulation diagnosis and treatment system Including lying bed, headrest, 3D camera, 3D scanner, manipulator, TMS coil and smart terminal; the 3D camera, manipulator, and TMS coil are connected to the smart terminal respectively; the smart terminal can choose a computer, notebook, or tablet Wait.
  • the lying bed is a horizontal translation platform, which can move back and forth, and is used to adjust the relative position of the patient's head and the camera.
  • the headrest mainly functions as a bracket, and the supporting site is the skull and also includes the neck.
  • the function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the head.
  • the 3D camera is used to obtain the patient's head posture data and real-time facial posture data. Before the treatment, the 3D camera is used to obtain the patient's head posture data, and the intelligent terminal is used for head 3D modeling; after the treatment is started , Use a 3D camera to obtain the patient's real-time facial data, combine the intelligent terminal to process the real-time facial data, and match the modeled 3D head model with the real-time facial image.
  • the 3D camera is also used to obtain the spatial pose of the manipulator and the TMS coil, so that the manipulator is used for navigation and clamps the TMS coil to the position of the magnetic stimulation point.
  • the manipulator is also used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment.
  • the detection method of the detection system includes the following steps:
  • the patient lies flat on the reclining bed, and adjusting the front and back positions of the reclining bed so that the reclining bed reaches the treatment position;
  • the 3D camera is used to capture the image data of the patient's head, and the intelligent terminal is used for modeling to establish a 3D head model of the patient's head;
  • the 3D camera is used to take a real-time facial image of the patient
  • the smart terminal is used to perform pose matching
  • the real-time facial image is matched with the established 3D head model for position matching, which further includes:
  • the facial feature points for matching are marked in the 3D head model, and the facial feature points are automatically recognized by the camera during the modeling process;
  • the facial feature points of the patient’s real-time facial image are automatically recognized by the 3D camera;
  • the feature points are passed Matching and performing affine transformation to obtain a conversion matrix, calculate the conversion relationship between the patient’s real-time facial image and the established 3D head model; calculate the position of the 3D head model in the camera coordinate system; calculate the magnetic field on the 3D head model The position coordinates of the stimulus point in space.
  • modeling the patient's head includes the following steps:
  • S22 The smart terminal integrates the 3D image data to obtain a complete 3D point cloud image of the patient's head, and then obtains the complete 3D head model data of the patient's head through sampling, smoothing, and plane fitting processing;
  • the 3D image captured by the 3D camera in real time only has facial information of the patient, and no head information. Therefore, the head model built in S2 must be registered with the facial data captured in real time. Due to the ICP algorithm The amount of calculation is too large to meet the requirements of real-time detection.
  • the position registration method is to first mark the facial feature points (corners of the eyes, nose tip, etc.) for registration in the head model, and then automatically identify the facial feature points in the real-time image. Through feature point matching, the conversion relationship between the real-time image and the head mold is calculated, and the position of the head mold in space is calculated, and then the position coordinates of the magnetic stimulation points on the head mold in space are calculated.
  • the conversion relationship includes the rotation and translation relationship between the patient's real-time facial image and the 3D head model in the camera coordinate system.
  • the 3D head model is rotated and translated according to the rotation and translation relationship, and the 3D The head model is matched to the patient's real-time facial image.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Neurology (AREA)
  • Magnetic Resonance Imaging Apparatus (AREA)
  • Magnetic Treatment Devices (AREA)

Abstract

Disclosed is a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system, comprising a patient table, a head pillow, a 3D camera, a 3D scanner, a mechanical arm, TMS coils, and a smart terminal. A navigation method for the navigation system comprises: building, by using the 3D scanner and the smart terminal, a model of a head of a patient; matching a position of the model of the head against an actual position of the head of the patient, and determining a spatial position of a magnetic stimulation point to be magnetically stimulated on the model of of the head of the patient; building models of the mechanical arm, the TMS coils, and the 3D camera; and placing the model of the head of the patient and the models of operable apparatuses in the same spatial coordinate system, calculating an optimal path for the model of the TMS coils to reach the magnetic stimulation point on the model of the head, automatically navigating a movement of the mechanical arm according to the optimal path, and moving the TMS coils to the head of the patient to perform a treatment. The present invention achieves automatic navigation of a movement of a mechanical arm, thereby eliminating influences of human factors on a treatment effect, and also improving patient experience.

Description

一种基于摄像头的经颅磁刺激诊疗导航***A camera-based transcranial magnetic stimulation diagnosis and treatment navigation system 技术领域Technical field
本发明属于经颅磁刺激医疗技术领域,具体是一种基于摄像头的经颅磁刺激诊疗导航***。The invention belongs to the technical field of transcranial magnetic stimulation medical treatment, in particular to a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system.
背景技术Background technique
据中国疾病预防控制中心精神卫生中心统计,目前我国精神疾病患者总数已超过1亿,但公众对精神疾病的知晓率不足5成,就诊率更低。目前这些精神病人得到及时救治的约20%,有80%的精神病人得不到及时救治,甚至得不到最基本的救治,症精神疾病患者人数更是高达1600万人。根据IMS health的最新统计数据,全球精神疾病用药已经超过360亿美元,占药品销售总额的5%。不过,就国内而言,目前的精神疾病用药市场规模仍相对较小,大约占医院销售总额的1.5%左右。我国精神病专科医院已经超过600家,但与日益增长的精神病发病率相比,在数量和质量上与精神病患者需求之间还存在较大差距,仍有为数众多的精神病患者不能得到专业、***、有效的治疗。According to statistics from the Mental Health Center of the Chinese Center for Disease Control and Prevention, the total number of patients with mental illness in my country has exceeded 100 million, but the public's awareness rate of mental illness is less than 50%, and the rate of consultation is even lower. At present, about 20% of these mental patients receive timely treatment, and 80% of the mental patients are not treated in time, or even the most basic treatment. The number of patients with mental illness is as high as 16 million. According to the latest statistics from IMS health, global mental illness medications have exceeded 36 billion US dollars, accounting for 5% of total drug sales. However, domestically, the current mental illness drug market is still relatively small, accounting for about 1.5% of the total hospital sales. There are already more than 600 psychiatric hospitals in my country. However, compared with the increasing incidence of mental illness, there is still a large gap between the quantity and quality and the needs of mental patients. There are still a large number of mental patients who cannot get professional, systematic, and Effective treatment.
经颅磁刺激(Transcranial Magnetic Stimulation,TMS),是一种通过脉冲磁场在局部大脑皮层中产生电流以暂时激活或抑制该皮层的技术。在如今现有的医疗设备领域,关于经颅磁刺激治疗设备的操作都是通过人为操作或支架固定控制TMS线圈,来对患者进行治疗。人工操作很不方便,需要长时间手持线圈或者利用支架固定一个特定角度;患者的体验感不好,坐着保持姿势不敢乱动,乱动后需要重新定位;人工定位比较繁琐也不够精准,从而对患者的治疗效果大打折扣。因此,亟需一种能够自动对机械手的移动进行导航,从而自动对患者头部的磁刺激磁刺激点进行治疗的导航***。Transcranial Magnetic Stimulation (TMS) is a technique that uses a pulsed magnetic field to generate an electric current in the local cerebral cortex to temporarily activate or inhibit the cortex. In the current medical equipment field, the operation of transcranial magnetic stimulation treatment equipment is to treat patients through manual operation or stent fixation to control the TMS coil. Manual operation is very inconvenient. It takes a long time to hold the coil or use the bracket to fix a specific angle; the patient’s experience is not good, and the patient does not dare to move while sitting and maintaining the posture. After moving, it needs to be repositioned; manual positioning is cumbersome and not accurate enough. Thus, the treatment effect of patients is greatly reduced. Therefore, there is an urgent need for a navigation system capable of automatically navigating the movement of the manipulator so as to automatically treat the magnetic stimulation points on the patient's head.
较精确的定位方法可采用经颅磁刺激导航***,目前有两种,一种是机器视觉定位导航***,如中国专利“经颅磁刺激导航***及经颅磁刺激线圈定位方法”201210281507.X,201210281472.X;另一种是光学定位导航***,如中国专利“一种导航经颅磁刺激治疗***”201010235826.8,“一种用于重复经颅磁刺激光学定位导航***的校准装置和方法”201010235828.7。机器视觉定位导航***需要定位帽,定位帽的厚度增加了线圈与大脑皮层的距离,增加了刺激强度,造成能量的浪费,特别是在需要经颅磁刺激和脑电记录同时进行时,同时佩戴定位帽和脑电电极帽会增加更多的线圈与大脑皮层距离。在光学定位导航***中,由于物体对光的阻碍作用,对光学传感器和光源的位置提出了很高的要求,也在一定程度上限制了光学定位***的使用。A more accurate positioning method can be a transcranial magnetic stimulation navigation system. There are currently two, one is a machine vision positioning navigation system, such as the Chinese patent "Transcranial Magnetic Stimulation Navigation System and Transcranial Magnetic Stimulation Coil Positioning Method" 201210281507.X , 201210281472.X; the other is an optical positioning navigation system, such as the Chinese patent "a navigational transcranial magnetic stimulation treatment system" 201010235826.8, "a calibration device and method for repetitive transcranial magnetic stimulation optical positioning navigation system" 201010235828.7. The machine vision positioning and navigation system requires a positioning cap. The thickness of the positioning cap increases the distance between the coil and the cerebral cortex, increases the stimulation intensity, and causes a waste of energy, especially when transcranial magnetic stimulation and EEG recording are required at the same time. Positioning caps and EEG electrode caps will increase the distance between the coil and the cerebral cortex. In the optical positioning navigation system, due to the obstructive effect of the object on the light, high requirements are put forward on the position of the optical sensor and the light source, which also limits the use of the optical positioning system to a certain extent.
申请号为201710467812.0的专利公开了一种经颅磁刺激治疗设备,包括TMS线圈、支架、机械臂、控制器及定位装置;定位装置检测到人体头部与TMS线圈的位置,并将位置发送至控制器,控制器控制机械臂的六个驱动机构旋转相应的角度,由于机械臂具有六个自由度,TMS线圈可以实现整个大脑脑区的刺激;然而该专利中的定位装置采用的是两个红外摄像头和一个处理器,其获得的位置信息不够精准,不能对患者头部磁刺激磁刺激点的位置进行精准定位,从而无法将机械臂精准地导航至患者头部待刺激部位,无法准确地对磁刺激磁刺激点进行磁刺激治疗,从而降低了治疗效果。The patent application number 201710467812.0 discloses a transcranial magnetic stimulation treatment device, including a TMS coil, a stent, a mechanical arm, a controller, and a positioning device; the positioning device detects the position of the human head and the TMS coil, and sends the position to Controller, the controller controls the six driving mechanisms of the robotic arm to rotate corresponding angles. Because the robotic arm has six degrees of freedom, the TMS coil can stimulate the entire brain area; however, the positioning device in the patent uses two Infrared camera and a processor, its position information is not accurate enough to accurately locate the position of the magnetic stimulation point of the patient's head, so that the robotic arm cannot be accurately navigated to the patient's head to be stimulated. Magnetic stimulation treatment is performed on the magnetic stimulation points, thereby reducing the therapeutic effect.
发明内容Summary of the invention
本发明的目的是针对现有技术存在的问题,提供一种基于摄像头的经颅磁刺激诊疗导航***,通过3D摄像头能够有效获取患者面部彩色图像、红外图像和深度图像,并根据这些图像得到患者面部特征点的空间位置,并根据患者面部特征信息构建与患者头部匹配的头部模型,在头模上精准定位磁刺激磁刺激点的位置,并通过导航***能够自动对机械手的移动进行导航,从而自动将TMS线圈移动至患者头部的磁刺激磁刺激点进行治疗;解决了现有技术中通过长时间手持TMS线圈导致的人为误差及给医务人员带来的操作不便性;同时解决了现有专利中由于定位装置对患者头部磁刺激磁刺激点定位不精准导致的机械臂导航路径不精确,最终造成治疗效果不显著的问题。The purpose of the present invention is to solve the problems existing in the prior art and provide a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system. The 3D camera can effectively obtain the patient's facial color image, infrared image and depth image, and obtain the patient based on these images The spatial location of facial feature points, and construct a head model that matches the patient’s head based on the patient’s facial feature information, accurately locate the location of the magnetic stimulation points on the head model, and automatically navigate the movement of the manipulator through the navigation system , Thus automatically move the TMS coil to the magnetic stimulation point of the patient's head for treatment; solve the human error caused by holding the TMS coil for a long time in the prior art and the operation inconvenience brought to medical staff; at the same time solve In the existing patents, the inaccurate navigation path of the robotic arm caused by the inaccurate positioning of the magnetic stimulation point of the magnetic stimulation on the patient's head by the positioning device results in the problem that the treatment effect is not significant.
为实现上述目的,本发明采用的技术方案是:In order to achieve the above objective, the technical solution adopted by the present invention is:
一种基于摄像头的经颅磁刺激诊疗导航***,包括躺式床、头枕、3D摄像头、3D扫描仪、机械手、TMS线圈和智能终端;所述3D摄像头、3D扫描仪、机械手、TMS线圈分别与智能终端电连接;A camera-based transcranial magnetic stimulation diagnosis and treatment navigation system, including a lying bed, a headrest, a 3D camera, a 3D scanner, a manipulator, a TMS coil, and an intelligent terminal; the 3D camera, 3D scanner, manipulator, and TMS coil are respectively Electrical connection with smart terminal;
所述躺式床可以前后移动,用于调整患者头部与摄像头的相对位置;The lying bed can move back and forth to adjust the relative position of the patient's head and the camera;
所述头枕主要起到托架作用,支撑位点为头骨,还包括颈部,起到的作用是限制病人的移动,且不会造成病人的不适,并且不能阻碍头背部的磁刺激;The headrest mainly functions as a bracket, and the support site is the skull, and also includes the neck. The function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the back of the head;
所述3D摄像头用于获取患者头部和机械手的空间位姿,从而对机械手进行导航;The 3D camera is used to obtain the spatial pose of the patient's head and the manipulator, so as to navigate the manipulator;
所述机械手用于夹持TMS线圈对患者头部刺激磁刺激点进行磁刺激治疗;The manipulator is used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment;
所述导航***的导航方法包括以下步骤:The navigation method of the navigation system includes the following steps:
S1,患者平躺在所述躺式床上,开启所述智能终端,通过智能终端调节所述躺式床的前后位置,使所述躺式床到达治疗位置;S1: The patient lies flat on the reclining bed, turning on the smart terminal, and adjusting the front and back positions of the reclining bed through the smart terminal, so that the reclining bed reaches the treatment position;
S2,采用所述3D扫描仪和智能终端对患者头部进行建模;S2, using the 3D scanner and the intelligent terminal to model the patient's head;
S3,通过所述3D摄像头和智能终端将患者的头模的位置与患者头部的实际位置进行 匹配,确定患者头模上待磁刺激磁刺激点的空间位置;S3: Match the position of the patient's head model with the actual position of the patient's head through the 3D camera and the smart terminal, and determine the spatial position of the magnetic stimulation point on the patient's head model to be magnetically stimulated;
S4,通过所述智能终端对机械手、TMS线圈和3D摄像头进行建模;S4, modeling the manipulator, TMS coil, and 3D camera through the smart terminal;
S5,将步骤S4中建好的设备模型与步骤S2中建好的患者头模放在同一个空间坐标系中;再通过所述智能终端计算出TMS线圈模型到达头模上待磁刺激磁刺激点的最佳路径,所述智能终端再根据该最佳路径对机械手的移动进行自动导航,最终将所述TMS线圈移动至患者头部待磁刺激磁刺激点进行治疗。S5: Put the device model built in step S4 and the patient head model built in step S2 in the same spatial coordinate system; and then calculate through the smart terminal that the TMS coil model arrives on the head model for magnetic stimulation The smart terminal automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the magnetic stimulation point on the patient's head for treatment.
具体地,步骤S3中,将患者的头模的位置与患者头部的实际位置进行匹配的方法包括以下步骤:Specifically, in step S3, the method of matching the position of the patient's head model with the actual position of the patient's head includes the following steps:
S31,在患者头模上标出用于配准的面部特征点;S31, mark the facial feature points for registration on the patient's head model;
S32,通过3D摄像头识别出患者面部的特征点;S32: Recognizing the feature points of the patient's face through the 3D camera;
S33,将步骤S31中标出的面部特征点与步骤S32中识别出的面部特征点进行匹配计算,得到患者头部与患者头模的旋转、平移关系;S33: Perform a matching calculation between the facial feature points marked in step S31 and the facial feature points identified in step S32 to obtain the rotation and translation relationship between the patient's head and the patient's head model;
S34,根据所述旋转、平移关系对患者头模进行旋转、平移操作,使患者头模的位置与患者头部的实际位置匹配上。S34: Perform rotation and translation operations on the patient's head mold according to the rotation and translation relationship, so that the position of the patient's head mold matches the actual position of the patient's head.
具体地,步骤S4中,对所述机械手、TMS线圈和3D摄像头建模后,需要将机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置进行匹配;具体匹配方法为:Specifically, in step S4, after modeling the manipulator, TMS coil and 3D camera, the spatial positions of the manipulator model, TMS coil model, and 3D camera model need to be compared with the actual spatial positions of the manipulator, TMS coil, and 3D camera. Matching; the specific matching method is:
S41,在机械手模型上标出用于配准的特征点;S41, mark the feature points for registration on the manipulator model;
S42,通过3D摄像头识别出机械手处于初始位置时的特征点;S42: Recognizing the characteristic points when the manipulator is in the initial position through the 3D camera;
S43,将步骤S41中标出的特征点与步骤S42中识别出的特征点进行匹配计算,得到机械手模型与机械手的旋转、平移关系;S43: Perform matching calculation on the feature points marked in step S41 and the feature points identified in step S42 to obtain the rotation and translation relationship between the manipulator model and the manipulator;
S44,根据机械手处于初始位置时所述3D摄像头、TMS线圈与机械手的相对位置是固定的原理,得到3D摄像头模型、TMS线圈模型分别与3D摄像头、TMS线圈的旋转、平移关系;S44: According to the principle that the relative positions of the 3D camera, the TMS coil and the manipulator are fixed when the manipulator is in the initial position, obtain the rotation and translation relationships of the 3D camera model and the TMS coil model with the 3D camera and the TMS coil respectively;
S45,根据步骤S43和步骤S44中的旋转、平移关系,对所述机械手模型、TMS线圈模型、3D摄像头模型进行旋转、平移操作,使所述机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置匹配上。S45: Perform rotation and translation operations on the manipulator model, TMS coil model, and 3D camera model according to the rotation and translation relationship in step S43 and step S44, so that the manipulator model, TMS coil model, and 3D camera model are positioned in space They are matched with the actual spatial positions of the manipulator, TMS coil and 3D camera.
优选地,所述导航方法还包括跟随定位步骤,所述跟随定位步骤包括:通过所述智能终端对患者头部模型的空间位姿进行微调,使患者头部模型的空间位姿与患者头部当前的实际空间位姿进行匹配,然后在头部模型上重新定位最新的磁刺激点,最后重新规划机械 手的移动路径,将TMS线圈移动到最新的磁刺激点进行治疗。Preferably, the navigation method further includes a following positioning step, and the following positioning step includes: fine-tuning the spatial pose of the patient's head model through the smart terminal so that the spatial pose of the patient's head model is the same as that of the patient's head. The current actual spatial pose is matched, and then the latest magnetic stimulation point is repositioned on the head model, and finally the moving path of the manipulator is re-planned, and the TMS coil is moved to the latest magnetic stimulation point for treatment.
本发明还提供了一种基于摄像头的经颅磁刺激诊疗头模建模***,包括3D扫描仪、定位帽和智能终端,所述3D扫描仪和智能终端电连接;所述头模建模***的建模方法包括以下步骤:The present invention also provides a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system, including a 3D scanner, a positioning cap, and an intelligent terminal. The 3D scanner and the intelligent terminal are electrically connected; the head model modeling system The modeling method includes the following steps:
S1,患者佩戴好所述定位帽,启动所述智能终端,通过所述3D扫描仪从各个方向采集患者头部的3D图像数据,并将采集到的3D图像数据发送给所述智能终端;S1: The patient wears the positioning cap, starts the smart terminal, collects 3D image data of the patient's head from various directions through the 3D scanner, and sends the collected 3D image data to the smart terminal;
S2,通过所述智能终端将3D扫描仪从各个方向采集到的3D图像数据进行整合,得到患者头部完整的3D点云图像,再通过抽样、平滑、平面拟合处理后得到患者头部完整的3D头模数据;S2: Integrate the 3D image data collected by the 3D scanner from various directions through the smart terminal to obtain a complete 3D point cloud image of the patient's head, and then obtain the complete patient's head after sampling, smoothing, and plane fitting. 3D head model data;
S3,利用所述3D头模数据,结合MNI脑空间坐标,将MNI空间的颅骨3D数据映射到患者的3D头模数据上,得到患者的3D头模。S3, using the 3D head model data, combined with the MNI brain space coordinates, map the skull 3D data in the MNI space to the patient's 3D head model data to obtain the patient's 3D head model.
具体地,所述3D扫描仪包括一个3D摄像头和一个旋转支架,所述3D摄像头安装在旋转支架上,所述旋转支架由电机驱动旋转,所述电机与智能终端电连接;采集患者头部的3D图像数据时,通过智能终端控制电机驱动旋转支架匀速转动,从而使3D摄像头匀速绕患者头部做圆周运动,从各个方向采集患者头部的3D图像数据。Specifically, the 3D scanner includes a 3D camera and a rotating bracket, the 3D camera is mounted on the rotating bracket, the rotating bracket is driven to rotate by a motor, and the motor is electrically connected to the smart terminal; In the case of 3D image data, the intelligent terminal controls the motor to drive the rotating bracket to rotate at a constant speed, so that the 3D camera moves in a circular motion around the patient's head at a constant speed, and collects 3D image data of the patient's head from all directions.
具体地,所述3D扫描仪还可以包括若干个3D摄像头和一个固定支架,所述若干个3D摄像头均安装在固定支架上;采集患者头部的3D图像数据时,通过智能终端控制所述若干个3D摄像头同时从不同方向采集患者头部的3D图像数据。Specifically, the 3D scanner may also include several 3D cameras and a fixed bracket, and the several 3D cameras are all installed on the fixed bracket; when collecting 3D image data of the patient's head, the smart terminal controls the plurality of 3D cameras. Three 3D cameras simultaneously collect 3D image data of the patient's head from different directions.
进一步地,所述3D摄像头拍摄到的图像数据包括彩色图像、深度图像和3D点云图像。所述3D摄像头设置在患者面部上方且能够将其面部完全纳入拍摄范围的位置。Further, the image data captured by the 3D camera includes color images, depth images, and 3D point cloud images. The 3D camera is set above the patient's face and can fully incorporate the patient's face into the shooting range.
具体地,步骤S1中,所述定位帽为弹性材质做成的白色头罩,用于遮住患者头发;因为3D扫描仪无法扫描黑色无热量的头发,故需要通过所述白色头罩遮住毛发,露出患者五官及额头,并对特征点(眉心、鼻尖等)做标记;该定位帽具有弹性,适用人群广,佩戴方便;所述定位帽上设有若干Mark点,便于3D摄像头采集图像数据。Specifically, in step S1, the positioning cap is a white hood made of elastic material, which is used to cover the patient’s hair; because the 3D scanner cannot scan black hair without heat, it needs to be covered by the white hood Hair, exposing the facial features and forehead of the patient, and marking the characteristic points (brow center, nose tip, etc.); the positioning cap is flexible, suitable for a wide range of people, and convenient to wear; the positioning cap is provided with several Mark points, which is convenient for 3D camera to collect images data.
具体地,步骤S2中,对所述从各个方向采集到的3D图像数据进行整合的方法为:通过识别各个方向采集到的图像中的特征点计算出各个图像之间的匹配关系,再通过3D点云的ICP算法得到各个方向采集到的点云图像之间的空间位置关系,最后根据所述匹配关系和空间位置关系将所有的点云图像数据进行旋转和平移操作,得到患者头部完整的3D点云图像。Specifically, in step S2, the method for integrating the 3D image data collected from various directions is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then using 3D The point cloud ICP algorithm obtains the spatial position relationship between the point cloud images collected in various directions, and finally, according to the matching relationship and the spatial position relationship, all the point cloud image data are rotated and translated to obtain a complete head of the patient 3D point cloud image.
具体地,步骤S3中,所述映射方法为,通过选取患者头部NZ、CZ、AL、AR四点与 颅骨模型上这四个点进行比对,得到颅骨模型转换矩阵,再将MNI空间中的点乘以该转换矩阵得到患者头模坐标点;其中,NZ表示鼻根,AL表示左耳,AR表示右耳,CZ表示鼻根与枕骨隆突的连线相交于左耳与右耳连线的交点。Specifically, in step S3, the mapping method is to compare the four points NZ, CZ, AL, and AR on the patient's head with the four points on the skull model to obtain the skull model conversion matrix, and then transfer the data in the MNI space The point of is multiplied by the transformation matrix to obtain the coordinate points of the patient’s head model; where NZ represents the root of the nose, AL represents the left ear, AR represents the right ear, and CZ represents the line connecting the root of the nose and the occipital protuberance to the left and right ears. The intersection of the lines.
本发明还提供了一种基于摄像头的经颅磁刺激诊疗检测***,用于对患者头部磁刺激点的空间位置进行定位;所述检测***包括:3D摄像头、躺式床、头枕和智能终端;所述3D摄像头用于拍摄患者的面部图像,并通过所述智能终端将患者面部图像与3D头模进行匹配,得到用于经颅磁刺激诊疗的磁刺激点定位信息。所述检测***的检测方法包括以下步骤:The present invention also provides a camera-based transcranial magnetic stimulation diagnosis and treatment detection system, which is used to locate the spatial position of the magnetic stimulation points on the patient's head; the detection system includes: a 3D camera, a lying bed, a headrest and a smart The terminal; the 3D camera is used to capture the facial image of the patient, and the facial image of the patient is matched with the 3D head model through the smart terminal to obtain the magnetic stimulation point positioning information for transcranial magnetic stimulation diagnosis and treatment. The detection method of the detection system includes the following steps:
S1,患者平躺在所述躺式床上,调节所述躺式床的前后位置,使所述躺式床到达治疗位置;S1, the patient lies flat on the reclining bed, and adjusting the front and back positions of the reclining bed so that the reclining bed reaches the treatment position;
S2,治疗开始前,采用所述3D摄像头拍摄患者头部的图像数据,采用所述智能终端进行头部建模,建立患者头部的3D头模;S2, before the treatment starts, the 3D camera is used to take image data of the patient's head, and the intelligent terminal is used to model the head to establish a 3D head model of the patient's head;
S3,治疗开始,采用所述3D摄像头拍摄患者的实时面部图像,采用所述智能终端进行位姿匹配,将所述实时面部图像与已建立的3D头模进行位置匹配,进一步包括:在所述3D头模中标出用于匹配的面部特征点;通过所述3D摄像头自动识别出患者的实时面部图像的面部特征点;通过特征点匹配进行仿射变换得到转换矩阵,计算出患者的实时面部图像与已建立的3D头模的转换关系;计算所述3D头模在空间中的位置;计算所述3D头模上的磁刺激点在空间中的位置坐标。S3. At the beginning of treatment, the 3D camera is used to take a real-time facial image of the patient, the smart terminal is used to perform pose matching, and the real-time facial image is matched with the established 3D head model for position matching, which further includes: The facial feature points used for matching are marked in the 3D head model; the facial feature points of the patient's real-time facial image are automatically recognized by the 3D camera; the conversion matrix is obtained by affine transformation through feature point matching, and the patient's real-time facial image is calculated The conversion relationship with the established 3D head mold; calculate the position of the 3D head mold in space; calculate the position coordinates of the magnetic stimulation points on the 3D head mold in space.
优选地,所述检测方法还包括:在对患者头部进行磁刺激治疗的过程中,所述智能终端还通过3D摄像头对患者头部进行跟随定位;在治疗过程中会记录每次定位完成时患者头部磁刺激点的位置信息,若下一时刻由于患者头部运动造成当前时刻与上一时刻的磁刺激点位置距离超过5mm,则启动跟随定位;若不超过5mm,则不启动跟随定位。Preferably, the detection method further includes: during the magnetic stimulation treatment of the patient's head, the smart terminal also uses a 3D camera to follow the positioning of the patient's head; during the treatment, it will record each time the positioning is completed. The position information of the magnetic stimulation point on the patient's head. If the distance between the current and the previous magnetic stimulation point is more than 5mm due to the patient's head movement in the next moment, follow-up positioning is started; if it is not more than 5mm, follow-up positioning is not started .
与现有技术相比,本发明的有益效果是:(1)本发明通过3D摄像头和智能终端对患者头部进行建模,并将患者头模与患者头部进行匹配,再通过智能终端计算出TMS线圈模型到达头模上待磁刺激磁刺激点的最佳路径,智能终端再根据该最佳路径对机械手的移动进行自动导航,最终将所述TMS线圈移动至患者头部待磁刺激磁刺激点进行治疗;从而减轻了医生的负担,不用长时间手持线圈,避免了人为因素对治疗效果造成的影响;(2)本发明在治疗过程中,可以通过3D摄像头实时检测患者头部的空间位姿,并对患者头模的空间位姿进行实时微调,实时更新最新的磁刺激磁刺激点,保证治疗的精准性;同时对患者头部的姿态没有限制,有效地提升了患者的体验感。Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention uses a 3D camera and an intelligent terminal to model the patient's head, and matches the patient's head model with the patient's head, and then calculates through the intelligent terminal The optimal path for the TMS coil model to reach the magnetic stimulation point on the head mold to be magnetically stimulated, the intelligent terminal then automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the patient’s head for magnetic stimulation. The stimulation point is used for treatment; thereby reducing the burden on the doctor, without holding the coil for a long time, avoiding the influence of human factors on the treatment effect; (2) The present invention can detect the space of the patient’s head in real time through the 3D camera during the treatment process The position and posture of the patient’s head model are fine-tuned in real time, and the latest magnetic stimulation points are updated in real time to ensure the accuracy of treatment. At the same time, there is no restriction on the posture of the patient’s head, which effectively improves the patient’s experience .
附图说明Description of the drawings
图1为本发明一实施方式的一种基于摄像头的经颅磁刺激诊疗导航***的导航方法流程示意图;FIG. 1 is a schematic flowchart of a navigation method of a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to an embodiment of the present invention;
图2为本发明一实施方式的一种基于摄像头的经颅磁刺激诊疗导航***结构示意图;2 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to an embodiment of the present invention;
图3为本发明又一实施方式的一种基于摄像头的经颅磁刺激诊疗头模建模***的结构示意图;3 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnostic and treatment head model modeling system according to another embodiment of the present invention;
图4为本发明又一实施方式的一种基于摄像头的经颅磁刺激诊疗头模建模***的结构示意图;4 is a schematic structural diagram of a camera-based transcranial magnetic stimulation diagnostic and treatment head model modeling system according to another embodiment of the present invention;
图5为本发明又一实施方式的摄像头安装位的布置示意图;5 is a schematic diagram of the arrangement of camera installation positions according to another embodiment of the present invention;
图6为本发明又一实施方式的一种基于摄像头的经颅磁刺激诊疗头模建模***的建模方法流程图;6 is a flow chart of a modeling method of a camera-based transcranial magnetic stimulation head model modeling system according to another embodiment of the present invention;
图7为本发明又一实施方式的一种基于摄像头的经颅磁刺激诊疗检测***的方法流程图;FIG. 7 is a method flowchart of a camera-based transcranial magnetic stimulation diagnosis and treatment system according to another embodiment of the present invention;
图中:图中:1、躺式床;2、头枕;3、3D摄像头;4、机械手;5、TMS线圈;6、旋转支架;7、电机;8、3D扫描仪;9、智能终端;10、座椅;11、摄像头安装位;12、固定支架。In the picture: In the picture: 1. Reclining bed; 2. Headrest; 3. 3D camera; 4. Manipulator; 5. TMS coil; 6. Rotating bracket; 7. Motor; 8. 3D scanner; 9. Smart terminal ; 10. Seat; 11. Camera installation position; 12. Fixed bracket.
具体实施方式detailed description
下面将结合本发明中的附图,对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动条件下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明中,术语“安装、”“相连”、“连接”应做广义理解,例如,可以是机械连接或电连接,也可以是两个元件内部的连通,可以是直接相连,也可以通过中间媒介间接相连,对于本领域的普通技术人员而言,可以根据具体情况理解上述术语的具体含义。In the present invention, the terms "installation," "connection", and "connection" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or the internal communication between two components, which can be directly connected, or through an intermediate connection. The media is indirectly connected, and those of ordinary skill in the art can understand the specific meanings of the above-mentioned terms according to specific circumstances.
作为本发明的一实施方式,如图1、2所示,本实施例提供了一种基于摄像头的经颅磁刺激诊疗导航***,包括躺式床、头枕、3D摄像头、3D扫描仪、机械手、TMS线圈和智能终端;所述3D摄像头、3D扫描仪、机械手、TMS线圈分别与智能终端电连接;所述智能终端可以为计算机;As an embodiment of the present invention, as shown in Figures 1 and 2, this embodiment provides a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system, including a lying bed, a headrest, a 3D camera, a 3D scanner, and a manipulator , TMS coil and smart terminal; the 3D camera, 3D scanner, manipulator, and TMS coil are respectively electrically connected to the smart terminal; the smart terminal may be a computer;
所述躺式床为卧式平移平台,可以前后移动,用于调整患者头部与摄像头的相对位置;The lying bed is a horizontal translation platform, which can move back and forth, and is used to adjust the relative position of the patient's head and the camera;
所述头枕主要起到托架作用,支撑位点为头骨,还包括颈部,起到的作用是限制病人 的移动,且不会造成病人的不适,并且不能阻碍头背部的磁刺激;The headrest mainly functions as a bracket, the supporting site is the skull, and also includes the neck. The function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the back of the head;
所述3D摄像头用于获取患者头部和机械手的空间位姿,从而对机械手进行导航;The 3D camera is used to obtain the spatial pose of the patient's head and the manipulator, so as to navigate the manipulator;
所述机械手用于夹持TMS线圈对患者头部刺激磁刺激点进行磁刺激治疗;The manipulator is used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment;
所述导航***的导航方法包括以下步骤:The navigation method of the navigation system includes the following steps:
S1,患者平躺在所述躺式床上,开启所述智能终端,通过智能终端调节所述躺式床的前后位置,使所述躺式床到达治疗位置;S1: The patient lies flat on the reclining bed, turning on the smart terminal, and adjusting the front and back positions of the reclining bed through the smart terminal, so that the reclining bed reaches the treatment position;
S2,采用所述3D扫描仪和智能终端对患者头部进行建模;S2, using the 3D scanner and the intelligent terminal to model the patient's head;
S3,通过所述3D摄像头和智能终端将患者的头模的位置与患者头部的实际位置进行匹配,确定患者头模上待磁刺激磁刺激点的空间位置;S3: Match the position of the patient's head model with the actual position of the patient's head through the 3D camera and the smart terminal, and determine the spatial position of the magnetic stimulation point on the patient's head model to be magnetically stimulated;
S4,通过所述智能终端对机械手、TMS线圈和3D摄像头进行建模;S4, modeling the manipulator, TMS coil, and 3D camera through the smart terminal;
S5,将步骤S4中建好的设备模型与步骤S2中建好的患者头模放在同一个空间坐标系中;再通过所述智能终端计算出TMS线圈模型到达头模上待磁刺激磁刺激点的最佳路径(移动距离最短,且移动过程中不会与其它设备发送碰撞),所述智能终端再根据该最佳路径对机械手的移动进行自动导航,最终将所述TMS线圈移动至患者头部待磁刺激磁刺激点进行治疗。S5: Put the device model built in step S4 and the patient head model built in step S2 in the same spatial coordinate system; and then calculate through the smart terminal that the TMS coil model arrives on the head model for magnetic stimulation The optimal path of the point (the shortest moving distance and no collision with other devices during the movement), the smart terminal then automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the patient The head is to be treated by magnetic stimulation at the magnetic stimulation point.
具体地,步骤S2中,对患者头部进行建模包括以下步骤:Specifically, in step S2, modeling the patient's head includes the following steps:
S21,通过所述3D摄像头从各个方向采集患者头部的3D图像数据,并将采集到的3D图像数据发送给所述智能终端;S21, collecting 3D image data of the patient's head from various directions through the 3D camera, and sending the collected 3D image data to the smart terminal;
S22,通过所述智能终端将所述3D图像数据进行整合,得到患者头部完整的3D点云图像,再通过抽样、平滑、平面拟合处理后得到患者头部完整的3D头模数据;S22: Integrate the 3D image data through the smart terminal to obtain a complete 3D point cloud image of the patient's head, and then obtain complete 3D head model data of the patient's head after sampling, smoothing, and plane fitting;
对所述3D图像数据进行整合的方法为:通过识别各个方向采集到的图像中的特征点计算出各个图像之间的匹配关系,再通过3D点云的ICP算法得到各个方向采集到的点云图像之间的空间位置关系,最后根据所述匹配关系和空间位置关系将所有的点云图像数据进行旋转和平移操作,得到患者头部完整的3D点云图像;The method of integrating the 3D image data is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then obtaining the point clouds collected in each direction through the ICP algorithm of the 3D point cloud The spatial position relationship between the images, and finally all the point cloud image data are rotated and translated according to the matching relationship and the spatial position relationship to obtain a complete 3D point cloud image of the patient's head;
S23,利用所述3D头模数据,结合MNI脑空间坐标,将MNI空间的颅骨3D数据映射到患者的3D头模数据上,得到患者的3D头模。S23: Using the 3D head model data, combined with the MNI brain space coordinates, map the skull 3D data in the MNI space to the patient's 3D head model data to obtain the patient's 3D head model.
具体地,步骤S3中,3D摄像头实时拍摄的3D图像只有患者的面部信息,没有头部信息,所以要将S2中建好的头模与实时拍摄的面部数据进行位置的配准,由于ICP算法计算量较大,无法满足实时检测的要求,位置配准方法是先在头模中标出用于配准的面部特征点(眉心、耳垂、眼角、鼻尖、嘴角和下巴),再在实时图像中自动识别出面部特征点, 通过特征点匹配计算出实时画面与头模的转换关系,并计算出头模在空间的位置,再计算出头模上的磁刺激点在空间中的位置坐标;具体步骤如下:Specifically, in step S3, the 3D image captured by the 3D camera in real time only has facial information of the patient, and no head information. Therefore, the head model built in S2 must be registered with the facial data captured in real time. Due to the ICP algorithm The amount of calculation is too large to meet the requirements of real-time detection. The position registration method is to first mark the facial feature points (brow center, earlobe, corner of the eye, nose tip, corner of the mouth and chin) for registration in the head model, and then in the real-time image The facial feature points are automatically recognized, the conversion relationship between the real-time image and the head model is calculated through feature point matching, and the position of the head model in space is calculated, and then the position coordinates of the magnetic stimulation points on the head model in space are calculated; the specific steps are as follows :
S31,在患者头模上标出用于配准的面部特征点;S31, mark the facial feature points for registration on the patient's head model;
S32,通过3D摄像头识别出患者面部的特征点;S32: Recognizing the feature points of the patient's face through the 3D camera;
S33,将步骤S31中标出的面部特征点与步骤S32中识别出的面部特征点进行匹配计算,得到患者头部与患者头模的旋转、平移关系;S33: Perform a matching calculation between the facial feature points marked in step S31 and the facial feature points identified in step S32 to obtain the rotation and translation relationship between the patient's head and the patient's head model;
S34,根据所述旋转、平移关系对患者头模进行旋转、平移操作,使患者头模的位置与患者头部的实际位置匹配上。S34: Perform rotation and translation operations on the patient's head mold according to the rotation and translation relationship, so that the position of the patient's head mold matches the actual position of the patient's head.
具体地,步骤S4中,对所述机械手、TMS线圈和3D摄像头建模可采用SolidWorks软件进行建模,建模完成后需要将机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置进行匹配;具体匹配方法为:Specifically, in step S4, SolidWorks software can be used to model the manipulator, TMS coil and 3D camera. After the modeling is completed, the spatial positions of the manipulator model, TMS coil model, and 3D camera model need to be compared with the manipulator, The actual spatial position of the TMS coil and the 3D camera are matched; the specific matching method is:
S41,在机械手模型上标出用于配准的特征点;S41, mark the feature points for registration on the manipulator model;
S42,通过3D摄像头识别出机械手处于初始位置时的特征点;S42: Recognizing the characteristic points when the manipulator is in the initial position through the 3D camera;
S43,将步骤S41中标出的特征点与步骤S42中识别出的特征点进行匹配计算,得到机械手模型与机械手的旋转、平移关系;S43: Perform matching calculation on the feature points marked in step S41 and the feature points identified in step S42 to obtain the rotation and translation relationship between the manipulator model and the manipulator;
S44,根据机械手处于初始位置时所述3D摄像头、TMS线圈与机械手的相对位置是固定的原理,得到3D摄像头模型、TMS线圈模型分别与3D摄像头、TMS线圈的旋转、平移关系;S44: According to the principle that the relative positions of the 3D camera, the TMS coil and the manipulator are fixed when the manipulator is in the initial position, obtain the rotation and translation relationships of the 3D camera model and the TMS coil model with the 3D camera and the TMS coil respectively;
S45,根据步骤S43和步骤S44中的旋转、平移关系,对所述机械手模型、TMS线圈模型、3D摄像头模型进行旋转、平移操作,使所述机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置匹配上。S45: Perform rotation and translation operations on the manipulator model, TMS coil model, and 3D camera model according to the rotation and translation relationship in step S43 and step S44, so that the manipulator model, TMS coil model, and 3D camera model are positioned in space They are matched with the actual spatial positions of the manipulator, TMS coil and 3D camera.
具体地,步骤S5中,一般机械手的移动路径规划算法比较复杂,由于本实施例中的模型、障碍和路径都是已知的,故采用手动规划路径的方法,在距离头模较远(大于30mm)的位置使用直线路径,在头模附近(小于/等于30mm)使用圆弧路径,使TMS线圈围绕头部运动到下一个磁刺激磁刺激点;由于头模的3D数据是已知的,故可将头模数据放大从而留出运行的安全距离,计算出头模上两点的最短弧线路径。Specifically, in step S5, the general movement path planning algorithm of the manipulator is relatively complicated. Since the model, obstacles, and path in this embodiment are all known, the method of manually planning the path is adopted, and the distance from the head mold is far (greater than Use a straight path at the position of 30mm), and use a circular path near the head mold (less than/equal to 30mm) to move the TMS coil around the head to the next magnetic stimulation point; since the 3D data of the head mold is known, Therefore, the head mold data can be enlarged to leave a safe distance for operation, and the shortest arc path between two points on the head mold can be calculated.
作为本发明的另一实施方式,本实施例提供了一种基于摄像头的经颅磁刺激诊疗导航***,与上述实施例1的区别点在于,本实施例的导航***还具有跟随定位功能;在对机械手进行导航的过程中,即使患者头部姿态发生变化,也能通过3D摄像头对患者头部的姿态进行实时跟随定位,保证治疗的精准性,提高治疗效果和患者的体验感。As another embodiment of the present invention, this embodiment provides a camera-based transcranial magnetic stimulation diagnosis and treatment navigation system. The difference from Embodiment 1 above is that the navigation system of this embodiment also has a following positioning function; In the process of navigating the manipulator, even if the posture of the patient's head changes, the 3D camera can be used to follow the posture of the patient's head in real time to ensure the accuracy of the treatment, improve the treatment effect and the patient's experience.
具体地,在对患者头部进行磁刺激治疗的过程中,所述智能终端还通过3D摄像头对患者头部进行跟随定位;在治疗过程中会记录每次定位完成时患者头部的位置信息,若下一时刻由于患者头部运动造成当前时刻与上一时刻的磁刺激点距离超过5mm,则启动跟随定位;若不超过5mm,则不启动跟随定位;若患者头部转动次数较多,则暂停3D摄像头和机械手的跟随,并同时暂停TMS线圈的磁刺激;若患者不在3D摄像头的可调整范围内或离开,则停止机械手和线圈的磁刺激动作。Specifically, in the process of performing magnetic stimulation treatment on the patient's head, the smart terminal also uses a 3D camera to follow the positioning of the patient's head; during the treatment, the position information of the patient's head is recorded every time the positioning is completed, If the distance between the magnetic stimulation point at the current time and the previous time exceeds 5mm due to the movement of the patient’s head at the next moment, follow-up positioning will be activated; if it does not exceed 5mm, follow-up positioning will not be activated; Pause the follow of the 3D camera and the manipulator, and at the same time pause the magnetic stimulation of the TMS coil; if the patient is not within the adjustable range of the 3D camera or leaves, stop the magnetic stimulation action of the manipulator and the coil.
进一步地,所述跟随定位的步骤为:通过所述智能终端对患者头部模型的空间位姿进行微调,使患者头部模型的空间位姿与患者头部当前的实际空间位姿进行匹配,然后在头部模型上重新定位最新的磁刺激点,最后重新规划机械手的移动路径,将TMS线圈移动到最新的磁刺激点进行治疗。Further, the step of following positioning is: fine-tuning the spatial pose of the patient's head model through the smart terminal, so that the spatial pose of the patient's head model is matched with the current actual spatial pose of the patient's head, Then reposition the latest magnetic stimulation point on the head model, and finally re-plan the movement path of the manipulator, and move the TMS coil to the latest magnetic stimulation point for treatment.
本发明通过摄像头拍摄患者头部的视频图像数据,对患者的头部进行建模,并根据建模数据以及拍摄的人脸视频图像对患者的人脸姿态进行检测估计,得到患者的人脸姿态数据,然后根据人脸姿态数据进行机器人导航,调整TMS治疗磁刺激点,在无需佩戴导光球定位的情况下保证每次治疗时磁刺激点定位的精准,解决了TMS定位及重复定位的问题。The invention uses a camera to capture video image data of the patient's head, models the patient's head, and detects and estimates the patient's facial posture based on the modeling data and the captured facial video image to obtain the patient's facial posture According to the facial posture data, the robot will navigate and adjust the TMS treatment magnetic stimulation points, and ensure the precise positioning of the magnetic stimulation points during each treatment without the need to wear a light guide ball, which solves the problem of TMS positioning and repeated positioning .
作为本发明的又一实施方式,提供一种基于摄像头的经颅磁刺激诊疗头模建模***,包括3D扫描仪、定位帽、座椅和智能终端,所述3D扫描仪和智能终端电连接;所述智能终端可以为计算机。As another embodiment of the present invention, a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system is provided, which includes a 3D scanner, a positioning cap, a seat, and a smart terminal. The 3D scanner and the smart terminal are electrically connected ; The smart terminal may be a computer.
具体地,如图2所示,所述3D扫描仪包括一个3D摄像头和一个旋转支架,所述3D摄像头安装在旋转支架上,所述旋转支架由电机驱动旋转,所述电机与智能终端电连接;采集患者头部的3D图像数据时,通过智能终端控制电机驱动旋转支架匀速转动,从而使3D摄像头匀速绕患者头部做圆周运动,从各个方向采集患者头部的3D图像数据。Specifically, as shown in FIG. 2, the 3D scanner includes a 3D camera and a rotating bracket, the 3D camera is mounted on the rotating bracket, the rotating bracket is driven to rotate by a motor, and the motor is electrically connected to the smart terminal ; When collecting 3D image data of the patient's head, the intelligent terminal controls the motor to drive the rotating bracket to rotate at a uniform speed, so that the 3D camera moves in a circular motion around the patient's head at a uniform speed, and collects the 3D image data of the patient's head from all directions.
如图6所示,所述头模建模***的建模方法包括以下步骤:As shown in Figure 6, the modeling method of the head model modeling system includes the following steps:
S1,患者坐在所述座椅上并佩戴好所述定位帽,启动所述智能终端,通过所述3D扫描仪从各个方向采集患者头部的3D图像数据,并将采集到的3D图像数据发送给所述智能终端;S1: The patient sits on the seat and wears the positioning cap, starts the smart terminal, collects 3D image data of the patient's head from various directions through the 3D scanner, and then integrates the collected 3D image data Sent to the smart terminal;
S2,通过所述智能终端将3D扫描仪从各个方向采集到的3D图像数据进行整合,得到患者头部完整的3D点云图像,再通过抽样、平滑、平面拟合处理后得到患者头部完整的3D头模数据;S2: Integrate the 3D image data collected by the 3D scanner from various directions through the smart terminal to obtain a complete 3D point cloud image of the patient's head, and then obtain the complete patient's head after sampling, smoothing, and plane fitting. 3D head model data;
S3,利用所述3D头模数据,结合医学常用的MNI脑空间坐标,将MNI空间的脑向3D 扫描得到的颅骨模型映射到患者的3D头模数据上,得到患者的3D头模,然后在患者的3D头模上建立磁刺激点模型。S3, using the 3D head model data, combined with the commonly used MNI brain space coordinates in medicine, map the skull model obtained from the brain-to-3D scan of the MNI space to the patient's 3D head model data to obtain the patient's 3D head model, and then The magnetic stimulation point model is established on the patient's 3D head model.
具体地,步骤S1中,所述定位帽为弹性材质做成的白色头罩,用于遮住患者头发;因为3D扫描仪无法扫描黑色无热量的头发,故需要通过所述白色头罩遮住毛发,露出患者五官及额头,并对特征点(眉心、鼻尖等)做标记;该定位帽具有弹性,适用人群广,佩戴方便;所述定位帽上设有若干Mark点,便于3D摄像头采集图像数据。Specifically, in step S1, the positioning cap is a white hood made of elastic material, which is used to cover the patient’s hair; because the 3D scanner cannot scan black hair without heat, it needs to be covered by the white hood Hair, exposing the facial features and forehead of the patient, and marking the characteristic points (brow center, nose tip, etc.); the positioning cap is flexible, suitable for a wide range of people, and convenient to wear; the positioning cap is provided with several Mark points, which is convenient for 3D camera to collect images data.
具体地,步骤S2中,对所述从各个方向采集到的3D图像数据进行整合的方法为:通过识别各个方向采集到的图像中的特征点计算出各个图像之间的匹配关系,再通过3D点云的ICP算法得到各个方向采集到的点云图像之间的空间位置关系,最后根据所述匹配关系和空间位置关系将所有的点云图像数据进行旋转和平移操作,得到患者头部完整的3D点云图像。Specifically, in step S2, the method for integrating the 3D image data collected from various directions is: calculating the matching relationship between the images by identifying the feature points in the images collected in each direction, and then using 3D The point cloud ICP algorithm obtains the spatial position relationship between the point cloud images collected in various directions, and finally, according to the matching relationship and the spatial position relationship, all the point cloud image data are rotated and translated to obtain a complete head of the patient 3D point cloud image.
进一步地,对头部进行建模需要通过3D摄像头采集患者头部的3D扫描数据,3D摄像头每拍照一次会产生彩色图、深度图和3D点云图,这3幅图是同时产生的,所以各个图像上的点有固定的对应关系,这个对应关系是已知的,是通过摄像头的标定得到的;3D扫描就是围绕患者头部拍摄一系列的图像,然后将这些图像拼接成一个完整的图像,而图像拼接要找到两幅图像中相同的部分并进行匹配;在3D摄像头中头发无法得到3D点云,而在医学治疗头模需要颅骨的3D数据(不要头发),故在头模扫描时患者需要戴上特定的定位帽,为了使匹配更准确,帽子上一般会设一些mark点;3D扫描最终需要对3D点云进行拼接,拼接时需要每一幅图像点云之间的旋转平移关系,点云的拼接主要依靠ICP算法,ICP算法有时会失败,故需要先做粗匹配。Furthermore, to model the head, it is necessary to collect 3D scan data of the patient's head through a 3D camera. Each time the 3D camera takes a photo, a color map, a depth map, and a 3D point cloud map are generated. These three images are generated at the same time, so each The points on the image have a fixed correspondence. This correspondence is known and is obtained through the calibration of the camera; 3D scanning is to take a series of images around the patient’s head, and then stitch these images into a complete image. The image stitching needs to find the same parts in the two images and match them; in the 3D camera, the 3D point cloud cannot be obtained for the hair, and the 3D data of the skull is needed in the medical treatment of the head model (no hair), so the patient is in the head model scan You need to wear a specific positioning cap. In order to make the matching more accurate, some mark points are usually set on the cap; 3D scanning finally needs to stitch the 3D point cloud, and the rotation and translation relationship between the point clouds of each image is required for stitching. The splicing of point clouds mainly relies on the ICP algorithm, which sometimes fails, so rough matching is required first.
进一步地,点云的拼接步骤如下:Further, the splicing steps of point clouds are as follows:
S21,先在彩色图中通过OpenCV中cv::FeatureDetector和cv::DescriptorExtractor计算“关键点”,并对这些关键点周围的像素计算其“描述子”,再通过cv::DMatch对上述的描述子进行匹配,然后调用OpenCV里的SolvePnPRansac函数求解PnP得到两幅图像的位移和旋转的信息;S21, first calculate the "key points" in the color map through cv::FeatureDetector and cv::DescriptorExtractor in OpenCV, and calculate the "descriptors" for the pixels around these key points, and then use cv::DMatch to describe the above Then, call the SolvePnPRansac function in OpenCV to solve PnP to obtain the displacement and rotation information of the two images;
S22,使用上面计算得到的位移和旋转的信息作为ICP算法的初始粗匹配的结果对两幅点云数据进行计算得到更加精准的位移和旋转数据;S22: Use the displacement and rotation information calculated above as the result of the initial coarse matching of the ICP algorithm to calculate the two point cloud data to obtain more accurate displacement and rotation data;
S23,使用上述位移和旋转数据得到位移和旋转矩阵,并对上一幅点云图中的点全部进行旋转和平移,将计算的到的新点云添加到当前点云图中,得到一个更大的点云,完成两幅点云的整合;S23. Use the above displacement and rotation data to obtain the displacement and rotation matrix, rotate and translate all the points in the previous point cloud image, and add the calculated new point cloud to the current point cloud image to obtain a larger Point cloud, complete the integration of two point clouds;
S24,重复步骤S21至S23,将所有点云图整合成一个更大的点云图,再对此点云图进行滤波平滑处理,抽样减少点的数量,拟合得到3D曲面数据;即得到患者头部完整的3D数据。S24, repeat steps S21 to S23 to integrate all the point cloud images into a larger point cloud image, and then perform filtering and smoothing processing on the point cloud image, sampling to reduce the number of points, and fitting to obtain 3D surface data; that is, the patient's head is complete 3D data.
具体地,步骤S3中,所述映射方法为,通过选取患者头部NZ、CZ、AL、AR四点与颅骨模型上这四个点进行比对,得到颅骨模型转换矩阵,再将MNI空间中的点乘以该转换矩阵得到患者头模坐标点;其中,NZ表示鼻根,AL表示左耳,AR表示右耳,CZ表示鼻根与枕骨隆突的连线相交于左耳与右耳连线的交点。Specifically, in step S3, the mapping method is to compare the four points NZ, CZ, AL, and AR on the patient's head with the four points on the skull model to obtain the skull model conversion matrix, and then transfer the data in the MNI space The point of is multiplied by the transformation matrix to obtain the coordinate points of the patient’s head model; where NZ represents the root of the nose, AL represents the left ear, AR represents the right ear, and CZ represents the line connecting the root of the nose and the occipital protuberance to the left and right ears. The intersection of the lines.
作为本发明的又一实施方式,提供一种基于摄像头的经颅磁刺激诊疗头模建模***,本实施例中所述3D扫描仪包括3个3D摄像头和一个固定支架。As another embodiment of the present invention, a camera-based transcranial magnetic stimulation diagnosis and treatment head model modeling system is provided. In this embodiment, the 3D scanner includes three 3D cameras and a fixed bracket.
具体地,如图4所示,所述固定支架上设有3个摄像头安装位,相邻两个摄像头安装位之间的夹角均为120度,所述3个3D摄像头分别安装在所述3个摄像头安装位上;Specifically, as shown in FIG. 4, the fixing bracket is provided with three camera mounting positions, the angle between two adjacent camera mounting positions is 120 degrees, and the three 3D cameras are respectively installed on the 3 camera installation positions;
采集患者头部的3D图像数据时,通过智能终端控制所述3个3D摄像头同时从三个方向采集患者头部的3D图像数据。When collecting 3D image data of the patient's head, the three 3D cameras are controlled by an intelligent terminal to simultaneously collect 3D image data of the patient's head from three directions.
本实施中,通过3个3D摄像头同时采集患者头部的3D图像数据,并将采集到的数据发送至智能终端进行头部建模,实时性较好。In this implementation, the 3D image data of the patient's head is simultaneously collected through three 3D cameras, and the collected data is sent to the intelligent terminal for head modeling, which has good real-time performance.
作为本发明的又一实施方式,提供一种基于摄像头的经颅磁刺激诊疗检测***。包括躺式床、头枕、3D摄像头、3D扫描仪、机械手、TMS线圈和智能终端;所述3D摄像头、机械手、TMS线圈分别与智能终端连接;所述智能终端可选择计算机、笔记本、平板电脑等。As another embodiment of the present invention, a camera-based transcranial magnetic stimulation diagnosis and treatment system is provided. Including lying bed, headrest, 3D camera, 3D scanner, manipulator, TMS coil and smart terminal; the 3D camera, manipulator, and TMS coil are connected to the smart terminal respectively; the smart terminal can choose a computer, notebook, or tablet Wait.
所述躺式床为卧式平移平台,可以前后移动,用于调整患者头部与摄像头的相对位置。The lying bed is a horizontal translation platform, which can move back and forth, and is used to adjust the relative position of the patient's head and the camera.
所述头枕主要起到托架作用,支撑位点为头骨,还包括颈部,起到的作用是限制病人的移动,且不会造成病人的不适,并且不能阻碍头部的磁刺激。The headrest mainly functions as a bracket, and the supporting site is the skull and also includes the neck. The function is to limit the movement of the patient without causing discomfort to the patient, and cannot hinder the magnetic stimulation of the head.
所述3D摄像头用于获取患者的头部姿态数据及实时的面部姿态数据,在进行治疗前,采用3D摄像头获取患者的头部姿态数据,结合智能终端进行头部3D建模;在开始治疗后, 采用3D摄像头获取患者的实时面部数据,结合智能终端对实时面部数据进行处理,将已建模的3D头模与实时面部图像进行匹配。The 3D camera is used to obtain the patient's head posture data and real-time facial posture data. Before the treatment, the 3D camera is used to obtain the patient's head posture data, and the intelligent terminal is used for head 3D modeling; after the treatment is started , Use a 3D camera to obtain the patient's real-time facial data, combine the intelligent terminal to process the real-time facial data, and match the modeled 3D head model with the real-time facial image.
所述3D摄像头还用于获取机械手和TMS线圈的的空间位姿,从而利用机械手进行导航,将TMS线圈夹持到磁刺激点位置。The 3D camera is also used to obtain the spatial pose of the manipulator and the TMS coil, so that the manipulator is used for navigation and clamps the TMS coil to the position of the magnetic stimulation point.
所述机械手还用于夹持TMS线圈对患者头部刺激磁刺激点进行磁刺激治疗。The manipulator is also used to clamp the TMS coil to stimulate the magnetic stimulation points on the patient's head for magnetic stimulation treatment.
如图7所示,所述检测***的检测方法包括以下步骤:As shown in Figure 7, the detection method of the detection system includes the following steps:
S1,患者平躺在所述躺式床上,调节所述躺式床的前后位置,使所述躺式床到达治疗位置;S1, the patient lies flat on the reclining bed, and adjusting the front and back positions of the reclining bed so that the reclining bed reaches the treatment position;
S2,治疗开始前,采用所述3D摄像头拍摄患者头部的图像数据,采用所述智能终端进行建模,建立患者头部的3D头模;S2: Before the treatment starts, the 3D camera is used to capture the image data of the patient's head, and the intelligent terminal is used for modeling to establish a 3D head model of the patient's head;
S3,治疗开始,采用所述3D摄像头拍摄患者的实时面部图像,采用所述智能终端进行位姿匹配,将所述实时面部图像与已建立的3D头模进行位置匹配,进一步包括:在所述3D头模中标出用于匹配的面部特征点,该面部特征点是在建模过程中由摄像头自动识别的;通过所述3D摄像头自动识别出患者的实时面部图像的面部特征点;通过特征点匹配进行仿射变换得到转换矩阵,计算出患者的实时面部图像与已建立的3D头模的转换关系;计算所述3D头模在摄像头坐标系下的位置;计算所述3D头模上的磁刺激点在空间中的位置坐标。S3. At the beginning of treatment, the 3D camera is used to take a real-time facial image of the patient, the smart terminal is used to perform pose matching, and the real-time facial image is matched with the established 3D head model for position matching, which further includes: The facial feature points for matching are marked in the 3D head model, and the facial feature points are automatically recognized by the camera during the modeling process; the facial feature points of the patient’s real-time facial image are automatically recognized by the 3D camera; the feature points are passed Matching and performing affine transformation to obtain a conversion matrix, calculate the conversion relationship between the patient’s real-time facial image and the established 3D head model; calculate the position of the 3D head model in the camera coordinate system; calculate the magnetic field on the 3D head model The position coordinates of the stimulus point in space.
具体地,S2中,对患者头部进行建模包括以下步骤:Specifically, in S2, modeling the patient's head includes the following steps:
S21,通过所述3D摄像头从各个方向采集患者头部的3D图像数据,并将采集到的3D图像数据发送给所述智能终端;S21, collecting 3D image data of the patient's head from various directions through the 3D camera, and sending the collected 3D image data to the smart terminal;
S22,所述智能终端将所述3D图像数据进行整合,得到患者头部完整的3D点云图像,再通过抽样、平滑、平面拟合处理后得到患者头部完整的3D头模数据;S22: The smart terminal integrates the 3D image data to obtain a complete 3D point cloud image of the patient's head, and then obtains the complete 3D head model data of the patient's head through sampling, smoothing, and plane fitting processing;
S23,利用所述3D头模数据,结合MNI脑空间坐标,将MNI空间的脑向3D扫描得到的颅骨模型映射到患者的3D头模数据上,得到患者的3D头模,然后在患者的3D头模上建立磁刺激点模型。S23. Using the 3D head model data, combined with the MNI brain space coordinates, map the skull model obtained by 3D scanning of the brain in the MNI space to the patient's 3D head model data to obtain the patient's 3D head model, and then display the patient's 3D head model. The magnetic stimulation point model is established on the head model.
具体地,步骤S3中,3D摄像头实时拍摄的3D图像只有患者的面部信息,没有头部信息,所以要将S2中建好的头模与实时拍摄的面部数据进行位置的配准,由于ICP算法计算量较大,无法满足实时检测的要求,位置配准方法是先在头模中标出用于配准的面部特征点(眼角、鼻尖等),再在实时图像中自动识别出面部特征点,通过特征点匹配计算出实时画面与头模的转换关系,并计算出头模在空间的位置,再计算出头模上的磁刺激点在 空间中的位置坐标。Specifically, in step S3, the 3D image captured by the 3D camera in real time only has facial information of the patient, and no head information. Therefore, the head model built in S2 must be registered with the facial data captured in real time. Due to the ICP algorithm The amount of calculation is too large to meet the requirements of real-time detection. The position registration method is to first mark the facial feature points (corners of the eyes, nose tip, etc.) for registration in the head model, and then automatically identify the facial feature points in the real-time image. Through feature point matching, the conversion relationship between the real-time image and the head mold is calculated, and the position of the head mold in space is calculated, and then the position coordinates of the magnetic stimulation points on the head mold in space are calculated.
所述转换关系包括患者的实时面部图像与所述3D头模在摄像头坐标系下的旋转、平移关系,根据所述旋转、平移关系对所述3D头模进行旋转、平移操作,将所述3D头模匹配到患者的实时面部图像上。The conversion relationship includes the rotation and translation relationship between the patient's real-time facial image and the 3D head model in the camera coordinate system. The 3D head model is rotated and translated according to the rotation and translation relationship, and the 3D The head model is matched to the patient's real-time facial image.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. And variations, the scope of the present invention is defined by the appended claims and their equivalents.

Claims (6)

  1. 一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,包括躺式床、头枕、3D摄像头、3D扫描仪、机械手、TMS线圈和智能终端;所述3D摄像头、3D扫描仪、机械手、TMS线圈分别与智能终端电连接;所述导航***的导航方法包括以下步骤:A camera-based transcranial magnetic stimulation diagnosis and treatment navigation system, which is characterized by comprising a lying bed, a headrest, a 3D camera, a 3D scanner, a manipulator, a TMS coil, and an intelligent terminal; the 3D camera, 3D scanner, and manipulator , TMS coils are respectively electrically connected to the smart terminal; the navigation method of the navigation system includes the following steps:
    S1,通过卧式平移平台将患者平移至预定位置,开启所述智能终端;S1: Translating the patient to a predetermined position through a horizontal translation platform, and turning on the smart terminal;
    S2,采用所述3D扫描仪和智能终端对患者头部进行建模;S2, using the 3D scanner and the intelligent terminal to model the patient's head;
    S3,通过所述3D摄像头和智能终端将患者的头模的位置与患者头部的实际位置进行匹配,确定患者头模上待磁刺激磁刺激点的空间位置;S3: Match the position of the patient's head model with the actual position of the patient's head through the 3D camera and the smart terminal, and determine the spatial position of the magnetic stimulation point on the patient's head model to be magnetically stimulated;
    S4,通过所述智能终端对机械手、TMS线圈和3D摄像头进行建模;S4, modeling the manipulator, TMS coil, and 3D camera through the smart terminal;
    S5,将步骤S4中建好的设备模型与步骤S2中建好的患者头模放在同一个空间坐标系中;再通过所述智能终端计算出TMS线圈模型到达头模上待磁刺激磁刺激点的最佳路径,所述智能终端再根据该最佳路径对机械手的移动进行自动导航,最终将所述TMS线圈移动至患者头部待磁刺激磁刺激点进行治疗。S5: Put the device model built in step S4 and the patient head model built in step S2 in the same spatial coordinate system; and then calculate through the smart terminal that the TMS coil model arrives on the head model for magnetic stimulation The smart terminal automatically navigates the movement of the manipulator according to the optimal path, and finally moves the TMS coil to the magnetic stimulation point on the patient's head for treatment.
  2. 根据权利要求1所述的一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,所述导航方法还包括:在对患者头部进行磁刺激治疗的过程中,所述智能终端还通过3D摄像头对患者头部进行跟随定位;在治疗过程中会记录每次定位完成时患者头部的位置信息,若下一时刻由于患者头部运动造成当前时刻与上一时刻的磁刺激点距离超过5mm,则启动跟随定位;若不超过5mm,则不启动跟随定位。The camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to claim 1, wherein the navigation method further comprises: in the process of performing magnetic stimulation treatment on the patient's head, the smart terminal also passes The 3D camera follows the positioning of the patient’s head; during the treatment, the position information of the patient’s head is recorded every time the positioning is completed. If the distance between the current time and the previous time of the magnetic stimulation point exceeds the distance due to the patient’s head movement at the next time 5mm, then start following positioning; if not more than 5mm, then do not start following positioning.
  3. 根据权利要求2所述的一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,所述跟随定位的步骤为:通过所述智能终端对患者头部模型的空间位姿进行微调,使患者头部模型的空间位姿与患者头部当前的实际空间位姿进行匹配,然后在头部模型上重新定位最新的磁刺激点,最后重新规划机械手的移动路径,将TMS线圈移动到最新的磁刺激点进行治疗。The camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to claim 2, wherein the step of following positioning is: fine-tuning the spatial pose of the patient's head model through the intelligent terminal, so that The spatial pose of the patient's head model is matched with the current actual spatial pose of the patient's head, and then the latest magnetic stimulation point is repositioned on the head model, and finally the moving path of the manipulator is re-planned, and the TMS coil is moved to the latest Magnetic stimulation points for treatment.
  4. 根据权利要求1所述的一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,步骤S2中,对患者头部进行建模包括以下步骤:The camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to claim 1, wherein in step S2, modeling the patient's head includes the following steps:
    S21,通过所述3D摄像头从各个方向采集患者头部的3D图像数据,并将采集到的3D图像数据发送给所述智能终端;S21, collecting 3D image data of the patient's head from various directions through the 3D camera, and sending the collected 3D image data to the smart terminal;
    S22,通过所述智能终端将所述3D图像数据进行整合,得到患者头部完整的3D点云图像,再通过抽样、平滑、平面拟合处理后得到患者头部完整的3D头模数据;S22: Integrate the 3D image data through the smart terminal to obtain a complete 3D point cloud image of the patient's head, and then obtain complete 3D head model data of the patient's head after sampling, smoothing, and plane fitting;
    S23,利用所述3D头模数据,结合MNI脑空间坐标,将MNI空间的颅骨3D数据映射到患者的3D头模数据上,得到患者的3D头模。S23: Using the 3D head model data, combined with the MNI brain space coordinates, map the skull 3D data in the MNI space to the patient's 3D head model data to obtain the patient's 3D head model.
  5. 根据权利要求1所述的一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,步骤S3中,将患者的头模的位置与患者头部的实际位置进行匹配的方法包括以下步骤:The camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to claim 1, wherein, in step S3, the method of matching the position of the patient's head model with the actual position of the patient's head comprises the following steps:
    S31,在患者头模上标出用于配准的面部特征点;S31, mark the facial feature points for registration on the patient's head model;
    S32,通过3D摄像头识别出患者面部的特征点;S32: Recognizing the feature points of the patient's face through the 3D camera;
    S33,将步骤S31中标出的面部特征点与步骤S32中识别出的面部特征点进行匹配计算,得到患者头部与患者头模的旋转、平移关系;S33: Perform a matching calculation between the facial feature points marked in step S31 and the facial feature points identified in step S32 to obtain the rotation and translation relationship between the patient's head and the patient's head model;
    S34,根据所述旋转、平移关系对患者头模进行旋转、平移操作,使患者头模的位置与患者头部的实际位置匹配上。S34: Perform rotation and translation operations on the patient's head mold according to the rotation and translation relationship, so that the position of the patient's head mold matches the actual position of the patient's head.
  6. 根据权利要求1所述的一种基于摄像头的经颅磁刺激诊疗导航***,其特征在于,步骤S4中,对所述机械手、TMS线圈和3D摄像头建模后,需要将机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置进行匹配;具体匹配方法为:The camera-based transcranial magnetic stimulation diagnosis and treatment navigation system according to claim 1, wherein in step S4, after modeling the manipulator, TMS coil, and 3D camera, the manipulator model, TMS coil model , The spatial position of the 3D camera model is matched with the actual spatial position of the manipulator, TMS coil, and 3D camera; the specific matching method is:
    S41,在机械手模型上标出用于配准的特征点;S41, mark the feature points for registration on the manipulator model;
    S42,通过3D摄像头识别出机械手处于初始位置时的特征点;S42: Recognizing the characteristic points when the manipulator is in the initial position through the 3D camera;
    S43,将步骤S41中标出的特征点与步骤S42中识别出的特征点进行匹配计算,得到机械手模型与机械手的旋转、平移关系;S43: Perform matching calculation on the feature points marked in step S41 and the feature points identified in step S42 to obtain the rotation and translation relationship between the manipulator model and the manipulator;
    S44,根据机械手处于初始位置时所述3D摄像头、TMS线圈与机械手的相对位置是固定的原理,得到3D摄像头模型、TMS线圈模型分别与3D摄像头、TMS线圈的旋转、平移关系;S44: According to the principle that the relative positions of the 3D camera, the TMS coil and the manipulator are fixed when the manipulator is in the initial position, obtain the rotation and translation relationships of the 3D camera model and the TMS coil model with the 3D camera and the TMS coil respectively;
    S45,根据步骤S43和步骤S44中的旋转、平移关系,对所述机械手模型、TMS线圈模型、3D摄像头模型进行旋转、平移操作,使所述机械手模型、TMS线圈模型、3D摄像头模型的空间位置分别与机械手、TMS线圈、3D摄像头的实际空间位置匹配上。S45: Perform rotation and translation operations on the manipulator model, TMS coil model, and 3D camera model according to the rotation and translation relationship in step S43 and step S44, so that the manipulator model, TMS coil model, and 3D camera model are positioned in space They are matched with the actual spatial positions of the manipulator, TMS coil and 3D camera.
PCT/CN2019/076102 2019-02-26 2019-02-26 Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system WO2020172781A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/076102 WO2020172781A1 (en) 2019-02-26 2019-02-26 Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system
CN201980001180.6A CN110896611B (en) 2019-02-26 2019-02-26 Transcranial magnetic stimulation diagnosis and treatment navigation system based on camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/076102 WO2020172781A1 (en) 2019-02-26 2019-02-26 Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system

Publications (1)

Publication Number Publication Date
WO2020172781A1 true WO2020172781A1 (en) 2020-09-03

Family

ID=69789333

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076102 WO2020172781A1 (en) 2019-02-26 2019-02-26 Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system

Country Status (2)

Country Link
CN (1) CN110896611B (en)
WO (1) WO2020172781A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112274780A (en) * 2020-11-19 2021-01-29 王昕� Force compensation device and method of TMS treatment equipment externally connected with cable
CN117224233A (en) * 2023-11-09 2023-12-15 杭州微引科技有限公司 Integrated perspective CT and interventional operation robot system and use method thereof

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111672029A (en) * 2020-06-04 2020-09-18 杭州师范大学 Intelligent navigation method, navigation system and navigator based on cranial surface anatomical landmarks
CN111729200B (en) * 2020-07-27 2022-06-17 浙江大学 Transcranial magnetic stimulation automatic navigation system and method based on depth camera and magnetic resonance
CN113041500A (en) * 2021-03-31 2021-06-29 南京伟思医疗科技股份有限公司 Memorable transcranial magnetic stimulation navigation positioning device and positioning method
CN113289256B (en) * 2021-07-05 2023-04-14 武汉依瑞德医疗设备新技术有限公司 Magnetic stimulation therapeutic instrument with printing function
CN115154907A (en) * 2022-07-19 2022-10-11 深圳英智科技有限公司 Transcranial magnetic stimulation coil positioning control method and system and electronic equipment
CN115157268A (en) * 2022-08-19 2022-10-11 北京银河方圆科技有限公司 Spatial attitude estimation method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130345491A1 (en) * 2011-03-09 2013-12-26 A School Corporation Kansai University Image data processing device and transcranial magnetic stimulation apparatus
CN104740780A (en) * 2015-03-20 2015-07-01 中国科学院电工研究所 Electromagnetic positioning and navigation device for transcranial magnetic stimulator
CN106110507A (en) * 2016-07-26 2016-11-16 沈阳爱锐宝科技有限公司 The navigation positional device of a kind of transcranial magnetic stimulation device and localization method
CN107149722A (en) * 2017-06-20 2017-09-12 深圳市瀚翔生物医疗电子股份有限公司 A kind of transcranial magnetic stimulation treatment equipment
CN107497049A (en) * 2017-09-30 2017-12-22 武汉资联虹康科技股份有限公司 A kind of electromagnetic location air navigation aid and device for transcranial magnetic stimulation device
CN108334853A (en) * 2018-02-14 2018-07-27 天目爱视(北京)科技有限公司 A kind of head face 3D 4 D data harvesters
CN108344420A (en) * 2018-02-22 2018-07-31 王昕� A kind of transcranial magnetic stimulation intelligent navigation positioning device
CN109011157A (en) * 2018-07-03 2018-12-18 中国科学院电工研究所 Cerebral magnetic stimulation coil positioning device
CN109173062A (en) * 2018-09-17 2019-01-11 武汉资联虹康科技股份有限公司 A kind of efficient TMS resetting method
CN109260593A (en) * 2018-09-27 2019-01-25 武汉资联虹康科技股份有限公司 A kind of transcranial magnetic stimulation treatment method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2521609B (en) * 2013-12-23 2016-02-10 Nexstim Oy Device support apparatus
CN107907107A (en) * 2017-11-03 2018-04-13 武汉资联虹康科技股份有限公司 A kind of bat alignment system and method based on TMS navigation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130345491A1 (en) * 2011-03-09 2013-12-26 A School Corporation Kansai University Image data processing device and transcranial magnetic stimulation apparatus
CN104740780A (en) * 2015-03-20 2015-07-01 中国科学院电工研究所 Electromagnetic positioning and navigation device for transcranial magnetic stimulator
CN106110507A (en) * 2016-07-26 2016-11-16 沈阳爱锐宝科技有限公司 The navigation positional device of a kind of transcranial magnetic stimulation device and localization method
CN107149722A (en) * 2017-06-20 2017-09-12 深圳市瀚翔生物医疗电子股份有限公司 A kind of transcranial magnetic stimulation treatment equipment
CN107497049A (en) * 2017-09-30 2017-12-22 武汉资联虹康科技股份有限公司 A kind of electromagnetic location air navigation aid and device for transcranial magnetic stimulation device
CN108334853A (en) * 2018-02-14 2018-07-27 天目爱视(北京)科技有限公司 A kind of head face 3D 4 D data harvesters
CN108344420A (en) * 2018-02-22 2018-07-31 王昕� A kind of transcranial magnetic stimulation intelligent navigation positioning device
CN109011157A (en) * 2018-07-03 2018-12-18 中国科学院电工研究所 Cerebral magnetic stimulation coil positioning device
CN109173062A (en) * 2018-09-17 2019-01-11 武汉资联虹康科技股份有限公司 A kind of efficient TMS resetting method
CN109260593A (en) * 2018-09-27 2019-01-25 武汉资联虹康科技股份有限公司 A kind of transcranial magnetic stimulation treatment method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112274780A (en) * 2020-11-19 2021-01-29 王昕� Force compensation device and method of TMS treatment equipment externally connected with cable
CN117224233A (en) * 2023-11-09 2023-12-15 杭州微引科技有限公司 Integrated perspective CT and interventional operation robot system and use method thereof
CN117224233B (en) * 2023-11-09 2024-02-20 杭州微引科技有限公司 Integrated perspective CT and interventional operation robot system and use method thereof

Also Published As

Publication number Publication date
CN110896611A (en) 2020-03-20
CN110896611B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
WO2020172781A1 (en) Camera-based transcranial magnetic stimulation diagnosis and treatment navigation system
WO2020062774A1 (en) Transcranial magnetic stimulation-based diagnosis and treatment apparatus
WO2020172779A1 (en) Camera system for transcranial magnetic stimulation therapy
CN110896609B (en) TMS positioning navigation method for transcranial magnetic stimulation treatment
WO2020172782A1 (en) Transcranial magnetic stimulation diagnosis and treatment detection system based on camera
CN109173062B (en) Efficient TMS (TMS) repeated positioning method
WO2012171405A1 (en) Eyeball movement monitoring method and device
CN109730923A (en) Assist ear acupuncture point automatic positioning equipment, positioning system and the localization method of Auricular point seed pressing
WO2015098155A1 (en) Operation teaching apparatus and transcranial magnetic stimulation apparatus
WO2020172780A1 (en) Camera-based transcranial magnetic stimulation diagnosis head model building system
CN111729200A (en) Transcranial magnetic stimulation automatic navigation system and method based on depth camera and magnetic resonance
CN116630382B (en) Nerve regulation and control image monitoring registration system and control method
CN110638524B (en) Tumor puncture real-time simulation system based on VR glasses
CN115006737A (en) Radiotherapy body position monitoring system based on depth camera
CN110896610A (en) Transcranial magnetic stimulation diagnosis and treatment equipment
US12016715B2 (en) Chest X-ray system and method
EP4201330A1 (en) Chest x-ray system and method
WO2024069042A1 (en) A dental x-ray imaging system and a method for dental x-ray imaging of a patient
CN113081013A (en) Method, device and system for scanning positioning sheet
CN111672029A (en) Intelligent navigation method, navigation system and navigator based on cranial surface anatomical landmarks
CN115429581A (en) Facial state recording instrument for severe bedridden patient
CN115008753A (en) 3D printing accurate positioning navigation transcranial magnetic stimulation head model and manufacturing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19916648

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19916648

Country of ref document: EP

Kind code of ref document: A1