Medical image acquisition method and device, computer device and storage medium
By detecting the eye condition of the subject and adjusting the magnetic resonance scanning process in real time, the problem of low image accuracy caused by the lack of quantification of eye condition in fMRI technology has been solved, achieving higher accuracy in medical imaging.
Patent Information
- Application Number
- CN202411311679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-09-19
AI Technical Summary
The accuracy of medical images obtained by existing fMRI technology is low, mainly because it fails to quantify or reflect the eye status of the subject during the scan, resulting in inaccurate brain image analysis results.
By detecting whether the eye condition of the subject meets the preset scanning conditions, the magnetic resonance scanning process is adjusted in real time to ensure that the scanning continues only when the eye condition meets the requirements. This includes detecting the state of open and closed eyes, eye movement and gaze changes, and providing an eye detection model for image analysis.
It improves the accuracy of medical images obtained from fMRI scans, ensures that scanning is only performed when the eye condition meets the requirements, and reduces inaccurate scan results.
Smart Images

Figure CN119564187B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the medical technology field, and in particular to a medical image acquisition method and device, computer equipment and a storage medium. BACKGROUND
[0002] With the development of medical technology, functional magnetic resonance imaging (fMRI) technology has been widely used in basic brain science research, providing an important tool for human understanding of the mystery of brain work and the pathological basis of neuropsychiatric diseases. Therefore, fMRI technology can be used for scanning imaging to obtain medical images.
[0003] However, the current method of obtaining medical images by scanning using fMRI technology has the problem of low accuracy. SUMMARY
[0004] Therefore, it is necessary to provide a medical image acquisition method, device, equipment, storage medium and program product to improve the accuracy of obtaining medical images by scanning using fMRI technology.
[0005] In a first aspect, the present application provides a medical image acquisition method, comprising:
[0006] starting a magnetic resonance scan on a test object;
[0007] detecting whether the eye state of the test object meets a preset scanning condition to generate a detection result;
[0008] adjusting the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the test object.
[0009] In one embodiment, the detection of whether the eye state of the test object meets the preset scanning condition to generate a detection result comprises:
[0010] acquiring an eye image of the test object by an image acquisition device;
[0011] inputting the eye image of the test object into an eye detection model for detection to obtain the eye state of the test object;
[0012] determining whether the eye state of the test object meets the preset scanning condition according to the eye state of the test object to generate the detection result.
[0013] In one of the embodiments, the preset scanning condition comprises a closed-eye resting condition, the eye state comprises an open-eye state or a closed-eye state, and the determining whether the eye state of the subject meets the preset scanning condition according to the eye state of the subject comprises:
[0014] If the eye state is the closed-eye state, it is determined that the eye state of the subject meets the closed-eye resting condition.
[0015] If the eye state is the open-eye state, it is determined that the eye state of the subject does not meet the closed-eye resting condition.
[0016] In one of the embodiments, the preset scanning condition comprises an open-eye resting condition, the open-eye resting condition comprises a first open-eye resting condition and a second open-eye resting condition, the eye state comprises at least one of an open-eye state, a closed-eye state and an eye movement state, and the determining whether the eye state of the subject meets the preset scanning condition according to the eye state of the subject comprises:
[0017] If the eye state is the open-eye state, it is determined that the eye state of the subject meets the first open-eye resting condition.
[0018] If the eye state is the open-eye state, it is determined that the eye state of the subject meets the second open-eye resting condition if the eye movement state meets a preset movement requirement, and it is determined that the eye state of the subject does not meet the second open-eye resting condition if the eye movement state does not meet the preset movement requirement.
[0019] If the eye state is the closed-eye state, it is determined that the eye state of the subject does not meet the open-eye resting condition.
[0020] In one of the embodiments, the determining whether the eye state of the subject meets the open-eye resting condition according to the eye movement state comprises:
[0021] If the eye movement state meets a preset movement requirement, it is determined that the eye state of the subject meets the open-eye resting condition.
[0022] If the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject does not meet the open-eye resting condition.
[0023] In one of the embodiments, the preset scanning condition comprises a task condition, the eye state comprises an eye opening and closing state, an eyeball movement state, and a line of sight change state, and the determining whether the eye state of the subject meets the preset scanning condition according to the eye state of the subject comprises:
[0024] If the eye opening and closing state is an open-eye state, and the eyeball movement state meets a preset movement requirement and the line of sight change state meets a preset line of sight change requirement, it is determined that the eye state of the subject meets the task condition; if the eyeball movement state does not meet the preset movement requirement or the line of sight change state does not meet the preset line of sight change requirement, it is determined that the eye state of the subject does not meet the task condition.
[0025] If the eye opening and closing state is a closed-eye state, it is determined that the eye state of the subject does not meet the task condition.
[0026] In one of the embodiments, the determining whether the eye state of the subject meets the task condition according to the eyeball movement state and the line of sight change state comprises:
[0027] If the eyeball movement state meets a preset movement requirement and the line of sight change state meets a preset line of sight change requirement, it is determined that the eye state of the subject meets the task condition.
[0028] If the eyeball movement state does not meet the preset movement requirement or the line of sight change state does not meet the preset line of sight change requirement, it is determined that the eye state of the subject does not meet the task condition.
[0029] In one of the embodiments, the adjusting the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the subject comprises:
[0030] If the eye state of the subject does not meet the preset scanning condition, the magnetic resonance imaging of the brain of the subject is paused, and a prompt information is output.
[0031] In one of the embodiments, the method further comprises:
[0032] If a response is made to a re-scanning key instruction, the magnetic resonance imaging of the subject is re-performed;
[0033] If no response is made to the re-scanning key instruction, after a preset time period of the prompt information output, the magnetic resonance imaging of the subject is continued, and an identification is added to the image for the continued scanning.
[0034] In a second aspect, the present application also provides a medical image acquisition device, comprising:
[0035] a magnetic resonance scanning module, configured to start a magnetic resonance scan on a to-be-tested object;
[0036] a detection module, configured to detect whether an eye state of the to-be-tested object meets a preset scan condition, and generate a detection result;
[0037] an adjustment module, configured to adjust the magnetic resonance scan process according to the detection result, and obtain a brain medical image of the to-be-tested object.
[0038] In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of the embodiments of the first aspect when executing the computer program.
[0039] In a fourth aspect, the present application also provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program implements the steps of the method in any one of the embodiments of the first aspect when executed by a processor.
[0040] In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program, and the computer program implements the steps of the method in any one of the embodiments of the first aspect when executed by a processor.
[0041] The medical image acquisition method, device, equipment, storage medium and program product can start a magnetic resonance scan on a to-be-tested object, detect whether an eye state of the to-be-tested object meets a preset scan condition, generate a detection result, adjust the magnetic resonance scan process according to the detection result, and obtain a brain medical image of the to-be-tested object. The present application can detect whether the eye state of the to-be-tested object meets the preset scan condition while performing the magnetic resonance scan, so that the process of the magnetic resonance scan can be adjusted in real time according to the detection result, the brain medical image of the to-be-tested object is obtained, and the magnetic resonance imaging scan on the brain of the to-be-tested object will not be paused only when the eye state of the to-be-tested object meets the preset scan condition. In this way, the fMRI scan can be continued when the eye state of the to-be-tested object meets the scan requirement, and the accuracy of the medical image obtained by using the fMRI technology for scanning can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or the related art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without any creative effort.
[0043] Figure 1 An internal structure diagram of a computer device in one embodiment;
[0044] Figure 2 A flowchart of a medical image acquisition method in one embodiment;
[0045] Figure 3 A flowchart of a detection step in one embodiment;
[0046] Figure 4 A flowchart of an eye state detection step of an eye-closed resting state fMRI in one embodiment;
[0047] Figure 5 A flowchart of an eye state detection step of a task state fMRI in one embodiment;
[0048] Figure 6 A flowchart of a medical image acquisition method in another embodiment;
[0049] Figure 7 A structural block diagram of a medical image acquisition device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purposes, technical solutions and advantages of the present application more clear, the following will further describe the present application in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not intended to limit the present application.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments, and are not intended to limit the present application; the terms "include" and "have" and any variations thereof in the specification and claims of the present application and the above description of drawings are intended to cover non-exclusive inclusion.
[0052] In the description of the embodiments of the present application, the technical terms "first", "second", and the like are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly and specifically limited.
[0053] Reference herein to "embodiments" means that a particular feature, structure, or characteristic described in connection with an embodiment can be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily independent or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0054] With the development of medical technology, functional magnetic resonance imaging technology has been widely used in basic brain science research, providing an important tool for human understanding of the mystery of brain work and the pathological basis of neuropsychiatric diseases, so that fMRI technology can be used for scanning imaging to obtain medical images.
[0055] Among them, fMRI is carried out in resting state or task state. It should be noted that resting state fMRI scanning usually requires the subject to close his eyes or open his eyes and stare at a specific target, that is, resting state fMRI scanning needs to be carried out in one of the states of closing eyes or opening eyes and staring at a specific target, and the resting state fMRI scanning results of the subject in the open eye state and the closed eye state are different, that is, it can be understood that if the subject opens his eyes when he is required to close his eyes, or closes his eyes when he is required to open his eyes, the resting state fMRI scanning result is inaccurate; Task state fMRI scanning requires the subject to cooperate to complete the specified task, such as watching the specified stimulus and responding according to the prompt, if the subject closes his eyes or does not watch the specified stimulus seriously, the task state fMRI scanning result is inaccurate.
[0056] However, there is no method to quantify or feedback the eye state of the subject or the subject in the fMRI scanning, and if the open and closed eye state of the subject and the cooperation in the task state are ignored, only the fMRI brain image analysis without difference is carried out, then the accuracy of the brain image analysis result cannot be guaranteed. Therefore, the method of obtaining medical images by using fMRI technology for scanning has the problem of low accuracy.
[0057] After the background technology of the method for obtaining medical images provided by the embodiments of the present application is introduced above, the implementation environment related to the method for obtaining medical images provided by the embodiments of the present application will be briefly described below. The method for obtaining medical images provided by the embodiments of the present application can be applied to, for example Figure 1The computer device shown in the figure can be a terminal or a server, and the computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals. The wireless communication can be achieved through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement a medical image acquisition method. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0058] Those skilled in the art can understand that, Figure 1 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific terminal can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0059] In one embodiment, as Figure 2 shown, a medical image acquisition method is provided. The method is applied to the computer device in Figure 1 for example, and includes the following steps:
[0060] S201, starting a magnetic resonance scan on a to-be-tested object.
[0061] The to-be-tested object refers to a subject who needs to be subjected to a magnetic resonance scan imaging. The magnetic resonance scan process can include, but is not limited to, a functional magnetic resonance imaging scan process, in particular, an MRI scan scenario with eye opening and closing requirements. In the embodiment of the present application, the computer device can start the magnetic resonance scan on the to-be-tested object at a regular time; or the computer device can start the magnetic resonance scan on the to-be-tested object in the case that a start instruction sent by a terminal corresponding to a principal doctor is received. Of course, the specific implementation mode of starting the magnetic resonance scan is not limited in the embodiment of the present application.
[0062] In S202, the eye state of the to-be-tested object is detected to determine whether the eye state meets the preset scan condition, and a detection result is generated.
[0063] The eye state of the to-be-tested object can include, but is not limited to, at least one of an eye opening and closing state, an eye movement state, and a line of sight change state of the to-be-tested object. The preset scan condition can include, but is not limited to, at least one of a preset eye opening and closing condition, a preset eye movement range, and a preset line of sight change range. The preset scan condition corresponds to the eye state of the to-be-tested object. The detection result is used to represent whether the eye state of the to-be-tested object meets the preset scan condition.
[0064] In the embodiment of the present application, the computer device can detect whether the eye opening and closing state of the to-be-tested object meets the preset eye opening and closing condition, and / or the computer device can detect whether the eye movement state of the to-be-tested object meets the preset eye movement range, and / or the computer device can detect whether the line of sight change state of the to-be-tested object meets the preset line of sight change range, and generate the detection result.
[0065] For example, if only the eye opening and closing state of the to-be-tested object needs to be detected, in the case that the eye opening and closing state of the to-be-tested object meets the preset eye opening and closing condition, it can be determined that the detection result represents that the eye state of the to-be-tested object meets the preset scan condition; in the case that the eye opening and closing state of the to-be-tested object does not meet the preset eye opening and closing condition, it can be determined that the detection result represents that the eye state of the to-be-tested object does not meet the preset scan condition. If the eye opening and closing state, the eye movement state, and the line of sight change state of the to-be-tested object need to be detected, only in the case that the eye opening and closing state of the to-be-tested object meets the preset eye opening and closing condition, the eye movement state of the to-be-tested object meets the preset eye movement range, and the line of sight change state of the to-be-tested object meets the preset line of sight change range, it can be determined that the detection result represents that the eye state of the to-be-tested object meets the preset scan condition. In addition, the detection sequence of the eye opening and closing state, the eye movement state, and the line of sight change state is not limited in the embodiment of the present application.
[0066] It should be noted that the magnetic resonance scanning process and the process of detecting whether the eye state of the to-be-tested object meets the preset scanning condition are performed simultaneously, that is, the embodiment of the present application can detect the eye state of the to-be-tested object while performing the magnetic resonance scanning, so that the process of the magnetic resonance scanning can be adjusted in real time according to the detection result.
[0067] S203, adjusting the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the to-be-tested object.
[0068] In the embodiment of the present application, the computer device can adjust the process of the magnetic resonance scanning in real time according to the detection result, so as to obtain the brain medical image of the to-be-tested object. If the detection result indicates that the eye state of the to-be-tested object meets the preset scanning condition, the computer device can continue to perform the magnetic resonance imaging scanning on the brain of the to-be-tested object to obtain the brain medical image of the to-be-tested object, so as to analyze the brain function of the to-be-tested object by using the brain medical image of the to-be-tested object. If the detection result indicates that the eye state of the to-be-tested object does not meet the preset scanning condition, the computer device can send a prompt information to the terminal corresponding to the principal investigator, so that the principal investigator can judge whether to continue the magnetic resonance scanning on the to-be-tested object.
[0069] For example, if only the open-closed eye state of the to-be-tested object needs to be detected, the eye state of the to-be-tested object meets the preset scanning condition when the open-closed eye state of the to-be-tested object meets the preset open-closed eye condition, at this time, the computer device can continue to perform the magnetic resonance imaging scanning on the brain of the to-be-tested object to obtain the brain medical image of the to-be-tested object. If the open-closed eye state, the eye movement state and the line of sight change state of the to-be-tested object need to be detected, only when the open-closed eye state of the to-be-tested object meets the preset open-closed eye condition, the eye movement state of the to-be-tested object meets the preset eye movement range, and the line of sight change state of the to-be-tested object meets the preset line of sight change range, it is indicated that the eye state of the to-be-tested object meets the preset scanning condition, at this time, the computer device can continue to perform the magnetic resonance imaging scanning on the brain of the to-be-tested object to obtain the brain medical image of the to-be-tested object. The magnetic resonance imaging can be resting state fMRI or task state fMRI.
[0070] In the medical image acquisition method, the magnetic resonance scanning of the to-be-measured object is started, the eye state of the to-be-measured object is detected to determine whether the eye state meets preset scanning conditions, a detection result is generated, and the magnetic resonance scanning process is adjusted according to the detection result to obtain a brain medical image of the to-be-measured object. The eye state of the to-be-measured object can be detected while the magnetic resonance scanning is performed, so that the magnetic resonance scanning process can be adjusted in real time according to the detection result to obtain the brain medical image of the to-be-measured object. In addition, the magnetic resonance imaging scanning of the brain of the to-be-measured object is not paused until the eye state of the to-be-measured object meets the preset scanning conditions. As a result, the fMRI scanning can be continuously performed when the eye state of the to-be-measured object meets the scanning requirements, and the accuracy of the medical image obtained by using the fMRI technology for scanning can be improved.
[0071] In one embodiment, an implementation for detecting whether the eye state of the to-be-measured object meets the preset scanning conditions, i.e., "detecting whether the eye state of the to-be-measured object meets the preset scanning conditions and generating a detection result" in S201, is provided, as shown in the following. Figure 3
[0072] S301, acquiring an eye image of the to-be-measured object by using an image acquisition device.
[0073] S302, inputting the eye image of the to-be-measured object into an eye detection model for detection to obtain the eye state of the to-be-measured object.
[0074] In the embodiments of the present application, after the to-be-tested object lies on the magnetic resonance scanning bed, the computer device can collect a face image of the to-be-tested object through a camera compatible with the image acquisition device before starting a new scan, and determine an eye image of the to-be-tested object from the face image of the to-be-tested object. At this time, the eye image of the to-be-tested object can be detected, and only when it is detected that the eye image of the to-be-tested object meets the preset scanning condition, the scan will be started. In addition, during the process of starting the magnetic resonance scan formally, the computer device can also collect a face image of the to-be-tested object through a camera compatible with the image acquisition device, and determine an eye image of the to-be-tested object from the face image of the to-be-tested object. At this time, the eye image of the to-be-tested object can be detected in real time, that is, the eye state of the to-be-tested object can be detected while the magnetic resonance scan is being performed. In addition, the computer device can also pre-acquire an eye detection model, wherein the eye detection model can include but is not limited to at least one of an open-closed eye detection model, an eyeball movement detection model, and a line-of-sight change detection model. The open-closed eye detection model is used to detect whether the eye state of the to-be-tested object is in an open eye state or a closed eye state. The eyeball movement detection model is used to detect the eyeball movement state of the to-be-tested object, which can be represented by an eyeball movement amount or a pupil position change amount. The line-of-sight change detection model is used to detect the line-of-sight change state of the to-be-tested object, which can be represented by a line-of-sight change amount.
[0075] Therefore, the computer device can input the eye image of the to-be-tested object into the eye detection model for detection to obtain the eye state of the to-be-tested object. Optionally, if the eye detection model only includes the open-closed eye detection model, the computer device can input the eye image of the to-be-tested object into the open-closed eye detection model for detection to obtain the eye state of the to-be-tested object. At this time, the eye state of the to-be-tested object is in an open eye state or a closed eye state. If the eye detection model includes the open-closed eye detection model, the eyeball movement detection model, and the line-of-sight change detection model, the computer device can input the eye image of the to-be-tested object into the open-closed eye detection model, the eyeball movement detection model, and the line-of-sight change detection model respectively for detection to obtain the eye state of the to-be-tested object. At this time, the eye state of the to-be-tested object is in an open eye state or a closed eye state, the eyeball movement state of the to-be-tested object, and the line-of-sight change state of the to-be-tested object. In addition, the present application does not limit the order of inputting the eye image into the open-closed eye detection model, the eyeball movement detection model, and the line-of-sight change detection model.
[0076] S303, according to the eye state of the to-be-tested object, determine whether the eye state of the to-be-tested object meets the preset scanning condition, and generate a detection result.
[0077] In an embodiment of the present application, optionally, if the eye detection model only includes the open-closed eye detection model, the computer device can determine whether the eye state of the to-be-tested object meets the preset scanning condition according to the open eye state or the closed eye state of the to-be-tested object, that is, it can be understood that, in the case that the open eye state or the closed eye state of the to-be-tested object meets the preset open-closed eye condition, it can be determined that the detection result represents that the eye state of the to-be-tested object meets the preset scanning condition. Or, if the eye detection model includes the open-closed eye detection model, the eye movement detection model and the line of sight change detection model, the computer device can determine whether the eye state of the to-be-tested object meets the preset scanning condition according to the open eye state or the closed eye state of the to-be-tested object, the eye movement state of the to-be-tested object and the line of sight change state of the to-be-tested object, that is, it can be understood that, in the case that the open eye state or the closed eye state of the to-be-tested object meets the preset open-closed eye condition, and the eye movement state of the to-be-tested object meets the preset eye movement range, and the line of sight change state of the to-be-tested object meets the preset line of sight change range, it can be determined that the detection result represents that the eye state of the to-be-tested object meets the preset scanning condition.
[0078] In an embodiment, the eye image of the to-be-tested object can be acquired by the image acquisition device, and the eye image of the to-be-tested object is input into the eye detection model for detection to obtain the accurate eye state of the to-be-tested object; thereby, it can be determined whether the eye state of the to-be-tested object meets the preset scanning condition according to the accurate eye state of the to-be-tested object.
[0079] In one embodiment, the preset scanning condition includes a closed eye resting condition, and the eye state includes an open eye state or a closed eye state, and an implementation manner of determining whether the eye state of the to-be-tested object meets the preset scanning condition is provided, that is, the above-mentioned "determining whether the eye state of the to-be-tested object meets the preset scanning condition according to the eye state of the to-be-tested object" in S303 includes:
[0080] If the eye state is a closed eye state, it is determined that the eye state of the to-be-tested object meets the closed eye resting condition.
[0081] If the eye state is an open eye state, it is determined that the eye state of the to-be-tested object does not meet the closed eye resting condition.
[0082] In the embodiment of the present application, if the preset scanning condition includes the closed-eye resting condition, that is, the subject is instructed by the experimenter to perform the closed-eye resting-state fMRI process throughout the whole process, in the scenario of the closed-eye resting-state fMRI scanning, only when the subject is in the closed-eye state, the accuracy of the brain medical image obtained by scanning is higher. At this time, the eye state includes the open-eye state or the closed-eye state, and the computer device can determine whether the eye state of the subject meets the preset scanning condition according to the open-eye state or the closed-eye state of the subject. Specifically, if the eye state of the subject is the closed-eye state, it can be determined that the eye state of the subject meets the closed-eye resting condition; if the eye state of the subject is the open-eye state, it can be determined that the eye state of the subject does not meet the closed-eye resting condition.
[0083] In the embodiment, if the eye state is the closed-eye state, it is determined that the eye state of the subject meets the resting condition; if the eye state is the open-eye state, it is determined that the eye state of the subject does not meet the resting condition. In this way, whether the eye state of the subject meets the closed-eye resting condition can be accurately determined according to whether the eye state of the subject is the closed-eye state.
[0084] In one embodiment, the preset scanning condition includes the open-eye resting condition, the open-eye resting condition includes a first open-eye resting condition and a second open-eye resting condition, the eye state includes at least one of the open-eye state, the closed-eye state and the eye movement state, and an implementation manner for determining whether the eye state of the subject meets the preset scanning condition is provided, that is, the above-mentioned “determining whether the eye state of the subject meets the preset scanning condition according to the eye state of the subject” in S303, which includes:
[0085] If the eye state is the open-eye state, it is determined that the eye state of the subject meets the first open-eye resting condition.
[0086] If the eye state is the open-eye state, it is determined whether the eye state of the subject meets the second open-eye resting condition according to the eye movement state.
[0087] If the eye state is the closed-eye state, it is determined that the eye state of the subject does not meet the open-eye resting condition.
[0088] In the embodiment of the present application, if the preset scanning condition includes the open-eye resting condition, the open-eye resting condition includes the first open-eye resting condition and the second open-eye resting condition, that is, the first open-eye resting condition corresponds to the open-eye resting-state fMRI process in which the subject is instructed by the experimenter to only open the eyes throughout the whole process of resting-state scanning, at this time, only when the subject is in the open-eye state, the accuracy of the brain medical image obtained by scanning is higher. For the open-eye resting-state fMRI process in which the subject only opens the eyes, if the eye state of the subject is the open-eye state at this time, it can be directly determined that the eye state of the subject meets the first open-eye resting condition.
[0089] The second open-eye resting condition corresponds to an open-eye resting fMRI procedure in which the subject is instructed to open eyes and mark a specific target during the whole resting state scanning process. In this case, only when the subject opens eyes and gazes at the specific target, the accuracy of the brain medical image obtained by scanning is higher. For the open-eye resting fMRI procedure in which the subject opens eyes and gazes at the specific target, if the eye state of the subject is the open-eye state, the eye state of the subject can be determined according to the eye movement state to determine whether the eye state of the subject meets the second open-eye resting condition. For example, the line of sight of the subject can be detected according to the eye movement state to determine whether the subject gazes at the specific target, and if it is determined that the subject gazes at the specific target, it can be determined that the eye state of the subject meets the second open-eye resting condition.
[0090] For the open-eye resting fMRI procedure in which the subject only opens eyes, or for the open-eye resting fMRI procedure in which the subject opens eyes and gazes at the specific target, if the eye state of the subject is the closed-eye state, it can be determined that the eye state of the subject not only does not meet the first open-eye resting condition, but also does not meet the second open-eye resting condition. For example, it is assumed that the subject is instructed to open eyes and mark a specific target, such as a white or red cross in the center of a black screen, during the whole open-eye resting fMRI scanning process, and in the actual scanning process, the subject is in the closed-eye state, or changes from the open-eye state to the closed-eye state due to drowsiness during the scanning process. It can be determined that the eye state of the subject does not meet the second open-eye resting condition.
[0091] In one of the embodiments, the determination of whether the eye state of the subject meets the open-eye resting condition according to the eye movement state includes:
[0092] In the case where the eye movement state meets the preset movement requirement, it is determined that the eye state of the subject meets the second open-eye resting condition.
[0093] In the case where the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject does not meet the second open-eye resting condition.
[0094] In the embodiments of the present application, if the eye state of the subject is the open-eye state, it means that the eye of the subject is in the open state, and the computer device can continue to determine whether the eye movement state of the subject meets the preset movement requirement to determine whether the subject opens eyes and marks the specific target during the whole resting state scanning process. If the eye movement amount of the subject is within the preset eye movement range, it means that the eye movement state of the subject meets the preset movement requirement.
[0095] Optionally, if the eye movement state of the to-be-tested object meets the preset movement requirement, it can be determined that the eye state of the to-be-tested object meets the second open-eye resting condition, that is, the to-be-tested object is currently watching the specific target with eyes open; if the eye movement state of the to-be-tested object does not meet the preset movement requirement, it can be determined that the eye state of the to-be-tested object does not meet the second open-eye resting condition, that is, the to-be-tested object is currently watching with eyes open, but is not watching the specific target.
[0096] In this embodiment, if the eye state is the open-eye state, it is determined that the eye state of the to-be-tested object meets the first open-eye resting condition; if the eye state is the open-eye state, it is determined whether the eye state of the to-be-tested object meets the second open-eye resting condition according to the eye movement state; if the eye state is the closed-eye state, it is determined that the eye state of the to-be-tested object does not meet the open-eye resting condition. In this way, it can be accurately determined whether the eye state of the to-be-tested object meets the open-eye resting condition according to whether the to-be-tested object watches the specific target with eyes open.
[0097] In one embodiment, the preset scanning condition includes a task condition, the eye state includes an eye opening and closing state, an eye movement state and a line-of-sight change state, and an implementation manner for determining whether the eye state of the to-be-tested object meets the preset scanning condition is provided, that is, the above-mentioned "determining whether the eye state of the to-be-tested object meets the preset scanning condition according to the eye state of the to-be-tested object" in S303, includes:
[0098] If the eye opening and closing state is the open-eye state, it is determined whether the eye state of the to-be-tested object meets the task condition according to the eye movement state and the line-of-sight change state.
[0099] If the eye opening and closing state is the closed-eye state, it is determined that the eye state of the to-be-tested object does not meet the task condition.
[0100] In the embodiment of the present application, if the preset scanning condition includes the task condition, that is, the task-state fMRI process for instructing the subject to watch the specific stimulus with eyes open, in the scene of the task-state fMRI scanning, only in the state that the to-be-tested object seriously cooperates with the task experiment, the accuracy of the brain medical image obtained by scanning is higher. At this time, the eye state includes the eye opening and closing state, the eye movement state and the line-of-sight change state, the eye opening and closing state includes the open-eye state or the closed-eye state, based on this, the computer device can determine whether the eye state of the to-be-tested object meets the preset scanning condition according to the open-eye state or the closed-eye state of the to-be-tested object, the eye movement state of the to-be-tested object and the line-of-sight change state of the to-be-tested object, so that if it is determined that the eye state of the to-be-tested object meets the preset scanning condition, it indicates that the to-be-tested object is currently seriously cooperating with the task experiment, at this time, the magnetic resonance scanning is continued, and the brain medical image with high accuracy can be obtained. The task experiment can include but is not limited to watching the stimulus, etc.
[0101] For example, if the eye opening and closing state of the to-be-tested object is the open eye state, it indicates that the eye of the to-be-tested object is in the open state, and the computer device can continue to determine whether the eye movement state of the to-be-tested object meets the preset movement requirement and whether the line-of-sight change state of the to-be-tested object meets the preset line-of-sight change requirement, to determine whether the to-be-tested object is seriously cooperating in the task experiment. If the eye opening and closing state of the to-be-tested object is the closed eye state, it indicates that the eye of the to-be-tested object is in the closed state, and the computer device can directly determine that the to-be-tested object is impossible to seriously cooperate in the task experiment, and thus determine that the eye state of the to-be-tested object does not meet the task condition. It should be noted that the focus of the embodiments of the present application is to determine whether the to-be-tested object seriously cooperates in the task experiment according to the eye state, and the situation of determining the cooperation degree of the to-be-tested object according to the action feedback of the to-be-tested object is not concerned.
[0102] In one of the embodiments, determining whether the eye state of the to-be-tested object meets the task condition according to the eye movement state and the line-of-sight change state includes:
[0103] In the case that the eye movement state meets the preset movement requirement and the line-of-sight change state meets the preset line-of-sight change requirement, it is determined that the eye state of the to-be-tested object meets the task condition.
[0104] In the case that the eye movement state does not meet the preset movement requirement or the line-of-sight change state does not meet the preset line-of-sight change requirement, it is determined that the eye state of the to-be-tested object does not meet the task condition.
[0105] In the embodiments of the present application, if the eye opening and closing state of the to-be-tested object is the open eye state, it indicates that the eye of the to-be-tested object is in the open state, and the computer device can continue to determine whether the eye movement state of the to-be-tested object meets the preset movement requirement and whether the line-of-sight change state of the to-be-tested object meets the preset line-of-sight change requirement, to determine whether the to-be-tested object is seriously cooperating in the task experiment. If the eye opening and closing state of the to-be-tested object is the closed eye state, it indicates that the eye of the to-be-tested object is in the closed state, and the computer device can directly determine that the to-be-tested object is impossible to seriously cooperate in the task experiment, and thus determine that the eye state of the to-be-tested object does not meet the task condition. It should be noted that the focus of the embodiments of the present application is to determine whether the to-be-tested object seriously cooperates in the task experiment according to the eye state, and the situation of determining the cooperation degree of the to-be-tested object according to the action feedback of the to-be-tested object is not concerned.
[0106] Optionally, if the eye movement state of the to-be-tested object meets the preset movement requirement and the line-of-sight change state of the to-be-tested object meets the preset line-of-sight change requirement, it can be determined that the eye state of the to-be-tested object meets the task condition, that is, the to-be-tested object is seriously cooperating in the task experiment at the current detection moment; if the eye movement state of the to-be-tested object does not meet the preset movement requirement or the line-of-sight change state of the to-be-tested object does not meet the preset line-of-sight change requirement, it can be determined that the eye state of the to-be-tested object does not meet the task condition, that is, the to-be-tested object is not seriously cooperating in the task experiment at the current detection moment.
[0107] For example, assuming that the subject is required to open his eyes to watch certain specific stimuli, and the subject does not cooperate to perform the task, for example, the subject is in a closed-eye resting state, or changes from an open-eye state to a closed-eye state due to drowsiness, or does not watch the specific target as required, then it is indicated that the eye opening and closing state of the subject does not meet the open-eye state, or the eye movement state does not meet the preset movement requirement, or the line-of-sight change state of the subject does not meet the preset line-of-sight change requirement, and it can be determined that the eye state of the subject does not meet the task condition.
[0108] In this embodiment, if the eye opening and closing state is an open-eye state, it is determined whether the eye state of the subject meets the task condition according to the eye movement state and the line-of-sight change state; if the eye opening and closing state is a closed-eye state, it is determined that the eye state of the subject does not meet the task condition. In this way, in the scenario of task-state fMRI scanning, it can be accurately determined whether the subject is seriously cooperating in the task experiment at the current detection time according to the accurate eye opening and closing state, eye movement state and line-of-sight change state of the subject.
[0109] In one embodiment, an implementation of outputting prompt information is provided, that is, the "adjusting the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the subject" in S203, which includes:
[0110] In the case that the eye state of the subject does not meet the preset scanning condition, the magnetic resonance imaging of the brain of the subject is paused, and prompt information is outputted.
[0111] In the case that the eye state of the subject does not meet the preset scanning condition, the computer device can automatically pause the magnetic resonance imaging of the brain of the subject, and output prompt information to the terminal corresponding to the subject doctor, for example, a pop-up window prompt can be outputted to the terminal corresponding to the subject doctor, and "the subject performs XX action, the current scanning is paused, please tell the subject to perform XXX action, and then click to restart scanning" can be displayed in the pop-up window, so that the computer device can detect whether the subject doctor clicks the restart scanning button, if it is determined that the subject doctor clicks the restart scanning button, the magnetic resonance imaging can be restarted in response to the restart scanning button operation of the subject doctor; if it is determined that the subject doctor does not click the restart scanning button, the magnetic resonance imaging can be continued after the preset time period of the pop-up window prompt, and an identifier can be added to the image for continuous scanning to prompt the subject doctor or data analyzer that the part of the medical image with the identifier may have inaccurate problems. The preset time period can be set according to actual conditions, for example, the preset time period can be 30 seconds, and of course, the specific value of the preset time period is not limited in this embodiment.
[0112] In the embodiment, in the case that the eye state of the to-be-tested object does not satisfy the preset scanning condition, the magnetic resonance imaging of the brain of the to-be-tested object is paused, and the prompt information is output, so that the fMRI scanning is not paused only when the eye state of the to-be-tested object meets the scanning requirement, and therefore the accuracy of the medical image obtained by using the fMRI technology for scanning is improved.
[0113] In one embodiment, an implementation of adding an identifier to the image for continuous scanning is provided, and the method for obtaining the medical image further includes:
[0114] If the re-scanning key instruction is responded to, the magnetic resonance imaging of the to-be-tested object is re-performed.
[0115] If the re-scanning key instruction is not responded to, after the prompt information is output for the preset time period, the magnetic resonance imaging of the to-be-tested object is continuously performed, and an identifier is added to the image for continuous scanning.
[0116] In the embodiment, in the case that the eye state of the to-be-tested object does not satisfy the preset scanning condition, the magnetic resonance imaging of the brain of the to-be-tested object is paused, and the prompt information is output, and then the computer device can detect whether the re-scanning key instruction sent by the terminal corresponding to the principal investigator is received. If the re-scanning key instruction sent by the terminal corresponding to the principal investigator is received, it indicates that the principal investigator clicks the re-scanning key, and then the magnetic resonance imaging of the to-be-tested object is re-performed in response to the re-scanning key instruction. If the re-scanning key instruction sent by the terminal corresponding to the principal investigator is not received, it indicates that the principal investigator does not click the re-scanning key, and then after the prompt information is output for the preset time period, the magnetic resonance imaging of the to-be-tested object is continuously performed, and an identifier is added to the image for continuous scanning, so as to prompt the principal investigator or the data analyst that the medical image with the identifier added may have an inaccuracy problem.
[0117] In the embodiment, if the re-scanning key instruction is responded to, the magnetic resonance imaging of the to-be-tested object is re-performed; and if the re-scanning key instruction is not responded to, after the prompt information is output for the preset time period, the magnetic resonance imaging of the to-be-tested object is continuously performed, and an identifier is added to the image for continuous scanning. In this way, the principal investigator or the data analyst can know the change of the eye state of the to-be-tested object in the process of scanning imaging when analyzing the subsequent images, and the principal investigator or the data analyst can be facilitated to analyze the images.
[0118] In one exemplary embodiment, as shown in Figure 4 Figure 4 A flowchart of an eye state detection step of the closed-eye resting-state fMRI in an embodiment is shown. S501, the computer device can detect the open-eye state or the closed-eye state of the subject in real time, S502, so as to determine whether the eye state of the subject is the closed-eye state. S503, if it is determined that the eye state of the subject is the open-eye state, it can be determined that the eye state of the subject does not meet the resting condition, at this time, the scanning can be automatically paused, S504, and the prompt information can be output to the terminal corresponding to the trial doctor, for example, a pop-up window prompt can be output, and “the subject opens his eyes, the current scanning has been paused, please tell the subject to close his eyes, and then click to restart scanning” can be displayed in the pop-up window, so that the computer device can detect whether the trial doctor clicks the restart scanning button, S506, if it is determined that the trial doctor clicks the restart scanning button, the magnetic resonance imaging can be restarted in response to the restart scanning button operation clicked by the trial doctor; S507, if it is determined that the trial doctor does not click the restart scanning button, the magnetic resonance imaging can be continued after the pop-up window prompt for a preset period of time, and an identification can be added to the image for continuous scanning to prompt the trial doctor or the data analyzer that the medical image with the identification may have an inaccurate problem.
[0119] S508, if it is determined that the eye state of the subject is the closed-eye state, it can be determined that the eye state of the subject meets the resting condition, at this time, the brain of the subject can be subjected to magnetic resonance imaging to obtain the brain medical image of the subject. Then, S509, the computer device can further detect whether the closed-eye state of the subject changes to the open-eye state, S510, if the closed-eye state of the subject does not change to the open-eye state, i.e. the eye state of the subject is still the closed-eye state, the brain of the subject can be subjected to magnetic resonance imaging to obtain the brain medical image of the subject. S511, if the closed-eye state of the subject changes to the open-eye state, a pop-up window prompt can be output to the terminal corresponding to the trial doctor, and “the open-eye state of the subject changes, please click to restart scanning or continue scanning, if you need to restart scanning, please communicate with the subject and click to restart scanning” can be displayed in the pop-up window, so that the computer device can detect whether the trial doctor clicks the restart scanning button, S512, if it is determined that the trial doctor clicks the restart scanning button, the magnetic resonance imaging can be restarted in response to the restart scanning button operation clicked by the trial doctor; S514, if it is determined that the trial doctor does not click the restart scanning button or clicks the continue scanning, the magnetic resonance imaging can be continued after the pop-up window prompt for a preset period of time, or in response to the continue scanning button operation clicked by the trial doctor, and an identification can be added to the image for continuous scanning to prompt the trial doctor that the medical image with the identification may have an inaccurate problem.
[0120] In another exemplary embodiment, as shown in Figure 5 Figure 5 Fig. 6 is a flowchart illustrating an embodiment of an eye state detection step of a task-state fMRI. In S601, the computer device can detect the open-eye state or the closed-eye state of the subject in real time, and determine whether the eye state of the subject is a closed-eye state in S602. If it is determined that the eye state of the subject is a closed-eye state in S603, it can be determined that the eye state of the subject does not meet the task condition, and the scanning can be automatically paused in S604, and a prompt message can be output to the terminal corresponding to the trial doctor, for example, a pop-up window can be output, and the message “the subject closes his eyes, the current scanning is paused, please tell the subject to open his eyes and watch the target, and then click the re-scanning” can be displayed in the pop-up window, so that the computer device can detect whether the trial doctor clicks the re-scanning button in S605, and if it is determined that the trial doctor clicks the re-scanning button in S606, the magnetic resonance imaging can be re-performed in response to the re-scanning button operation of the trial doctor; if it is determined that the trial doctor does not click the re-scanning button in S607, the magnetic resonance imaging can be continued after the pop-up window prompts for a preset period of time, and an identification can be added to the image for continuous scanning to prompt the trial doctor or data analyzer that the medical image with the identification may have an inaccurate problem.
[0121] S608, if it is determined that the eye state of the to-be-tested object is the open-eye state, the computer device can then detect whether the eye movement state of the to-be-tested object meets the preset movement requirement, and detect whether the line-of-sight change state of the to-be-tested object meets the preset line-of-sight change requirement, S609, if the eye movement state of the to-be-tested object meets the preset movement requirement, and the line-of-sight change state of the to-be-tested object meets the preset line-of-sight change requirement, the brain of the to-be-tested object can be subjected to magnetic resonance imaging to obtain the brain medical image of the to-be-tested object. S610, if the eye movement state of the to-be-tested object does not meet the preset movement requirement, or the line-of-sight change state of the to-be-tested object does not meet the preset line-of-sight change requirement, a pop-up window can be output to the terminal corresponding to the principal investigator, and the pop-up window displays "the eye movement state of the to-be-tested object does not meet the preset movement requirement, or the line-of-sight change state of the to-be-tested object does not meet the preset line-of-sight change requirement, please click Terminate Scan or Continue Scan, if re-scanning is needed, please click Terminate Scan first, and after communicating with the subject, click Re-Scan", so that S611, the computer device can detect whether the principal investigator clicks the Terminate Scan button, S612, if it is determined that the principal investigator clicks the Terminate Scan button, the principal investigator can click the Re-Scan button, and after responding to the Re-Scan button operation clicked by the principal investigator, the magnetic resonance imaging is re-performed; S613, if it is determined that the principal investigator does not click the Terminate Scan button or clicks the Continue Scan, the magnetic resonance imaging can be continued after the pop-up window prompt for a preset period of time, or in response to the Continue Scan button operation clicked by the principal investigator, and an identifier is added to the image for continuous scanning to prompt the principal investigator or data analyzer that the medical image with the identifier added may have inaccurate problems.
[0122] The above medical image acquisition method can help neurologists to quantitatively perceive the cooperation of the subject in the resting-state fMRI and task-state fMRI scanning processes by detecting whether the eye state of the to-be-tested object meets the preset scanning condition, determining whether the to-be-tested object complies with the instruction to perform the closed-eye or open-eye scanning, and determining whether the to-be-tested object seriously cooperates to complete the specific task, so as to improve the accuracy and reliability of the medical image obtained by scanning with minimum time loss, control the authenticity and reliability of the fMRI data from the source, and thus assist the neuroscientists to better and more reliably carry out the fMRI research, and obtain more reliable brain image data and analysis results. Moreover, the eye state of the subject in the resting-state fMRI and task-state fMRI scanning processes is detected, which can provide an objective eye state detection solution for researchers in the related field, and can determine whether the scanning needs to be paused or restarted according to the change of the eye state of the to-be-tested object.
[0123] In one embodiment, an implementation of outputting prompt information is provided, as shown in Figure 6 the above medical image acquisition method further comprises:
[0124] S304, obtain a preset number of eye sample images; the eye states of eyes in different eye sample images are different.
[0125] S305, train the neural network model according to the eye sample images to obtain an eye detection model.
[0126] The eye sample image refers to an eye sample image of a to-be-detected object in a magnetic resonance scanning scene, and the eye sample image can include an eye image in an open-eye state, an eye image in a closed-eye state, an eye image in different eye movement states, an eye image in different line-of-sight change states, and a label result of the eye image. It should be noted that the states of eyes in different eye sample images are different.
[0127] In the embodiment of the application, the computer device can pre-acquire facial images of each historical subject through a camera compatible with the image acquisition device, then identify eye images of each historical subject from the facial images of each historical subject, and record the positions and change ranges of key points such as the corners of the eyes and the eyelids of each historical subject in the open-eye and closed-eye states, thereby obtaining a preset number of eye sample images. The preset number can be set according to actual needs, and the embodiment of the application does not limit the preset number. Then, the computer device can input the preset number of eye sample images to the neural network model for prediction to obtain a sample prediction result, so that the loss function can be calculated according to the sample prediction result and the label result of the eye image in the eye sample image, and the model parameters of the neural network model can be adjusted based on the loss function to obtain an eye detection model. The neural network model can include but is not limited to any one of neural network models or deep learning models.
[0128] In the embodiment, a preset number of eye sample images are obtained, wherein the eye states of eyes in different eye sample images are different; thereby, the neural network model can be trained according to the preset number of eye sample images, and an accurate eye detection model can be obtained.
[0129] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of the steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0130] Based on the same inventive concept, the embodiments of the present application also provide a medical image acquisition device for implementing the above-mentioned medical image acquisition method. The problem-solving implementation scheme provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more medical image acquisition device embodiments provided below can refer to the limitations of the medical image acquisition method in the above text, which will not be repeated here.
[0131] In one exemplary embodiment, as shown in Figure 7 a medical image acquisition device is provided, comprising: a magnetic resonance scanning module 31, a detection module 32 and an imaging module 33, wherein:
[0132] The magnetic resonance scanning module 31 is configured to start a magnetic resonance scan on the subject to be measured;
[0133] The detection module 32 is configured to detect whether the eye state of the subject to be measured meets the preset scanning condition, and generate a detection result;
[0134] The adjustment module 33 is configured to adjust the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the subject to be measured.
[0135] In one embodiment, the detection module 32 comprises:
[0136] The acquisition unit is configured to acquire an eye image of the subject to be measured by an image acquisition device;
[0137] The eye state detection unit is configured to input the eye image of the subject to be measured into an eye detection model for detection to obtain the eye state of the subject to be measured;
[0138] The determination unit is configured to determine whether the eye state of the subject to be measured meets the preset scanning condition according to the eye state of the subject to be measured, and generate a detection result.
[0139] In one of the embodiments, the preset scanning condition comprises a closed-eye resting condition, the eye state comprises an open-eye state or a closed-eye state, and the determining unit comprises:
[0140] a first determining sub-unit configured to determine that the eye state of the subject meets the closed-eye resting condition if the eye state is the closed-eye state;
[0141] a second determining sub-unit configured to determine that the eye state of the subject does not meet the closed-eye resting condition if the eye state is the open-eye state.
[0142] In one of the embodiments, the preset scanning condition comprises an open-eye resting condition, the open-eye resting condition comprises a first open-eye resting condition and a second open-eye resting condition, the eye state comprises at least one of an open-eye state, a closed-eye state and an eye movement state, and the determining unit comprises:
[0143] a third determining sub-unit configured to determine that the eye state of the subject meets the first open-eye resting condition if the eye state is the open-eye state;
[0144] a fourth determining sub-unit configured to determine that the eye state of the subject meets the second open-eye resting condition if the eye state is the open-eye state and the eye movement state meets a preset movement requirement, and determine that the eye state of the subject does not meet the second open-eye resting condition if the eye state is the open-eye state and the eye movement state does not meet the preset movement requirement;
[0145] a fifth determining sub-unit configured to determine that the eye state of the subject does not meet the open-eye resting condition if the eye state is the closed-eye state.
[0146] In one of the embodiments, the preset scanning condition comprises a task condition, the eye state comprises an eye open-closed state, an eye movement state and a line-of-sight change state, and the determining unit comprises:
[0147] a sixth determining sub-unit configured to determine that the eye state of the subject meets the task condition if the eye open-closed state is the open-eye state, the eye movement state meets a preset movement requirement, and the line-of-sight change state meets a preset line-of-sight change requirement, and determine that the eye state of the subject does not meet the task condition if the eye movement state does not meet the preset movement requirement or the line-of-sight change state does not meet the preset line-of-sight change requirement;
[0148] a seventh determining sub-unit configured to determine that the eye state of the subject does not meet the task condition if the eye open-closed state is the closed-eye state.
[0149] In one of the embodiments, the adjusting module 33 comprises:
[0150] The imaging unit is suspended, and the prompt information is outputted when the eye state of the to-be-tested object does not satisfy the preset scanning condition.
[0151] In one of the embodiments, the medical image acquisition device further comprises:
[0152] The re-imaging module is configured to re-perform the magnetic resonance imaging on the to-be-tested object in response to the re-scanning key instruction.
[0153] The continuous imaging module is configured to continue the magnetic resonance imaging on the to-be-tested object after the preset time period of the prompt information outputting, and add an identifier to the image of the continuous scanning.
[0154] The above-mentioned modules in the medical image acquisition device can be realized by software, hardware and combinations thereof in whole or in part. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned modules.
[0155] In one of the exemplary embodiments, a computer device is provided, which can be a terminal, and the internal structure diagram thereof can be as shown in Figure 1 The computer device comprises a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals. The wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. The computer program is executed by the processor to implement a medical image acquisition method. The display unit of the computer device is configured to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0156] Those skilled in the art can understand that,Figure 1 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0157] In an exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method embodiments when executed.
[0158] In an embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.
[0159] In an embodiment, a computer program product is provided, including a computer program, and the computer program implementing the steps in the above method embodiments when executed by a processor.
[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0161] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0162] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0163] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A method for acquiring medical images, characterized in that, The method includes: Initiate magnetic resonance scanning on the object to be tested; The eye image of the subject under test is acquired using an image acquisition device; The eye image of the subject to be tested is input into the eye detection model for detection to obtain the eye state of the subject to be tested; Based on the eye state of the subject under test, determine whether the eye state of the subject under test meets preset scanning conditions, and generate a detection result; wherein, the preset scanning conditions include a closed-eye resting condition, and the eye state includes an open-eye state or a closed-eye state; or, the preset scanning conditions include an open-eye resting condition, the open-eye resting condition includes a first open-eye resting condition and a second open-eye resting condition, and the eye state includes at least one of an open-eye state, a closed-eye state, and an eye movement state; or, the preset scanning conditions include task conditions, and the eye state includes an open-eye / closed state, an eye movement state, and a gaze change state; The magnetic resonance scanning process is adjusted based on the detection results to obtain medical images of the brain of the subject.
2. The method according to claim 1, characterized in that, When the preset scanning conditions include a closed-eye resting condition, and the eye state includes an open-eye state or a closed-eye state, determining whether the eye state of the subject meets the preset scanning conditions based on the eye state of the subject includes: If the eye state is the closed eye state, then it is determined that the eye state of the test subject meets the closed eye resting condition; If the eye state is the open eye state, then it is determined that the eye state of the test subject does not meet the closed eye resting condition.
3. The method according to claim 1, characterized in that, When the preset scanning conditions include an open-eye resting condition, the open-eye resting condition includes a first open-eye resting condition and a second open-eye resting condition, and the eye state includes at least one of an open-eye state, a closed-eye state, and an eye movement state, determining whether the eye state of the subject meets the preset scanning conditions based on the eye state of the subject includes: If the eye state is the open eye state, then it is determined that the eye state of the test subject meets the first open eye resting condition; If the eye state is the open eye state, then if the eye movement state meets the preset movement requirements, it is determined that the eye state of the test subject meets the second open eye resting condition; if the eye movement state does not meet the preset movement requirements, it is determined that the eye state of the test subject does not meet the second open eye resting condition. If the eye state is the closed eye state, then it is determined that the eye state of the test subject does not meet the open eye resting condition.
4. The method according to claim 1, characterized in that, When the preset scanning conditions include task conditions, and the eye state includes eye opening / closing state, eye movement state, and gaze change state, determining whether the eye state of the subject meets the preset scanning conditions based on the eye state of the subject includes: If the eye opening / closing state is the open state, then if the eye movement state meets the preset movement requirements and the gaze change state meets the preset gaze change requirements, it is determined that the eye state of the test subject meets the task conditions; if the eye movement state does not meet the preset movement requirements or the gaze change state does not meet the preset gaze change requirements, it is determined that the eye state of the test subject does not meet the task conditions. If the eye opening / closing state is closed, then it is determined that the eye state of the test subject does not meet the task conditions.
5. The method according to any one of claims 1 to 4, characterized in that, The step of adjusting the magnetic resonance scanning process based on the detection results to obtain brain medical images of the subject includes: If the eye condition of the subject does not meet the preset scanning conditions, the magnetic resonance imaging of the subject's brain is paused and a prompt message is output.
6. The method according to claim 5, characterized in that, The method further includes: If a rescan button command is received, magnetic resonance imaging is performed again on the object under test; If the rescan button command is not responded to, magnetic resonance imaging of the object under test will continue after a preset time period following the output of the prompt message, and an identifier will be added to the image of the continued scan.
7. A medical image acquisition device, characterized in that, The device includes: The magnetic resonance scanning module is used to initiate a magnetic resonance scan on the object under test. The detection module includes: The acquisition unit is used to acquire eye images of the object under test through an image acquisition device; An eye state detection unit is used to input the eye image of the subject to be tested into an eye detection model for detection, so as to obtain the eye state of the subject to be tested; A determining unit is configured to determine whether the eye state of the subject meets preset scanning conditions based on the eye state of the subject, and generate a detection result; wherein the preset scanning conditions include a closed-eye resting condition, and the eye state includes an open-eye state or a closed-eye state; or, the preset scanning conditions include an open-eye resting condition, the open-eye resting condition includes a first open-eye resting condition and a second open-eye resting condition, and the eye state includes at least one of an open-eye state, a closed-eye state, and an eye movement state; or, the preset scanning conditions include task conditions, and the eye state includes an open-eye / closed state, an eye movement state, and a gaze change state; An adjustment module is used to adjust the magnetic resonance scanning process according to the detection results to obtain a brain medical image of the subject.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Magnetic resonance multi-parameter test monitoring method and monitoring system
CN108885244A
Emotion recognition and neuromodulation system and method based on bilateral amygdaloid nucleus phase difference
CN118177720A