Disclosure of Invention
The embodiment of the application provides a positioning lamp control method and device, computer equipment and medical equipment, and aims to at least solve the problem that in the related art, an operator manually controls a laser positioning lamp, and the operation process is complex.
In a first aspect, an embodiment of the present application provides a positioning lamp control method, including:
acquiring the current working stage of the imaging system; if the current working stage is a positioning stage, monitoring the motion of the scanning bed and acquiring an image of an object to be scanned in real time; determining the position of a preset part of the object to be scanned according to the image of the object to be scanned; and turning on or off the positioning lamp according to the position of the preset part and the irradiation range of the positioning lamp.
In one embodiment, the turning on or off the positioning lamp according to the position of the preset portion and the irradiation range of the positioning lamp includes: and according to the position of the preset part and the irradiation range of the positioning lamp, the positioning lamp is turned on or off in the moving process of the scanning bed.
In one embodiment, the acquiring the current working phase of the imaging system further comprises: the working phase comprises: a positioning stage, a scanning stage and a finishing stage; and if the current working stage is in the scanning stage or the completion stage, turning off the positioning lamp.
In one embodiment, the acquiring the current operating phase of the imaging system comprises: acquiring the image of the object to be scanned and the image between scans through an imaging device; determining whether the object to be scanned is placed on a scanning bed or not according to the image of the object to be scanned; if the object to be scanned is placed on a scanning bed, determining the distance between the scanning bed and a target object according to the inter-scanning image; and if the distance is greater than a preset threshold value, the current working stage is in a positioning stage.
In one embodiment, the determining, according to the image of the object to be scanned, the position of the preset portion of the object to be scanned includes: extracting a preset part image of the object to be scanned according to the image of the object to be scanned; and determining the position of the preset part in the imaging system according to the preset part image and the image of the object to be scanned.
In one embodiment, the turning on or off the positioning lamp during the movement of the scanning bed according to the position of the preset portion and the irradiation range of the positioning lamp includes: in the moving process of the scanning bed, if the position of the preset part is within the irradiation range of the positioning lamp, the positioning lamp is turned off; and in the moving process of the scanning bed, if the position of the preset part is not in the irradiation range of the positioning lamp, the positioning lamp is turned on.
In one embodiment, the turning on or off of the positioning lamp during the movement of the scanning bed according to the position of the preset portion and the irradiation range of the positioning lamp comprises: acquiring currently scanned workflow information; determining a current working stage according to the currently scanned workflow information; and if the current working stage is in the positioning completion stage, turning off the positioning lamp.
In one embodiment, the turning on the positioning light comprises: adjusting the position of the object to be scanned according to the irradiation range of the positioning lamp; and after the position of the object to be scanned is adjusted, scanning the object to be scanned.
In a second aspect, an embodiment of the present application provides a position lamp control device, including:
the working phase identification module: the system is used for acquiring the current working phase of the imaging system;
an image acquisition module: the scanning bed is controlled to move and an image of an object to be scanned is acquired in real time if the current working stage is in the positioning stage;
a coordinate acquisition module: the scanning device is used for determining the position of a preset part of the object to be scanned according to the image of the object to be scanned;
a control module: and the positioning lamp is used for turning on or off in the moving process of the scanning bed according to the position of the preset part and the irradiation range of the positioning lamp.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor, when executing the computer program, implements the position light control method according to the first aspect.
In a fourth aspect, the present application provides a medical apparatus including one or a combination of at least two of a computed tomography apparatus, a magnetic resonance imaging apparatus, a molecular imaging apparatus, and a radiotherapy apparatus, the medical apparatus including the positioning light control apparatus according to the second aspect.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the localization lamp control method according to the first aspect.
Compared with the related art, the positioning lamp control method provided by the embodiment of the application obtains the current working stage of the imaging system; if the current working stage is in the positioning stage, controlling the scanning bed to move and acquiring an image of the object to be scanned in real time; determining the position of a preset part of the object to be scanned according to the image of the object to be scanned; according to the position of the preset part and the irradiation range of the positioning lamp, the positioning lamp is turned on or turned off in the moving process of the scanning bed, the problems that a user manually controls the positioning lamp and the operation process is complicated are solved, and automatic control of the positioning lamp is achieved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The medical imaging devices include X-ray imaging devices (digital radiography, CT, X-ray machine), magnetic resonance imaging devices, ultrasound imaging devices (a-type, B-type, C-type, M-type, and the like), thermal imaging devices (infrared imaging, optical scanning imaging, and the like), molecular imaging devices, radiotherapy devices, nuclear medicine imaging devices (PET, SPECT, and the like), and optical imaging devices (medical endoscopic imaging). The present application is applicable to any one of the above devices or a combination of devices. The present application is exemplified by a CT apparatus, and is not limited to this.
A Computed Tomography (CT) apparatus typically includes a gantry, a couch, and a console for operation by a physician. One side of the frame is provided with a bulb tube, and the side opposite to the bulb tube is provided with a detector. The console is a computer device for controlling the bulb and the detector to scan. The computer equipment is also used for receiving the data acquired by the detector, processing and reconstructing the data and finally forming a CT image. When CT is used for scanning, a patient lies on a scanning bed, the scanning bed sends the patient into the aperture of the rack, the console controls the rack to rotate at a high speed, the bulb tube arranged on the rack emits X rays, the X rays penetrate through the patient and are received by the detector to form data, the data are transmitted to the computer equipment, and the computer equipment performs primary processing on the data and image reconstruction to obtain a CT image.
In order to ensure the positioning accuracy of a patient when the patient is scanned by the CT apparatus, a laser positioning lamp is generally used, and the laser positioning lamp is provided with two lamp tubes, one lamp tube is parallel to a light plane, and the other lamp tube is perpendicular to the light plane and passes through a scanning center. According to the existing laser positioning lamp structure, two lamp tubes are fixed on the same fixing block, and light is adjusted by adjusting the positions of the fixing blocks. The switch of the laser positioning lamp is generally controlled manually by a user, so that the workload of the user in the positioning process is large, and the positioning operation process is complicated. The application provides a positioning lamp control method which is used for realizing automatic control of a positioning lamp, simplifying the working process of a user and saving the positioning time.
The embodiment provides a positioning lamp control method. Fig. 1 is a flowchart of a positioning lamp control method according to an embodiment of the present application, and as shown in fig. 1, the flowchart includes the following steps:
and step S101, acquiring the current working stage of the imaging system.
Specifically, the imaging system may be any one of the above medical imaging devices or a combination of multiple medical imaging devices; the present embodiment is explained with the imaging system being a CT (computed tomography) apparatus. The current working phase is the specific phase in the whole scanning workflow of the current imaging system. For example, workflow information for the entire scanning workflow includes: a series of work flows of patient data entry, patient position and protection arrangement, scanning sequence selection, scanning and scanning completion and the like. Wherein the patient data entry comprises: inputting patient data through a PACS (Picture Archiving and Communication Systems, medical image information System) or manually inputting patient data; putting the body position of the patient and protecting the patient comprises: according to the examination purpose, selecting supine/prone, advanced head/advanced foot, lifting the examination bed to a certain height, sending the examination bed into a scanning hole, placing the part to be examined in the scanning center of the imaging system, and effectively protecting the part which is not scanned; selecting the scanning sequence comprises selecting a preset scanning sequence of a corresponding part, selecting a proper scanning sequence according to the examination purpose on the consultation list, and clicking to enter the scanning process. The CT device generates workflow information during operation, which generates the associated network protocols. The CT device may acquire the current working phase according to these network protocols. The working phase comprises the following steps: a positioning stage, a scanning stage and a finishing stage. The positioning stage is a stage of positioning the body position of the patient; the scanning stage is a stage for scanning the patient; the completion phase is a phase in which the scanning is completed.
In one embodiment, workflow information of a current scan is obtained; and determining the current working stage according to the currently scanned workflow information. Specifically, the workflow information includes: a series of work flows of patient data entry, patient position and protection arrangement, scanning sequence selection, scanning and scanning completion and the like. The working phase comprises the following steps: a positioning stage, a scanning stage and a finishing stage. In the positioning stage, after the patient finishes positioning on the scanning bed and selects a scanning sequence, the patient enters the scanning cavity along with the scanning bed, and the whole process of final position determination is finished in the scanning cavity; the final position determination of the patient in the scanning cavity is completed in the positioning completion stage; the scanning stage is that the bulb tube starts to work, X rays are generated to penetrate through a patient, and the detector receives the whole scanning process of the X rays; the finishing stage is that the bulb tube stops working and the process after scanning is finished. The workflow information is information recorded in real time when the current equipment is in a working stage. And corresponding the workflow information with the working stage, and determining the working stage of the current imaging system, wherein the current working stage is a positioning stage when the workflow information is used for positioning and protecting the body of a patient.
In one embodiment, acquiring the current operating phase of the imaging system comprises: acquiring the image of the object to be scanned and the image between scans through an imaging device; determining whether the object to be scanned is placed on a scanning bed or not according to the image of the object to be scanned; if the object to be scanned is placed on a scanning bed, determining the distance between the scanning bed and a target object according to the inter-scanning image; and if the distance is greater than a preset threshold value, the current working stage is in a positioning stage. Specifically, the object image to be scanned is the patient image acquired by the first camera near the scanning bed, and the inter-scanning image is the image acquired by the second camera in the scanning room and comprises the scanning bed and the target object, wherein the target object can be a doctor or a technician. It is also possible to simultaneously acquire an image of an object to be scanned including the object to be scanned, i.e., a patient, and an inter-scan image including a scanning bed and a target object by using one camera. The camera adopted by the imaging system can learn the user behavior based on the trained neural network model. For example, in training, a large number of pictures including a patient and a scanning bed acquired by an image camera including the patient and the scanning bed are input into an initial neural network model for training, so that the trained neural network model can identify the images including the patient and the scanning bed. In the training, a large number of inter-scan images including the scan bed and the target object may be input to the initial neural network model for training, so that the trained neural network model can identify the scan bed and the target object in the images. A space coordinate system is established in the imaging system, the positions of components such as a scanning bed, a scanning frame and the like in the imaging system are calibrated, and when the collected images are identified, the relative distance between a doctor or a technician and the scanning bed in the images can be identified. When an object to be scanned in the image, namely a patient lies on a scanning bed, is detected, whether a doctor or a technician exists in the image acquired by the camera is further identified; if the doctor or the technician exists, the distance between the doctor or the technician and the scanning bed is further determined, and the relative distance between the doctor or the technician and the scanning bed is greater than the preset distance, the doctor or the technician is determined to be in position, and the current working stage of the imaging system is a setup stage. Wherein, the relative distance can also be the distance between the doctor or the technician and other devices of the imaging system, such as the distance between the doctor or the technician and the scanning frame; the present invention is not limited in this regard as long as the imaging system can obtain the relative distance between the doctor or technician and the imaging system. In addition, a preset time length can be preset in the imaging system, after the relative distance between the doctor or the technician and the scanning bed in the image is identified, the relative distance does not change within the preset time length, the doctor or the technician is judged to be in position, and the current working stage of the imaging system is a positioning stage. For example: when the system identifies that the patient lies on the scanning bed, the relative distance between the technician and the scanning bed is 1 m, and the relative distance between the technician and the scanning bed is 1 m within 3 seconds, the system judges that the doctor is positioning the patient, and the current working stage of the system is a positioning stage.
And S102, if the current working stage is a positioning stage, monitoring the motion of the scanning bed and acquiring an image of the object to be scanned in real time.
Specifically, if the working stage of the current CT apparatus is in the positioning stage, the scanning bed needs to be moved to place the object to be scanned to the preset position, and therefore the scanning bed needs to be controlled to move to drive the object to be scanned to enter the scanning cavity. And acquiring the image of the object to be scanned in real time in the moving process of the scanning bed. The image of the object to be scanned can be collected by a visible light collecting device or an infrared collecting device. In the embodiment, the image of the object to be scanned is acquired by adopting the visible light imaging equipment. Wherein the visible light imaging device may be a camera. The camera can be synchronously started when the CT equipment is started; or can be started when the CT device is in the swing stage. When a user is in a position, the scanning bed is controlled to move through the computer, and the video stream image of the patient is shot in real time through the camera; the object to be scanned may be a human body.
In one embodiment, the positioning lamp can be turned on according to the bed moving command. In this embodiment, the imaging system establishes a connection with the patient or technician through a human interface; the human-machine interface includes but is not limited to: bed moving buttons, a touch screen, voice interaction, a brain-computer interface and the like. For example: when the human-computer interface adopts a bed moving button, a patient lies on the scanning bed, a technician presses the bed moving button, and the CT device controls the scanning bed to move based on the received bed moving command and simultaneously turns on the positioning lamp. When the human-computer interface adopts a touch screen, a patient lies on the scanning bed, a technician sends a bed moving command by clicking or scratching the touch screen, and the CT equipment controls the scanning bed to move and simultaneously turns on the positioning lamp based on the received bed moving command. When the man-machine interface adopts a voice interaction mode, a technician can send out a bed moving instruction through voice, and the CT equipment controls the scanning bed to move and simultaneously turns on the positioning lamp based on the received bed moving instruction. When the man-machine interface adopts a brain-machine interface, the electroencephalogram signal of a technician can be acquired through the electroencephalogram acquisition device, the electroencephalogram signal is calculated and processed to obtain a control instruction sent by the technician, and the positioning lamp is controlled to be turned on according to the instruction sent by the technician. In addition, a preset time period can be set, and when a period of time passes after the technician presses the bed moving button, the positioning lamp is automatically turned off. For example: when the bed moving button is pressed, the positioning lamp is automatically turned on and is automatically turned off after being turned on for 3 seconds.
And step S103, determining the position of the preset part of the object to be scanned according to the image of the object to be scanned.
In one embodiment, the determining, according to the image of the object to be scanned, the position of the preset portion of the object to be scanned includes: extracting a preset part image of the object to be scanned according to the image of the object to be scanned; and determining the position of the preset part in the imaging system according to the preset part image and the image of the object to be scanned. Specifically, a large number of human body images are obtained in advance, and preset parts in the human body images are identified manually. For example, if the preset part is an eye, a large number of human body images are acquired in advance, the position of the eye is identified, and the identified images are used as a training set to train the neural network model. When the CT equipment is used, the working stage of the current CT equipment is in the positioning stage, after an image of an object to be scanned is obtained, the image of the object to be scanned is input into a trained neural network model, the neural network model can identify whether a preset part of a patient exists in the input image, and the preset part image is output. Inputting each frame of the video stream image collected by the camera into the model, detecting whether the preset part appears in the image collected by the camera, and acquiring the image of the preset part. After the preset portion image is obtained, the preset portion corresponds to the coordinates of the whole scanning system according to the preset portion image and the object image to be scanned, and the coordinates of the preset portion in the whole scanning system are used as the position coordinates of the preset portion. In this embodiment, the coordinates are used to represent the "position", but the "position" may also be represented by other representation methods, for example, by dividing the area and representing the "position" by the area, which is not limited in the present invention.
And step S104, turning on or off the positioning lamp according to the position of the preset part and the irradiation range of the positioning lamp.
In one embodiment, the turning on or off the positioning lamp during the movement of the scanning bed according to the position of the preset portion and the irradiation range of the positioning lamp includes: in the moving process of the scanning bed, if the position of the preset part is within the irradiation range of the positioning lamp, the positioning lamp is turned off; and in the moving process of the scanning bed, if the position of the preset part is not in the irradiation range of the positioning lamp, the positioning lamp is turned on. Specifically, in the positioning stage and in the moving process of the scanning bed, if the position of the preset part is within the irradiation range of the laser positioning lamp, the laser positioning lamp is turned off; and if the position of the preset part is not in the irradiation range of the laser positioning lamp, starting the laser positioning lamp. In addition, the laser positioning lamp can be synchronously started along with the starting of the imaging system, or the laser positioning lamp is started when the camera does not recognize the object to be scanned.
In one embodiment, the turning on or off the positioning lamp according to the position of the preset portion and the irradiation range of the positioning lamp includes: and according to the position of the preset part and the irradiation range of the positioning lamp, the positioning lamp is turned on or off in the moving process of the scanning bed. Specifically, the position coordinates of the irradiation range of the positioning lamp can be measured in advance, the position coordinates of the irradiation range of the positioning lamp are coordinates of the irradiation range of the positioning lamp in the scanning system, and the position coordinates of the irradiation range of the positioning lamp are preset in a built-in program of the CT device. In the working process of the imaging system, the camera identifies the preset part based on the trained neural network model, the coordinates of the preset part under the local coordinate system of the camera are obtained, coordinate conversion is carried out through a built-in algorithm, and the coordinates of the preset part under the local coordinate system of the camera can be converted into the coordinates under the global coordinate system of the imaging system. And comparing the coordinates of the preset part in the global coordinate system of the imaging system with the coordinates of the irradiation range of the positioning lamp in the global coordinate system of the imaging system, so as to identify whether the preset part is in the irradiation range of the positioning lamp. In the positioning stage, in the moving process of the scanning bed, if the position coordinates of the preset part are in the irradiation range of the positioning lamp, the positioning lamp is turned off; and in the moving process of the scanning bed, if the position coordinate of the preset part is not in the irradiation range of the positioning lamp, the positioning lamp is turned on. Specifically, if the position coordinate of the preset part is within the irradiation range of the positioning lamp, the positioning lamp is turned off, and if the position coordinate of the preset part is not within the irradiation range of the positioning lamp, the positioning lamp is turned on. For example: if the preset part is the eyes of the patient, in the moving process of the scanning bed, the positioning lamp is turned on when the position of the eyes of the human body is not in the irradiation range of the positioning lamp, and the positioning lamp is turned off when the position of the eyes of the human body enters the irradiation range of the positioning lamp along with the movement of the scanning bed.
In one embodiment, the positioning lamp is turned off if the current working phase is in the scanning phase or the completion phase. Specifically, the CT device may obtain the current working phase of the current device in real time. And if the current working state is detected to be a scanning stage or a finishing stage, the positioning lamp is turned off. That is, after assisting the physician to complete the positioning through the positioning lamp, the normal scanning stage is entered or the scanning stage is completed, and the positioning lamp is turned off. Due to the characteristic of high energy performance of the laser, the positioning lamp is turned off in time, and the damage of the laser to a human body can be reduced.
In one embodiment, the method includes, after turning on or off the positioning lamp during the movement of the scanning bed according to the position of the preset portion and the irradiation range of the positioning lamp: acquiring currently scanned workflow information; determining a current working stage according to the currently scanned workflow information; and if the current working stage is in the positioning completion stage, turning off the positioning lamp. Specifically, in the operation process of the actual imaging system, a technician needs to enter the relevant information of each working stage into the operation program of the imaging system, in the entering process, a process such as confirming a protocol/loading a protocol is generated in the imaging system, the imaging system can determine the current working stage by acquiring the current protocol state, and if the positioning stage is completed, the workflow of the imaging system enters the scanning stage, the laser positioning lamp is turned off.
In one embodiment, the turn-off of the position light can be controlled based on the image captured by the camera. Specifically, the camera adopted by the imaging system can learn the user behavior based on a trained neural network model. For example, in training, a large number of pictures collected by a camera and including a patient and a scanning bed are input into an initial neural network model for training, so that the trained neural network model can identify images including the patient and the scanning bed, and when a technician leaves the scanning bed or a scanning room in the detected images, a laser positioning lamp is turned off. The method can also establish a space coordinate system in the imaging system, perform position calibration on components such as a scanning bed, a scanning rack and the like in the imaging system, and when identifying the acquired image, identify the relative distance between a technician and the scanning rack in the image, and turn off the laser positioning lamp if the relative distance between the technician and the scanning rack is greater than a preset distance.
After turning on the positioning lamp, the method comprises the following steps: adjusting the position of the object to be scanned according to the irradiation range of the positioning lamp; and after the position of the object to be scanned is adjusted, scanning the object to be scanned. Specifically, after the positioning lamp is turned on, the user adjusts the body position of the patient according to the indication of the positioning lamp, and after the positioning is finished, the scanning process of the patient is started.
Through the steps, the invention mainly improves the switch for manually controlling the positioning lamp by the user in the related art. Because the user should guide the patient to put the proper body position in the positioning process, the scanning bed should be controlled to move to the proper position, and then the positioning lamp switch is controlled, and the complex program increases the workload of the user, the invention adopts a method for automatically controlling the positioning lamp switch based on the image acquired by the camera, and according to the cautions of turning on the positioning lamp in the positioning process, for example: the laser positioning lamp is prevented from irradiating human eyes, and relevant limitation is made on the switch for controlling the positioning lamp. Obtaining the current working stage of the imaging system; if the current working stage is in the positioning stage, controlling the scanning bed to move and acquiring an image of the object to be scanned in real time; determining the position coordinates of a preset part of the object to be scanned according to the image of the object to be scanned; according to the technical means that the positioning lamp is turned on or turned off in the moving process of the scanning bed according to the position coordinates of the preset part and the irradiation range of the positioning lamp, the problems that a user manually controls the switch of the positioning lamp and the operation process is complicated are solved, the technical effects of simplifying the work flow and saving the positioning time are achieved.
The embodiments of the present application are described and illustrated below by means of preferred embodiments.
Taking the CT device adopting the laser positioning lamp control method of the present application as an example, when the CT device is turned on, the camera is turned on synchronously. After the user inputs the relevant information on the patient examination sheet into the CT equipment, the patient is positioned. The movement of the scanning bed is controlled by a CT control system. Fig. 2 is a schematic flow structure diagram of a positioning lamp control method according to a preferred embodiment of the present application. As shown in fig. 2, the control program of the laser positioning lamp obtains the working phase of the current CT device according to the workflow information of the current system. The working phase comprises the following steps: a positioning stage, a scanning stage and a finishing stage. And if the working stage of the current CT equipment is detected to be a scanning stage or a finishing stage, turning off the laser positioning lamp. And if the working state of the CT equipment is detected to be in the positioning stage, the camera shoots the head image of the patient in real time. The user controls the scanning bed to move to the bed code value corresponding to the head position. After the camera acquires the head image, whether eyes appear in the currently acquired head image is identified based on the trained neural network model, and if the eyes appear in the head image, the actual position coordinates of the eyes of the patient are calculated according to the acquired head image. The process of identifying the eyes in the head image and the process of calculating the position coordinates can be completed in computer equipment, and the two processes can also be realized in a camera by adopting an intelligent camera containing a related algorithm program. After the position coordinates of the eyes of the patient are obtained, in the moving process of the scanning bed, the judgment is carried out according to the position coordinates of the eyes of the patient and the irradiation range of the laser positioning lamp. If the eyes of the patient are in the irradiation range of the laser positioning lamp, the laser positioning lamp is turned off, and if the eyes of the patient are not in the irradiation range of the laser positioning lamp, the laser positioning lamp is turned on. After the user positions the patient according to the indication of the laser positioning lamp, the next scanning operation can be performed.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a positioning lamp control device, which is used to implement the foregoing embodiments and preferred embodiments, and the description of the positioning lamp control device is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a positioning lamp control device according to an embodiment of the present application, and as shown in fig. 3, the device includes:
working phase recognition module 10: for obtaining the current working phase of the imaging system.
The image acquisition module 20: and the scanning bed is used for monitoring the motion of the scanning bed and acquiring the image of the object to be scanned in real time if the current working stage is a positioning stage.
The coordinate acquisition module 30: and the scanning device is used for determining the position of the preset part of the object to be scanned according to the image of the object to be scanned.
The control module 40: and the positioning lamp is turned on or off according to the position of the preset part and the irradiation range of the positioning lamp.
The workingphase identification module 10 is further configured to obtain currently scanned workflow information; and determining the current working stage according to the currently scanned workflow information.
The workingphase identifying module 10 is further configured to obtain a current working phase of the imaging system, and then: the working phase comprises: a positioning stage, a scanning stage and a finishing stage; and if the current working stage is in the scanning stage or the completion stage, turning off the positioning lamp.
Theimage acquisition module 20 is used for acquiring the image of the object to be scanned and the image between scans through an imaging device; determining whether the object to be scanned is placed on a scanning bed or not according to the image of the object to be scanned; if the object to be scanned is placed on a scanning bed, determining the distance between the scanning bed and a target object according to the inter-scanning image; and if the distance is greater than a preset threshold value, the current working stage is in a positioning stage.
The coordinateacquisition module 30 is further configured to extract a preset part image of the object to be scanned according to the image of the object to be scanned; and determining the position of the preset part in the imaging system according to the preset part image and the image of the object to be scanned.
And thecontrol module 40 is further configured to turn on or off the positioning lamp during the movement of the scanning bed according to the position of the preset portion and the irradiation range of the positioning lamp.
Thecontrol module 40 is further configured to, during the movement of the scanning bed, turn off the positioning lamp if the position of the preset portion is within the irradiation range of the positioning lamp; and in the moving process of the scanning bed, if the position of the preset part is not in the irradiation range of the positioning lamp, the positioning lamp is turned on.
Thecontrol module 40 is further configured to, according to the position of the preset portion and the irradiation range of the positioning lamp, turn on or turn off the positioning lamp during the movement of the scanning bed, and then include: acquiring currently scanned workflow information; determining a current working stage according to the currently scanned workflow information; and if the current working stage is in the positioning completion stage, turning off the positioning lamp.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In addition, the positioning lamp control method described in connection with fig. 1 in the embodiment of the present application may be implemented by a computer device. Fig. 4 is a hardware structure diagram of a computer device according to an embodiment of the present application.
The computer device may include aprocessor 41 and amemory 42 storing computer program instructions.
Specifically, theprocessor 41 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 42 may include, among other things, mass storage for data or instructions. By way of example, and not limitation,memory 42 may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these.Memory 42 may include removable or non-removable (or fixed) media, where appropriate. Thememory 42 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, thememory 42 is a Non-Volatile (Non-Volatile) memory. In particular embodiments,Memory 42 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (earrom), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
Memory 42 may be used to store or cache various data files for processing and/or communication use, as well as possibly computer program instructions for execution byprocessor 41.
Theprocessor 41 implements any of the above-described embodiments of the position light control method by reading and executing computer program instructions stored in thememory 42.
In some of these embodiments, the computer device may also include acommunication interface 43 and abus 44. As shown in fig. 4, theprocessor 41, thememory 42, and thecommunication interface 43 are connected via abus 44 to complete mutual communication.
Thecommunication interface 43 is used for implementing communication between modules, devices, units and/or apparatuses in the embodiments of the present application. Thecommunication port 43 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
Thebus 44 comprises hardware, software, or both that couple the components of the computer device to one another.Bus 44 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation,Bus 44 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Bus (audio Electronics Association), abbreviated VLB) bus or other suitable bus or a combination of two or more of these.Bus 44 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The computer device may execute the positioning light control method in the embodiment of the present application based on the acquired computer instruction, thereby implementing the positioning light control method described in conjunction with fig. 1.
In addition, in combination with the positioning lamp control method in the foregoing embodiment, the embodiment of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by the processor, implement any of the above-described embodiments of the position light control method.
The embodiment of the application can provide a medical device. The medical equipment comprises one or the combination of at least two of computer tomography, magnetic resonance imaging equipment, molecular imaging equipment and radiotherapy equipment; the medical equipment comprises the positioning lamp control device; the medical device can realize the positioning lamp control method in any one of the above embodiments.
Specifically, one or a combination of at least two of a computed tomography apparatus, a magnetic resonance imaging apparatus, a molecular imaging apparatus, and a radiotherapy apparatus includes: one or a combination of at least two of a CT device, an MRI device, a PET device, a radiotherapy device, a CT-MRI device, a PET-CT device, and a PET-MRI device. Set up the pilot lamp controlling means on above-mentioned medical equipment, solved user's manual control pilot lamp, the loaded down with trivial details problem of operation process has realized the automatic control of medical equipment pilot lamp.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.