Automation methods, systems and devices for medical environments
By using a combination of multiple sensing devices and processing devices in a medical environment, automated operation of medical equipment is realized, solving the problems of tedious and inaccurate manual operations, and improving safety and efficiency.
Patent Information
- Application Number
- CN202111251538.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-10-27
- Filing Date
- 2021-10-20
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-10-20
Smart Images

Figure CN113963780B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the medical field. Background Art
[0002] Medical procedures are complex operations that require high concentration, precision and coordination. Currently, most operations that occur in medical environments are performed manually. For example, during surgery, medical staff must not only focus on executing the program and observing the patient's condition, they must also pay attention to tools and equipment (e.g., lighting equipment, X-ray scanners, etc.), and usually recognize the operating environment to ensure that tools and equipment are within reach when needed, and the movement of a tool or device does not interfere with the ongoing operation or collide with other tools or devices in the environment. In addition, the patient's physical characteristics, posture and / or movement during surgery may require continuous adjustment of the parameters, configuration and / or settings of the medical device (e.g., such as an X-ray scanner) so that they can adapt to the patient's specific conditions. Manually performing these tasks not only brings additional burdens to medical staff, but manual work also lacks accuracy and consistency, and is difficult to monitor or verify. Therefore, it is highly desirable to automate aspects of operations in a medical environment to reduce the burden on medical experts and enhance the safety, efficiency and effectiveness of operations. Summary of the invention
[0003] Systems, methods, and devices associated with automating a medical environment are described herein. The systems described herein may include one or more sensing devices and at least one processing device communicatively coupled to the one or more sensing devices. The one or more sensing devices may be configured to capture an image of the medical environment, wherein the image may be associated with a corresponding image coordinate system, and the medical environment may be associated with a world coordinate system. Each of the one or more sensing devices may include a 2D vision sensor configured to capture a two-dimensional (2D) image of the medical environment or a 3D vision sensor configured to capture a three-dimensional (3D) image of the medical environment. At least one processing device may be configured to receive all or a subset of the images captured by the one or more sensing devices, identify one or more persons or one or more objects in the received images (e.g., using an artificial neural network such as a convolutional neural network), and determine the corresponding positions of the one or more persons or one or more objects in the medical environment based on the corresponding positions of the one or more persons or one or more objects in the received images.
[0004] At least one processing device may be configured to determine the respective positions of one or more persons or one or more objects in a medical environment based at least on a respective spatial relationship between a world coordinate system and an image coordinate system associated with the received image. Based on the determined positions of the one or more persons or one or more objects in the medical environment, the at least one processing device may generate information for controlling a medical device (e.g., at least a portion of the medical device) located in the medical environment, and transmit the generated information for controlling the medical device to a receiving device. For example, the one or more objects detected in the medical environment may include a medical device, the one or more persons detected in the medical environment may include a patient, and the information generated by the at least one processing device may include a command to move the medical device toward the patient.
[0005] In one or more embodiments, the information generated by the at least one processing device may include navigation instructions that prevent the medical device from colliding with other persons or objects detected in the received image when the medical device moves toward the patient. In one or more embodiments, the information generated by the at least one processing device may include a plan for a movement path of the medical device toward the patient. In one or more embodiments, the image received by the at least one processing device may include an image of a patient in a medical environment, and the at least one processing device may be configured to generate a parametric human model of the patient based on the image of the patient, and further determine a scanning area or a surgical area of the patient based on the parametric human model. Then, the at least one processing device may generate and transmit instructions to move the medical device toward the determined scanning or surgical area of the patient. In one or more embodiments, the one or more objects detected in the image received by the at least one processing device may include a radiation source, and the at least one processing device may be configured to determine the corresponding radiation exposure of the one or more persons detected in the received image based on the radiation source and the corresponding positions of the one or more persons determined by the at least one processing device. In one or more embodiments, the at least one processing device may also be configured to determine the stage of a medical procedure performed in the medical environment based on the one or more persons or one or more objects detected in the received image and / or information about the various stages of the medical procedure collected by the at least one processing device.
[0006] At least one processing device is configured to determine a corresponding spatial relationship between a world coordinate system and an image coordinate system based on images of one or more markers located in a medical environment captured by one or more sensing devices. For example, at least one processing device may be configured to determine the corresponding coordinates of one or more markers in the image coordinate system associated with each image of the one or more markers, determine the corresponding coordinates of one or more markers in the world coordinate system, and determine the rotation and translation between the world coordinate system and the image coordinate system associated with each image of the one or more markers based on the corresponding coordinates of the one or more markers in the image coordinate system and the corresponding coordinates of the one or more markers in the world coordinate system. Further, when one or more sensing devices include a 2D visual sensor, at least one processing device may be configured to determine the depth of a person or object detected in the first 2D image based on a first 2D image captured by the first sensing device and a second 2D image captured by the second sensing device.
[0007] Each of the one or more sensing devices described herein may include a communication circuit, and each sensing device may be configured to communicate with at least one other sensing device of the one or more sensing devices via the communication circuit. The medical device described herein may include an X-ray scanner, such as an X-ray scanner with a C-arm. The receiving device described herein may include a medical device or a control unit of a medical device (e.g., a remote control unit). The at least one processing device described herein is configured to use a convolutional neural network to identify the one or more people or the one or more objects in the received image. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Examples disclosed herein may be understood in more detail from the following description given by way of example in conjunction with the accompanying drawings.
[0009] Figure 1 is a block diagram illustrating an example system described herein that can be used to automate a medical environment.
[0010] Figure 2A and Figure 2B is a diagram illustrating example geometry associated with camera projection.
[0011] Figure 3 is a diagram illustrating an example of calibrating a sensing device described herein.
[0012] Figure 4 is a diagram illustrating an example of depth determination based on images captured by two sensing devices as described herein.
[0013] Figure 5 is a flow chart illustrating an example of training an artificial neural network to detect people or objects in an image.
[0014] Figure 6 is a flow diagram illustrating example operations that may be performed during automation of a medical environment.
[0015] Figure 7 is a block diagram illustrating an example of a sensing device described herein.
[0016] Figure 8 is a block diagram illustrating an example of a processing device described herein. DETAILED DESCRIPTION
[0017] The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings.
[0018] Figure 1 1 is a diagram illustrating a medical environment 100 that can be automated using the systems, methods, and / or devices disclosed herein. The medical environment 100 can be any facility in a health care environment, including, for example, an operating room or scanning room in a hospital, a rehabilitation facility, a fitness center, etc. The medical environment 100 can be equipped with various tools, devices, and / or equipment, such as a patient bed 102, an X-ray scanner 104 with a C-arm (e.g., C-arm 106), a patient monitoring device 108, etc. The tools, devices, and / or equipment can be manipulated (e.g., manually or automatically) to accommodate the needs of the medical procedure performed in the medical environment 100. For example, the patient bed 102 can be raised or lowered, the C-arm 106 of the X-ray scanner can be manipulated (e.g., moved, tilted, or rotated) toward a particular scanning position, a lighting device (not shown) can be adjusted to focus on a surgical site, etc.
[0019] For example, one or more sensing devices 110 and / or a processing device 112 (e.g., a processing device) communicatively coupled to the one or more sensing devices 110 may be utilized to automate some or all operations in the medical environment 100. The sensing devices 110 may be installed at various locations in the medical environment 100 and may be communicatively coupled to the processing device 112 and / or other devices of the medical environment 100 via a communication network 114. Each sensing device 110 may include one or more sensors, such as one or more 2D vision sensors (e.g., 2D cameras), one or more 3D vision sensors (e.g., 3D cameras), one or more red, green, and blue (RGB) sensors, one or more depth sensors, one or more RGB plus depth (RGB-D) sensors, one or more thermal sensors (e.g., infrared (FIR) or near infrared (NIR) sensors), one or more motion sensors, one or more radar sensors, and / or other types of image capture circuitry configured to capture images of people, objects, or scenes in the medical environment 100. Depending on the type of camera, sensor, and / or image capture circuitry included in the sensing device 110, the images generated by the sensing device 110 may include, for example, one or more photographs, one or more thermal images, one or more radar images, etc. The sensing device 110 may be configured to generate the images described herein in response to detecting a person, object, or scene in the medical environment 100. The sensing device 110 may also be configured to generate the images described herein based on a preconfigured schedule or time interval or upon receiving a control signal (e.g., from a remote device) that triggers image generation.
[0020] Each sensing device 110 may include a functional unit (e.g., a processor) configured to control the image capture functions described herein. The functional unit may also be configured to process images (e.g., pre-process the image before sending it to another device), communicate with other devices located inside or outside the medical environment 100, determine the characteristics of the medical environment 100 based on the captured images, etc. Each sensing device 110 may include communication circuits and may be configured to exchange information with one or more other sensing devices via communication circuits and / or communication networks 114. The sensing devices 110 may form a sensor network in which the sensing devices may transmit data to each other and receive data from each other. The data exchanged between the sensing devices 110 may include, for example, image data captured by each sensing device and / or control data for discovering the presence of each sensing device and / or calibrating the parameters of each sensing device. For example, when a new sensing device is added to the medical environment 100, the sensing device may transmit a message (e.g., via broadcast, multicast, or unicast) to one or more other sensing devices in the sensor network and / or a controller of the sensor network (e.g., a processing device as described herein) to announce the addition of the new sensing device. In response to such notification or transmission of data, other sensing devices and / or controllers may register the new sensing device and begin exchanging data with the new sensing device.
[0021] The sensing devices 110 can be configured to be mounted at various locations in the medical environment 100, including, for example, on a ceiling, above a doorway, on a wall, on a medical device, etc. From these locations, each sensing device 110 can capture an image of a patient, object, or scene in the field of view (FOV) of the sensing device (e.g., the FOV can be defined by a viewpoint and / or a viewing angle). The FOV of each sensing device 110 can be adjusted manually or automatically (e.g., by transmitting a control signal to the sensing device) so that the sensing device can capture images of a person, object, or scene in the medical environment 100 from different viewpoints or different viewing angles.
[0022] Each sensing device 110 can be configured to exchange information with other devices in the medical environment 100, for example, via a communication network 114. In an example, each sensing device 110 can be configured to transmit an image captured by the sensing device to a processing device 112. In an example, the processing device 112 can be configured to retrieve an image captured by the sensing device 110 from the sensing device, for example, via a pull mechanism. The transmission and / or retrieval of the image can be performed periodically or in response to receiving a control signal indicating the transmission or retrieval. For example, the processing device 112 can be configured to receive a notification from the sensing device 110 when an image is captured, and retrieve the image in response to receiving the notification.
[0023] The configuration and / or operation of the sensing device 110 may be at least partially controlled by the programming device 116. For example, the programming device 116 may be configured to initialize and modify one or more execution parameters of the sensing device 110, including, for example, the resolution of images captured by the sensing device 110, the period of data exchange between the sensing device 110 and the processing device 112, the frame rate or bit rate associated with the data exchange, the duration of data storage on the sensing device, etc. The programming device 116 may also be configured to control one or more aspects of the operation of the sensing device 110, such as triggering calibration of the sensing device, adjusting the corresponding orientation of the sensing device, zooming in or out on a person or object in the medical environment 100, triggering a reset, etc. The programming device 116 may be a mobile device (e.g., such as a smart phone, a tablet, or a wearable device), a desktop computer, a laptop computer, etc., and may be configured to communicate with the sensing device 110 and / or the processing device 112 via the communication network 114. The programming device 116 may receive information and / or instructions from a user (eg, via a user interface implemented on the programming device 116 ) and forward the received information and / or instructions to the sensing device 110 via the communication network 114 .
[0024] The communication network 114 described herein can be a wired or wireless network, or a combination thereof. For example, the communication network 114 can be established on a public network (e.g., the Internet), a private network (e.g., a local area network (LAN), a wide area network (WAN), etc.), a wired network (e.g., Ethernet), a wireless network (e.g., an 802.11 network, a Wi-Fi network, etc.), a cellular network (e.g., a long-term evolution (LTE) or a 5G network), a frame relay network, a virtual private network (VPN), a satellite network, and / or a telephone network. The communication network 114 may include one or more network access points. For example, the communication network 114 may include wired and / or wireless network access points, such as base stations and / or Internet exchange points, through which one or more devices in the medical environment 100 can be connected to exchange data and / or other information. This exchange can utilize routers, hubs, switches, server computers, and / or any combination thereof.
[0025] The processing device 112 may be configured to receive the image from the sensing device 110 and determine one or more features of the medical environment 100 based on the image. These features may include, for example, people and / or objects present in the medical environment 100 and their respective locations in the medical environment 100. People present in the medical environment 100 may include, for example, a patient 118 and / or medical personnel (e.g., a physician, a technician, a nurse, etc.) caring for the patient 118. Objects present in the medical environment 100 may include, for example, an X-ray scanner 104, a C-arm 106, a monitoring device 108, a bed 102, and / or Figure 1Other devices or tools not shown in the figure. Based on the determined characteristics of the medical environment 100, the processing device 112 can generate information (e.g., commands) for automating one or more aspects of the operation within the medical environment 100. For example, in response to detecting the patient 118 and determining the corresponding positions of the patient 118 and various devices in the medical environment 100, the processing device 112 can generate one or more messages (e.g., one or more instructions and / or commands) that, for example, manipulate at least a portion of the target medical device (e.g., such as the X-ray scanner 104 or the C-arm 106 of the surgical robot) toward the patient 118 without requiring the physician or technician to manually manipulate the target medical device. The position of the patient 118 may include a 3D position of a scan or surgical site of the patient 118 (e.g., represented by [X, Y, Z] coordinates), and the processing device 112 may be configured to transmit one or more control messages to the target medical device (e.g., a control unit of the target medical device) via a communication interface (such as an application programming interface (API)) to the target medical device. The communication interface can be implemented based on various protocols, including, for example, a representational state transfer (REST) protocol. The processing unit 112 can determine potential obstacles between the patient 118 and the target medical device (e.g., other tools or devices in the medical environment 100), and include navigation instructions (e.g., navigation direction and / or step length) in one or more messages generated by the processing unit 112 to prevent the target medical device from colliding with other objects in the medical environment 100 (e.g., such as objects such as a computer program product) as the medical device moves toward the patient 118. Figure 1 The monitoring device 108 shown collided with a person (e.g., a physician caring for a patient 118).
[0026] The processing device 112 can be configured to transmit one or more messages to the receiving device to control the target medical device based on the one or more messages. The receiving device can be an X-ray scanner 104 or a control unit of the X-ray scanner 104, which can be located inside the X-ray scanner 104 or away from the X-ray scanner 104 (e.g., in a separate room). The receiving device can be communicatively coupled to the processing device 112, for example, via a communication network 114. The processing device 112 can provide notifications about control operations to be performed on the target medical device to the receiving device and / or medical personnel caring for the patient 118. For example, the processing device 112 can estimate the movement path of the C-arm 106 toward the patient 118 based on the determined characteristics of the medical environment 100 (e.g., based on the corresponding positions of people and / or objects detected in the medical environment), and provide (e.g., indicate) the estimation to the receiving device and / or medical personnel. The estimation can be provided in various forms, including, for example, the planning of the movement path or the simulation of the movement of the medical device (e.g., animation simulation). The estimate may be presented on the monitoring device 108 or another suitable display device, such as a display device attached to the processing device 112. The processing device 112 may also be configured to provide a visual representation of the layout of the medical environment 100 based on the persons and / or objects detected in the images captured by the sensing device 110. The visual representation may indicate, for example, the persons and / or objects detected in the medical environment 100 and / or their respective locations in the medical environment 100. The visual representation may be provided to a receiving device as described herein and / or to a controller of the medical environment 100 (e.g., a physician or technician overseeing the medical environment 100).
[0027] Other aspects of the operation and / or workflow in the medical environment 100 may also be automated based on the images captured by the sensing device 110. In an example, the processing device 112 may determine a human body model (e.g., a 3D parametric human body model) that reflects the body shape, posture, and / or movement of the patient 118 based on one or more images of the patient 118. The processing device 112 may use such a human body model to determine a scanning or surgical area of the patient and generate instructions or commands that move a medical device (e.g., a scanner, a surgical robot, etc.) toward the determined scanning or surgical area. The processing unit 112 may also adjust the parameters of the medical device (e.g., scanning direction, radiation dose, cutting angle, etc.) to better target the scanning or surgical area. Alternatively or in addition, the processing device 112 may indicate the scanning or surgical area to the physician (e.g., by highlighting the scanning or surgical area on the human body model) so that the scan or incision can be performed with improved accuracy. The processing device 112 can present a visualization (e.g., an augmented or virtual reality visualization) in which a 3D body model of the patient described herein can be overlaid with the 3D location of the organ or lesion of interest to provide real-time guidance to the physician or technician during the medical procedure (e.g., the body model and / or 3D location can be adjusted in real time based on the patient's posture and / or posture). The processing device 112 can also facilitate image registration (e.g., coarse to fine image registration) by fusing images and / or vision captured by the sensing device 110. An example of creating a body model of a patient based on one or more images of the patient can be found in commonly assigned U.S. patent application Ser. No. 16 / 860,901, filed on April 28, 2020, entitled “Sensing Device for Medical Facilities,” the disclosure of which is hereby incorporated by reference in its entirety.
[0028] In an example, the processing device 112 may detect a radiation source in an image captured by the sensing device 110, and further determine the position and / or orientation of the radiation source in the medical environment 100 relative to a person (e.g., patient 118, physician, technician, etc.) in the medical environment 100 based on the image. In response to the detection and / or determination, the processing device 112 may estimate the radiation exposure of the person (e.g., accumulated radiation over a period of time) and provide a notification to the person about the radiation exposure (e.g., to warn the person of the exposure). The processing device 112 may collect information about the execution parameters of the radiation source and generate an estimate based on these execution parameters. For example, the execution parameters may indicate the radiation intensity and / or radiation range of the radiation source (e.g., the parameters may reflect the radiation model of the radiation source). It can be seen that based on the position and / or orientation of the radiation source indicated by the image, the processing device 112 may determine the amount of radiation that can reach the position of the person in the medical environment 100. The processing device 112 may also calculate the radiation exposure value of a specific body part (e.g., head, chest, etc.) of the person using a human body mesh model of the person that can be derived from the image of the person. The processing unit can provide notifications about radiation exposure in various forms, including, for example, a graph depicting the person's radiation exposure along a time axis. The processing device 112 can automatically adjust one or more parameters of the radiation source (e.g., direction and / or radiation intensity) based on the person's estimated radiation exposure and / or a treatment or safety plan for the person.
[0029] In an example, the processing device 112 can determine the progress of a medical procedure for the patient 118 based on people, objects, and / or activities detected in the medical environment 100. For example, the various stages of the medical procedure can be associated with visual patterns, such as certain personnel (e.g., anesthesiologists) in the medical environment 100, certain tools, devices, and / or drugs deployed and / or managed, certain postures taken by the patient 118, etc. The processing device 112 can collect information about the visual patterns associated with the various stages of the medical procedure, detect specific patterns based on images captured by the sensing device 110, and determine the current stage of the medical procedure accordingly. The processing device 112 can optimize or provide recommendations for optimizing the workflow of the medical environment 100 based on the current and / or subsequent stages of the medical procedure. For example, the processing device 112 can recommend, locate and / or prepare tools or devices that may be needed for the current or subsequent stages of the medical procedure, the processing device 112 can detect anomalies in the medical environment 100 (e.g., identifying redundant personnel in the medical environment), and / or the processing device 112 can perform a time analysis of the medical procedure, for example, to determine whether the medical procedure is ahead of or behind schedule.
[0030] In an example, the processing device 112 may be communicatively coupled to a database 120, for example, via a communication network 114. The database 120 may include a patient record repository that stores basic information of the patient 118, a diagnosis and / or treatment history of the patient 118, scanned images of the patient 118, etc. As part of automating a medical procedure for the patient 118, the processing device 112 may be configured to retrieve all or a subset of the medical records of the patient 118 from the database 120, analyze the retrieved medical records in conjunction with other information of the patient 118 collected or determined by the processing device 112 (e.g., such as a human body model as described herein), and generate commands and / or information that enable one or more aspects of the medical procedure to be performed for the patient 118 without human intervention. For example, based on past medical scans of patient 118, the body geometry of patient 118, and / or other preferences and / or constraints associated with patient 118, processing device 112 may automatically determine parameters and / or configurations of devices involved in the medical device (e.g., the position and / or orientation of C-arm 106), and cause the parameters and / or configurations to be implemented for the device, for example by transmitting the parameters and / or configurations to a control unit of the device.
[0031] In order to determine the position of a person or object in the medical environment 100 based on the image of the person or object captured by the sensing device, a spatial relationship between a coordinate system associated with the medical environment 100 (e.g., which may be referred to as a world coordinate system or a global coordinate system in this document) and a coordinate system associated with the image (e.g., which may be referred to as an image coordinate system or a local coordinate system in this document) may be established. For ease of description, it is assumed herein that the coordinate system is a Cartesian coordinate system, in which the position of the person or object may be defined using the corresponding coordinates of the person or object in the X, Y, or Z direction relative to the origin of the coordinate system. However, those skilled in the art should understand that other types of coordinate systems (e.g., such as a cylindrical coordinate system or a spherical coordinate system) may also be used without affecting the functionality described herein.
[0032] Figure 2A and Figure 2B An example geometry associated with a camera projection is shown. As shown, the world (e.g., Figure 1 A 3D point P in the medical environment 100 of the present invention can be projected onto the image plane and become P'. Thus, given the coordinates (X, Y, Z) of P in the world, the coordinates (x, y) of P' in the image plane can be derived as x = fX / Z and y = fY / Z, where f can represent the focal length of the camera (e.g., the distance between the center of the camera and the projection plane). Using homogeneous coordinates, the camera projection can be modeled as follows:
[0033]
[0034] To express the distances in the above model in terms of pixel coordinates and add control over how pixels can be scaled in the x and y directions, the model shown above can be rewritten as:
[0035]
[0036] Among them, f x =s x f, f y =s y f,s x and y may represent the scaling factor in the x, y directions, and (u0, v0) may represent the pixel coordinates of the camera center (eg, principal point) in the image plane.
[0037] If the axes of the image plane are not exactly vertical, a skew factor α can also be added to the model to account for potential misalignment with square pixels. The internal camera model can then be expressed as:
[0038]
[0039] Furthermore, since the image coordinate system may be rotated and / or translated from the world coordinate system (e.g., via a rigid transformation), the coordinate transformation between the world coordinate system and the image coordinate system may further take into account the rotation and / or translation between the two coordinate systems, as exemplified below:
[0040]
[0041] Wherein K (as shown below) may represent an internal camera matrix including internal parameters of the camera, such as the focal length of the camera, the pixel coordinates of the principal point, one or more scaling factors, a skew factor, etc., and [R t] (as shown below) may represent an external matrix indicating the rotation and translation between the world coordinate system and the image coordinate system.
[0042]
[0043]
[0044] Wherein, the parameter r in the external matrix may represent the corresponding rotation angle between the corresponding axes of the world coordinate system and the image coordinate system, and wherein, the parameter t in the external matrix may represent the corresponding coordinate offset between the origins of the world coordinate system and the image coordinate system.
[0045] For each sensing device, the parameters of the internal matrix and the external matrix described herein can be determined by one or more calibration operations. The calibration operation can be performed during or after the sensing device is installed in the medical environment (for example, after the sensing device is added to the sensor network described herein). The calibration can be performed autonomously without human intervention (for example, using pre-existing markers and / or images taken by the sensing device). For example, the internal parameters and the external parameters can be estimated using a homography matrix H, which represents the transformation between the image projection plane and the image (for example, between a point M on the image projection plane and a corresponding point m in the image). This transformation can be expressed as follows:
[0046]
[0047] Among them, (x,y,1) and (X,Y,1) can represent the coordinates of points M and m respectively.
[0048] Based on 4)-6), and without loss of generality, assuming that the image projection plane of the sensing device is on Z=0 of the world coordinate system, the following equation can also be obtained:
[0049]
[0050] (For example, by making Z=0 and deleting the third column from 6)). From 7) and 8), the following equation can be derived:
[0051]
[0052] It can be expressed as K(r1, r2, t) = (h1, h2, h3). Based on 9), the following equation can be further obtained:
[0053] h1 T K -T K -1 h2=0 10)
[0054] h1 T K -T K -1 h1-h2 T K -T K -1 h2=0 11)
[0055] Now order B can be symmetric and can be represented by the vector b=(B 11 ,B 12 ,B 13 ,B 22 ,B 23 ,B 33 ) T Definition. By denoting the i-th column of the homography matrix H as hi =(h i1 ,h i2 ,h i3 ) T , the following equation can be derived:
[0056] h i T Bh j =v ij T b 12)
[0057] Among them, v ij =(h i1 h j1 ,h i1 h j2 +h i2 h j1 ,h i2 h j2 ,h i3 h j1 +h i1 h j3 ,h i3 h j2 +h i2 h j3 ,h i3 h j3 ) T Given the homography matrix H, constraints 10) and 11) can then be rewritten as homogeneous equations for b:
[0058]
[0059] Thus, based on n images of the image projection plane, n equations like 13) can be stacked together to obtain the following equation:
[0060] Vb=0 14)
[0061] Wherein, V can be a 2n×6 matrix.
[0062] Since B has 6 degrees of freedom and the homography matrix H has 8 degrees of freedom, b (e.g., to the scaling factor) can be uniquely solved using three or more images of a plane (e.g., such as an image projection plane) and four or more points associated with the plane (e.g., since each point on the plane and its corresponding point in the image captured can provide two equations). And once b is estimated, the internal matrix K of the sensing device can be determined, for example, as follows:
[0063] v0=(B 12 B 13 -B 11 B 23 ) / (B 11B 22 -B 12 2 )
[0064] λ=B 33 –[B 13 2 +v0(B 12 B 13 -B 11 B 23 )] / B 11
[0065]
[0066]
[0067] α=–B 12 f x 2 f y / λ
[0068] u0=αv0 / f y -B 13 α 2 / λ
[0069] Here, λ may represent a scaling factor (eg, an arbitrary scaling factor).
[0070] Using the determined K, the external parameters associated with the sensing device can be derived, for example, based on the following equation:
[0071] r1=λK -1 h1
[0072] r2=λK -1 h2
[0073] r3=r1xr2
[0074] t=λK -1 h3
[0075] Where λ = 1 / ||K -1 h1||=1 / ||K -1 h2||.
[0076] Various techniques may be utilized during calibration of the sensing device to obtain the images (eg, of a plane) and feature points (eg, in a plane) needed to estimate the intrinsic and extrinsic parameters described herein. Figure 3 An example of calibrating a sensing device 310 is shown. As shown, a flat surface 320 may be identified in a medical environment in which the sensing device 310 is installed. Such a flat surface 320 may be, for example, a patient bed located in a scanning room or an operating room. The flat surface 320 may include a plurality of markings 330 (e.g., such as Figure 3The markings may be existing parts of the flat surface (e.g., markings engraved into a surface plate) and / or markings that are specifically created and placed on the flat surface 320 for the purpose of calibrating the sensing device 310. As described herein, four or more markings associated with the flat surface 320 and three or more images of the flat surface 320 that include the markings may be used to uniquely determine the homography matrix H and / or intrinsic and extrinsic parameters of a camera model associated with the sensing device 310. The position of the flat surface 320 may be manipulated (e.g., raised, lowered, and / or tilted) during calibration to expand (e.g., manually) the number of markings and / or images that may be used to perform calibration. The sensing device 310 may be used to capture a set of images of the flat surface 320 when the flat surface 320 is in a particular position, and the images may be processed, for example, by the sensing device 310 or a processing device configured to facilitate calibration of the sensing device 310 (e.g., such as a processor). Figure 1 The processing device 112 of the sensor 310 may be used to determine the corresponding (x, y) coordinates of the markers in each captured image. The (X, Y, Z) coordinates of each marker in the world coordinate system may be determined, for example, based on configuration information received by the sensing device 310 or the processing device, based on measurements obtained during an installation or setup process, etc. Then, the homography matrix H and / or the intrinsic and extrinsic parameters of the sensing device 310 may be derived based on the world coordinates of the markers in the camera and the captured images.
[0077] Once the intrinsic and extrinsic camera model parameters of the sensing device are determined, the position of the person or object in the world (e.g., the (X, Y, Z) coordinates of the person or object in the medical environment 100) can be derived based on the coordinates of the person or object in one or more images (e.g., in the image coordinate system). For example, given the image coordinates (x, y) and depth value z (e.g., which can be obtained from a depth image or based on multiple 2D images) of the object or person, the world coordinates P of the object or person can be determined as follows:
[0078] C=inv(K)*(x,y,1)*z 15)
[0079] P=inv(R)*(Ct) 16)
[0080] Among them, K can represent the internal matrix described in this article, R can represent the rotation matrix described in this article, and t can represent the translation vector described in this article.
[0081] If the sensing device includes a 3D vision sensor such as a depth or stereo camera, the Z coordinate of the person or object in the world coordinate system can be derived based on the depth information D provided by the 3D vision sensor. Then, the (X, Y, Z) coordinates of the person or object in the world coordinate system can be calculated based on 15) and 16) by filling the (x, y) coordinates of the person or object in the image and making Z=D. If the sensing device includes a 2D vision sensor that may not provide depth information of the person or object, the Z coordinate of the person or object in the world coordinate system can be derived using images captured by multiple sensing devices, and then the 3D position of the person or object can be calculated based on 15) and 16), similar to the 3D sensor example.
[0082] Figure 4 An example of determining the depth of a point P based on images captured by two cameras L and R (e.g., using triangulation) is shown. As shown, point P can be projected onto the corresponding image planes of the two cameras L and R. Figure 5 For the geometry shown, the following equation can be established:
[0083] z / f=x / xl
[0084] z / f=(xb) / xr
[0085] z / f=y / yl=y / yr
[0086] Wherein, f may represent the focal length of cameras L and R, which may be determined as part of the intrinsic parameters described herein, (x, y, z) may represent the coordinates of point P (with the Y axis perpendicular to the page), and xl, yl, xr, and xl may represent the projected coordinates of point P on the respective image planes of cameras L and R. From the above, the depth (e.g., Z coordinate) of point P may be determined based on the difference between the projected coordinates of point P on the respective image planes of cameras L and R, for example, as follows:
[0087] z=f*b / (xl-xr)
[0088] In an example embodiment, a processing device as described herein (e.g., Figure 1The processing device 112 may be configured to receive images (e.g., 2D images) from multiple sensing devices and apply the techniques described herein to determine the depth position (e.g., Z coordinate) of a person or object included in the image. Using the depth information and the coordinates of the person or object in one or more images, the processing device may further determine the remaining coordinates (e.g., X and Y) of the person or object in the world coordinate system, for example based on 15) and 16). In an example, the image recognition or segmentation techniques described herein may be used to determine an area of an image representing a person or object, and the coordinates of the person or object in the image may be determined based on the center pixel of the image area representing the person or object. In an example, the coordinates of a person or object in an image, such as the coordinates of one or more key points of the person or object (e.g., nose, left hand, etc.), may be determined based on a human body mesh model of the person or object estimated from the image (e.g., the human body mesh model may be a parametric model that defines the positions of key points).
[0089] A processing device as described herein (e.g., Figure 1 The processing device 112 may be configured with image recognition capabilities for identifying an image captured by a sensing device (e.g., Figure 1 The recognition of a person or object can be used for a number of purposes, including, for example, determining the coordinates of a person or object in an image, tracking a person or object across multiple images, and retrieving a person or object from a repository (e.g., Figure 1 Database 118) automatically retrieves a person’s medical records, etc.
[0090] The processing device may be configured to perform image recognition related functions via an artificial neural network such as a convolutional neural network (CNN). A CNN may be trained to receive an image, extract visual features or patterns from the image (e.g., in the form of a feature map or feature vector), and generate an output indicating whether the extracted features or patterns fall into a particular category or class (e.g., a patient, a physician, a medical professional, etc.). Figure 1The CNN may include multiple layers, including, for example, an input layer, one or more convolutional layers, one or more pooling layers, one or more fully connected layers, and / or an output layer. Each convolutional layer may include multiple filters (e.g., kernels) configured to detect key points in an image that collectively represent visual features or patterns. The filters may be assigned corresponding weights, which, when applied to the input, produce outputs indicating whether a specific feature or pattern is detected. The weights of the CNN may be learned through a training process. For example, during training, the CNN may receive various training images and may process these images using the currently assigned weights to make predictions about whether a person or object (e.g., a medical device described herein) has been identified in the image. The prediction may be compared with a gold standard, and the difference between the prediction and the gold standard may be determined, for example, based on a loss function. The CNN may then update its weights based on the determined loss (e.g., based on a gradient descent of a loss function) in order to reduce the difference between the prediction and the gold standard. The CNN may repeat these operations through multiple training iterations and / or for multiple training images until a set of predefined training termination criteria has been met.
[0091] Figure 5 An example process 500 for training a neural network as described herein to perform image recognition is illustrated. Process 500 can begin at 502, and at 504, the neural network can initialize its operating parameters, such as weights associated with one or more filters or kernels of the neural network. The neural network can initialize parameters, for example, based on samples of one or more probability distributions or parameter values from another neural network having a similar architecture. At 506, the neural network can receive a training image, process the image through various layers of the neural network, and make a prediction using the currently assigned parameters of the neural network. The prediction can be, for example, whether the training image includes a person (e.g., a patient, a physician, etc.) and / or a particular object (e.g., such as a Figure 1106 shown in the figure). At 508, the neural network may compare the predicted result with the gold standard and determine the difference between the predicted result and the gold standard, for example, using a loss function. The loss function may be based on, for example, a mean square error (MSE) between the prediction and the gold standard. At 510, the neural network may determine whether one or more training termination criteria are met. For example, if the difference between the predicted result and the gold standard is below a predetermined threshold, if the change in the loss function between two training iterations is below a predetermined threshold, or if the neural network has completed a predetermined number of training iterations, the neural network may determine that the training termination criteria are met. If it is determined at 510 that the training termination criteria are not met, the neural network may proceed to 512 to update the currently assigned neural network parameters via back propagation. For example, the update may be performed based on a gradient descent (e.g., stochastic gradient descent) associated with the loss function. The neural network may then return to 506 to repeat the operations of 506-510. If it is determined at 510 that the training termination criteria are met, the neural network may end the training process 500 at 514.
[0092] In the examples provided herein, one or more tasks are described as being initiated and / or implemented by a processing device, such as processing device 112, for example, in a centralized manner. However, it should be noted that the tasks may also be distributed among multiple processing devices (e.g., interconnected via communication network 114, arranged in a cloud computing environment, etc.) and performed in a distributed manner. Further, even if the processing device has been described herein as a device separate from the sensing device (e.g., sensing device 110), the functionality of the processing device may also be implemented via one or more sensing devices (e.g., one or more sensing devices 110 may include a corresponding processor configured to perform the functionality of the processing device 112 described herein). Therefore, in some example embodiments, a separate processing device may not be included, and one or more sensing devices (e.g., sensing device 110) may assume the responsibilities of the processing device.
[0093] Figure 6 It is shown that the processing device (for example, Figure 1 112) and / or one or more sensing devices (e.g., sensing device 110) to execute so that the medical environment (e.g., Figure 1The present invention provides an example of an operation for automating a medical environment 100 (e.g., a medical environment 100). The operation may begin at 602. At 604, one or more sensing devices (e.g., already installed in the medical environment) may be calibrated in preparation for operation in the medical environment. The calibration may be performed by a processing device (e.g., using images captured by the respective sensing devices) and / or by the respective sensing devices (e.g., in communication with the processing device and / or one or more other sensing devices). For ease of description, at least some calibration operations will be described herein as being performed by the processing device, even though they may also be performed by one or more sensing devices. The calibration may include determining respective parameters of the sensing devices, which may include, for example, internal parameters and external parameters associated with respective visual sensors (e.g., cameras) of the sensing devices, as described herein. To determine these parameters, the respective sensing devices may be configured to capture one or more images of an object (e.g., a hospital bed) in the medical environment. The object may include multiple markers (e.g., such as a Figure 3 As shown), and images may be taken when the object is in different positions (such as when the object is at different heights) (e.g., in order to increase the amount of data that can be used for calibration). The images may be transmitted to a processing device, at which time the processing device may detect (e.g., automatically via a CNN) the markers in the image, and further determine the coordinates of the markers in the image (e.g., in the image coordinate system). The processing device may also collect the world coordinates of the markers (e.g., in a medical environment), for example, based on the configuration information of the medical environment. The processing device may then determine the internal and external camera parameters of the sensing device (and / or the homography matrix H associated with the sensing device) based on the camera and the world coordinates of the markers in the captured images.
[0094] Once the sensing device is calibrated, at 606, the sensing device may begin capturing images of the medical environment and / or transmit images of the medical environment to the processing device. In response to receiving the image, the processing device may analyze the image (e.g., at the pixel level), extract visual features from the image, and identify one or more people (e.g., physicians and / or patients) and / or objects (e.g., tools, devices, etc.) in the image, for example, via a CNN of the processing device. At 608, the processing device may determine the characteristics of the medical environment based on the people and / or objects detected in the image and / or other information that may be collected by the processing device. For example, the processing device may determine the corresponding positions of the people or objects in the medical environment, and learn the spatial relationship of the people or objects based on the determined positions. The processing device may gather information from multiple images that may be captured by different sensing devices (e.g., stitching multiple images together) in order to determine the position of the person or object. The processing device may accomplish this task by utilizing the knowledge of parameters of the sensing device (e.g., such as the relative position of the sensing device) that the processing device may have collected via the calibration process described herein. For example, the processing device may determine the depth (e.g., Z coordinate) of a person or object in the medical environment based on two images captured by the corresponding sensing devices, for example using the triangulation techniques described herein. The processing device may also determine the (X, Y) coordinates of a person or object in the medical environment based on the camera parameters of the sensing device and / or the (x, y) coordinates of the person or object in the image.
[0095] At 610, the processing device may generate information and / or control signals for automating one or more aspects of an operation in a medical environment. For example, the processing device may transmit a message to a receiving device (e.g., a control unit of a medical device such as a C-arm X-ray scanner described herein) so that the medical device can automatically move toward a patient in a medical environment. The message may include location information of the medical device and / or the patient in the medical environment, and / or navigation instructions for the medical device so that the medical device does not collide with other objects in the environment when moving toward the patient. As another example, the processing device may detect redundant personnel, tools, and / or devices in a medical environment, and report the detection to, for example, a controller of the medical environment. As yet another example, the processing device may perform a time analysis of operations performed in a medical environment, and determine the current stage of a medical procedure performed on a patient. The processing device may then automatically recommend and / or locate tools or devices to accommodate the current and / or subsequent stages of the medical procedure.
[0096] For example, when new sensing devices are added and / or new objects and people are detected in the medical environment, the processing device can continuously perform the operations of 604-610. For example, if the processing device does not detect activity in the medical environment and / or if the processing device receives a command to stop the operation, the processing device can stop performing these operations (e.g., enter an idle state) at 612.
[0097] Figure 7 Examples of devices that can be placed or installed in a medical environment (e.g., Figure 1 An example sensing device 700 (e.g., Figure 1 The sensing device 700 may include a sensor 702, a functional unit 704, and / or a power supply 706, which may be configured to be accommodated in a housing. Although two sensors are shown in the figure, the sensing device 700 may include any number of sensors. Figure 7 One or more components are shown as being inside or outside the functional unit 704, but these components can be moved out of or into the functional unit 704 without affecting the function of the sensing device described herein.
[0098] As described herein, sensor 702 may include an RGB sensor, a depth sensor, an RGB plus depth (RGB-D) sensor, a thermal sensor (such as a FIR or NIR sensor), a radar sensor, a motion sensor, a camera (e.g., a digital camera), and / or other types of image capture circuitry configured to generate images (e.g., 2D images or photographs) of people, objects, and / or scenes in the sensor's FOV. The images generated by sensor 702 may include, for example, one or more photographs, thermal images, and / or radar images of a person, object, or scene. Each image may include a plurality of pixels that collectively represent a graphical view of a person, object, or scene and that may be analyzed to extract features representing one or more characteristics of the person, object, or scene.
[0099] The sensor 702 may be communicatively coupled to the functional unit 704, for example, via a wired or wireless communication link. The sensor 702 may be configured to transmit images generated by the sensor to the functional unit 704 (e.g., via a push mechanism), or the functional unit 704 may be configured to retrieve images from the sensor 702 (e.g., via a pull mechanism). The transmission and / or retrieval may be performed periodically (e.g., based on a preconfigured schedule) or in response to receiving a control signal that triggers the transmission or retrieval. The functional unit 704 may be configured to control the operation of the sensor 702. For example, the functional unit 704 may transmit a command to adjust the FOV of the sensor 702 (e.g., by manipulating the direction or orientation of the sensor 702). As another example, the functional unit 704 may transmit a command to change the resolution of the image of a person, object, or scene captured by the sensor 702.
[0100] The sensor 702 and / or the functional unit 704 (e.g., one or more components of the functional unit 704) can be powered by a power source 706, which can include an alternating current (AC) power source or a direct current (DC) power source (e.g., a battery power source). When a DC power source such as a battery power source is used, the power source 706 can be rechargeable, for example, by receiving a charging current from an external source via a wired or wireless connection. For example, the charging current can be received by connecting the sensing device 700 to an AC outlet via a charging cable and / or a charging adapter (including a USB adapter). As another example, the charging current can be received wirelessly by placing the sensing device 700 in contact with a charging pad.
[0101] Functional unit 704 may include one or more of communication interface circuit 708, data processing device 710, computing unit 712, data rendering unit 714, memory 716, or programming and / or calibration application programming interface (API) 718. It should be noted that Figure 7 The components shown are provided only as examples and are not intended to limit the scope of the present disclosure. For example, the functional unit 704 is not limited to including Figure 7 The exact components shown. Two or more of the components (e.g., the functions of the components) may be combined, any of the components may be divided into sub-components, any of the components may be omitted, more components may be added, etc. It can be seen that even though the functions of the sensing device 700 are described herein as being associated with a corresponding one or more components, it should be understood that these functions may also be performed by different components and / or divided among multiple other components.
[0102] Functional unit 704 may be configured to receive or retrieve images from sensor 702 via communication interface circuitry 708, which may include one or more wired and / or wireless network interface cards (NICs), such as Ethernet cards, WiFi adapters, mobile broadband devices (e.g., 4G / LTE / 5G cards or chipsets), etc. In an example, a respective NIC may be designated to communicate with a respective sensor. In an example, a unified NIC may be designated to communicate with multiple sensors.
[0103] The images received or retrieved from the sensor 702 may be provided to a data processing device 710, which may be configured to analyze the images and perform one or more operations described herein (e.g., including the operations of the processing device 112 described herein). The functionality of the data processing device 710 may be facilitated by a computing unit 712, which may be configured to perform various computationally intensive tasks, such as feature extraction and / or feature classification, based on the images produced by the sensor 702. The computing unit 712 may be configured to implement one or more neural networks, such as one or more CNNs described herein. The data rendering unit 714 may be configured to generate one or more visual representations described herein, including, for example, representations of 2D or 3D human models, simulations of medical environments, and the like.
[0104] Each of the data processing device 710, the computing unit 712, or the data rendering unit 714 may include one or more processors, such as a central processing unit (CPU), a graphics processing unit (GPU), a microcontroller, a reduced instruction set computer (RISC) processor, an application-specific integrated circuit (ASIC), an application-specific instruction set processor (ASIP), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or a combination thereof. The data processing device 710, the computing unit 712, and / or the data rendering unit 714 may also include other types of circuits or processors capable of performing the functions described herein. Further, the data processing device 710, the computing unit 712, or the data rendering unit 714 may utilize a memory 716 to facilitate one or more of the operations described herein. For example, the memory 716 may include a machine-readable medium configured to store data and / or instructions, which, when executed, causes the processing device 710, the computing unit 712, or the data rendering unit 714 to perform one or more of the functions described herein. Examples of machine-readable media may include volatile or nonvolatile memory, including but not limited to semiconductor memory (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)), flash memory, etc.). Figure 7Although not shown, the sensing device 700 may also include one or more large-capacity storage devices, including disks, such as built-in hard disks, removable disks, magneto-optical disks, CD-ROMs or DVD-ROM disks, etc., on which instructions and / or data may be stored to facilitate the execution of the functions described herein.
[0105] The operation of the sensing device 700 may be performed using, for example, Figure 1 The remote programming device of the programming device 116 in the programming device 116 is configured and / or controlled through the programming / calibration API 718. In an example, the programming / calibration API 718 can be configured to receive commands (e.g., one or more digital messages) from the programming device, which adjust the execution parameters of the sensing device 700, such as the orientation and / or FOV of the sensor, the resolution of the sensor capturing images, the period of receiving or retrieving images from the sensor, etc. In response to receiving the command from the programming device, the sensing device 700 (e.g., the functional unit 704) can adjust one or more aspects of its operation according to the command. For example, if the command specifies a higher output quality, the sensing device 700 can output a high-resolution image in response, and if the command specifies a higher frame rate, the sensing device 300 can output a lower resolution image at an increased frame rate.
[0106] The sensing device 700 (e.g., the functional unit 704) may also be configured to receive ad hoc commands through the programming / calibration API 718. Such ad hoc commands may include, for example, a command to zoom in or out of a sensor, a command to reset the sensing device 700 (e.g., restart the device or reset one or more execution parameters of the device to a default value), a command to enable or disable a specific function of the sensing device 700, etc. The sensing device 700 (e.g., the functional unit 704) may also be programmed and / or trained (e.g., over a network) via the programming / calibration API 718. For example, the sensing device 700 may receive training data and / or operating logic through the programming / calibration API 718 during and / or after an initial configuration process.
[0107] The sensing device 700 and / or the functional unit 704 can be configured to be modular and extensible, so that sensors, communication circuits, data processing devices, computing units, and / or data rendering units can be added to or removed from the sensing device 700, for example, to accommodate different system settings, configurations, and / or requirements in a medical environment. For example, if output quality is a priority in a medical environment, a high-resolution sensor (e.g., a high-resolution camera) can be included in (e.g., added to) the sensing device 700 to meet the priority. On the other hand, if the priority is about output speed (e.g., frame rate), a sensor with a lower resolution (e.g., a camera) and / or a communication circuit with a faster bit rate (e.g., an Ethernet card instead of a WiFi card) can be used to meet the output requirements. As another example, the sensing device 700 can be configured to work (e.g., work simultaneously) with multiple devices in a medical environment (such as multiple imaging modes (e.g., CT, MR, etc.), in which case the sensing device can include sensors, communication circuits, power supplies, processors (e.g., data processing devices, computing units, and / or data rendering units described herein) for corresponding groups of corresponding medical devices. As another example, the sensing device 700 can be configured to receive images of multiple patients (e.g., from different sensors) and, based on the images, for example, simultaneously generate corresponding 2D or 3D models of the patients. In such a scenario, the sensing device 700 can include a corresponding set of sensors, communication circuits, power supplies, processors (e.g., data processing devices, computing units, and / or data rendering units described herein) for capturing and processing corresponding images of corresponding patients.
[0108] In an example, the sensing device 700 and / or the functional unit 704 may include a plurality of slots (e.g., expansion boards, etc.), each slot being equipped with at least one of a power connector or a communication circuit (e.g., a network interface card, a USB port, etc.) capable of transmitting and receiving information via a wired or wireless communication link. Sensors and / or processors (e.g., data processing devices, computing units, and / or data rendering units described herein) may be accommodated (e.g., inserted) in these slots, on which the sensors and / or processors may receive power via corresponding power connectors and perform data exchange with one or more internal or external devices via corresponding communication circuits. These sensors and processors may have capabilities similar to the sensors 702, data processing devices 710, computing units 712, and data rendering units 714 described herein, respectively, and may be added to or removed from the sensing device 700, for example, to adapt to changing conditions and / or requirements in the medical environment in which the sensing device 700 is installed. In this way, the sensing device 700 may be modular and expandable to handle data processing tasks associated with different patients, devices, and / or imaging modes. In other example situations, such as when the computational, communication, and / or data storage workload approaches or exceeds the capabilities of a set of sensors and / or processors, more sensors and / or processors may be added to share the workload.
[0109] The processing devices described herein (e.g., Figure 1 The processing device 112 may be implemented using one or more processors, one or more storage devices, and / or other suitable auxiliary devices (such as display devices, communication devices, input / output devices, etc.). Figure 8 Example components of a processing device 800 described herein are illustrated. As shown, the processing device 800 may include a processor 802, which may be a central processing unit (CPU), a graphics processing unit (GPU), a microcontroller, a reduced instruction set computer (RISC) processor, an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or any other circuit or processor capable of performing the functions described herein. The processing device 800 may also include communication circuits 804, a memory 806, a mass storage device 808, an input device 810, a display device 812, and / or a communication link 814 (e.g., a communication bus), Figure 8One or more components shown can exchange information through the communication link. The communication circuit 804 can be configured to send and receive information using one or more communication protocols (e.g., TCP / IP) and one or more communication networks, including local area networks (LANs), wide area networks (WANs), the Internet, wireless data networks (e.g., Wi-Fi, 3G, 4G / LTE, or 5G networks). The memory 806 may include a storage medium configured to store machine-readable instructions, which, when implemented, causes the processor 802 to perform one or more functions described herein. Examples of machine-readable media may include volatile or non-volatile memory, including but not limited to semiconductor memory (e.g., electrically programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM)), flash memory, etc.). The mass storage device 808 may include one or more disks, such as one or more built-in hard disks, one or more removable disks, one or more magneto-optical disks, one or more CD-ROM or DVD-ROM disks, etc., on which instructions and / or data may be stored to facilitate the operation of the processor 802. The input device 810 may include a keyboard, a mouse, a voice-controlled input device, a touch-sensitive input device (e.g., a touch screen), etc., for receiving user input to the processing device 800. The display device 812 may include one or more monitors (e.g., a computer monitor, a TV monitor, a tablet computer, a mobile device such as a smart phone, etc.), one or more speakers, one or more augmented reality (AR) devices (e.g., AR goggles), and / or other accessories configured to facilitate visual representation of content on the display device 812. Such content may include, for example, information generated by the processing device, such as a 3D mesh of a patient, simulated movement of a medical device, planning of radiation exposure over time, etc. The display may be presented in various formats, including, for example, video, animation, and / or AR presentation.
[0110] It should be noted that the processing device 800 can operate as a standalone device or can be connected (e.g., networked or clustered) with other computing devices to perform the functions described herein. Figure 8 Only one example of each component is shown in the figure, and those skilled in the art will understand that the processing device 800 may include multiple instances of one or more components shown in the figure. In addition, although the example operations of the processing device may be depicted and described in a particular order herein, the operations may also occur in other orders, simultaneously, and / or with other operations not presented or described herein. Not all operations that the processing device can perform are depicted and described herein, and not all illustrated operations need to be performed by the processing device.
[0111] Although the present disclosure has been described according to certain embodiments and generally associated methods, the changes and transformations of the embodiments and methods will be apparent to those skilled in the art. Therefore, the above description of exemplary embodiments does not limit the present disclosure. Other changes, substitutions and variations are also possible without departing from the spirit and scope of the present disclosure. In addition, unless otherwise specifically stated, discussions using terms such as "analyze," "determine," "enable," "identify," "modify," etc. refer to the actions and processes of a computer system or similar electronic computing device, which manipulate and transform data represented as physical (e.g., electronic) quantities within registers and memories of a computer system into other data represented as physical quantities within a computer system memory or other such information storage, transmission or display device.
[0112] It should be understood that the above description is intended to be illustrative, rather than restrictive. After reading and understanding the above description, many other embodiments will be apparent to those skilled in the art. Therefore, the scope of the present disclosure should be determined with reference to the appended claims and the full scope of equivalents to which such claims are assigned.
Claims
1. A system for automating a medical environment, comprising: one or more sensing devices configured to capture images of the medical environment, wherein the images are associated with corresponding image coordinate systems and the medical environment is associated with a world coordinate system; and at least one processing device communicatively coupled to the one or more sensing devices and configured to: receiving all or a subset of the images captured by the one or more sensing devices; identifying one or more persons or one or more objects in the received image; determining respective positions of the one or more persons or the one or more objects in the medical environment based on respective positions of the one or more persons or the one or more objects in the received image, wherein the respective positions of the one or more persons or the one or more objects in the medical environment are determined based on respective spatial relationships between the world coordinate system associated with the received image and the image coordinate system; generating information for controlling a medical device located in the medical environment according to the determined locations of the one or more persons or the one or more objects in the medical environment; and The information for controlling the medical device is transmitted to a receiving device.
2. The system according to claim 1, wherein: The one or more objects identified in the received image include the medical device, the one or more persons identified in the received image include a patient, and the information for controlling the medical device includes instructions for moving at least a portion of the medical device toward the patient, wherein the information for controlling the medical device includes navigation instructions, which prevent the portion of the medical device from colliding with other persons or objects identified in the received image when the portion of the medical device moves toward the patient, wherein the information for controlling the medical device includes planning of a movement path of the portion of the medical device toward the patient.
3. The system according to claim 1, wherein: The image received by the at least one processing device includes an image of a patient in the medical environment, the at least one processing device is configured to determine a scanning area or a surgical area of the patient based on the image of the patient, and the information for controlling the medical device includes instructions to move the portion of the medical device toward the scanning area or the surgical area of the patient, wherein the at least one processing device is configured to generate a parametric human body model of the patient based on the image of the patient, and determine the scanning area or the surgical area of the patient based on the parametric human body model.
4. The system according to claim 1, wherein: The one or more objects identified in the received image include a radiation source, and the at least one processing device is configured to determine the corresponding radiation exposure of the one or more persons detected in the received image based on the radiation source and the corresponding positions of the one or more persons in the medical environment.
5. The system according to claim 1, wherein: The at least one processing device is also configured to determine the stage of a medical procedure performed in the medical environment based on the one or more persons or the one or more objects identified in the received image, wherein the at least one processing device is configured to collect information about the various stages of the medical procedure and also determine the stage of the medical procedure based on the collected information.
6. The system according to claim 1, wherein: The corresponding positions of the one or more persons or the one or more objects in the medical environment are indicated by the corresponding coordinates of the one or more persons or the one or more objects in the world coordinate system, and the corresponding positions of the one or more persons or the one or more objects in the received image are indicated by the corresponding coordinates of the one or more persons or the one or more objects in the corresponding image coordinate system associated with the received image.
7. The system according to claim 1, wherein: The at least one processing device is configured to determine the respective spatial relationship between the world coordinate system and the image coordinate system based on images of one or more markers in the medical environment captured by the one or more sensing devices, wherein the at least one processing device is configured to: determining respective coordinates of the one or more markers in the image coordinate system associated with respective ones of the images of the one or more markers; determining corresponding coordinates of the one or more markers in the world coordinate system; and A rotation and a translation between the world coordinate system and the image coordinate system associated with each of the images of the one or more markers are determined based on the corresponding coordinates of the one or more markers in the image coordinate system and the corresponding coordinates of the one or more markers in the world coordinate system.
8. The system according to claim 1, wherein: Each of the one or more sensing devices includes a 2D vision sensor configured to capture a two-dimensional (2D) image of the medical environment or a 3D vision sensor configured to capture a three-dimensional (3D) image of the medical environment, or the at least one processing device is configured to determine a depth position of a person or object based on a first 2D image captured by the first sensing device and a second 2D image captured by the second sensing device.
9. A device configured to automate a medical environment, comprising at least one processor, wherein: The at least one processor is configured to: receiving a plurality of images of the medical environment; Using a convolutional neural network to recognize one or more persons or one or more objects in the received image; determining respective positions of the one or more persons or the one or more objects in the medical environment based on respective positions of the one or more persons or the one or more objects in the received images and respective spatial relationships between a world coordinate system associated with the medical environment and an image coordinate system associated with each of the received images; generating a command for controlling a medical device in the medical environment according to the determined location of the one or more persons or the one or more objects in the medical environment; and The command is transmitted to a receiving device.
10. A method for automating a medical environment, the method comprising: receiving an image of the medical environment from one or more sensing devices, wherein the image is associated with a corresponding image coordinate system and the medical environment is associated with a world coordinate system; identifying one or more persons or one or more objects in the received image; determining respective positions of the one or more persons or the one or more objects in the medical environment based on respective positions of the one or more persons or the one or more objects in the received image and respective spatial relationships between the world coordinate system and the image coordinate system associated with the received image; generating information for controlling a medical device located in the medical environment according to the determined locations of the one or more persons or the one or more objects in the medical environment; and The generated information for controlling the medical device is transmitted to a receiving device.
