Medical image acquisition method and device, computer equipment and storage medium
By real-time detection and adjustment of the eye status of the subject to be tested, the problem of low accuracy in fMRI technology is solved, and higher medical imaging accuracy is achieved.
Patent Information
- Application Number
- CN202411311679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-09-19
AI Technical Summary
The existing fMRI technology has low accuracy when acquiring medical images, mainly due to the failure to effectively detect and adjust the eye status of the object to be tested.
The eye image of the object to be tested is collected through the image acquisition device and input it into the eye detection model for detection to generate the detection result. Adjust the magnetic resonance scanning process according to the detection results to ensure that the eye state of the object to be tested meets the preset scanning conditions, thereby improving the accuracy of medical images.
By real-time detection and adjustment of the eye status of the subject to be tested, the accuracy of fMRI technology when acquiring medical images is improved, ensuring that scanning is continued only when the eye status meets the requirements.
Smart Images

Figure CN119564187A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical technology, and in particular to a method, apparatus, computer equipment and storage medium for acquiring medical images. Background Art
[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 humans to understand the mysteries of brain workings and the pathological basis of neuropsychiatric diseases. Therefore, fMRI technology can be used for scanning and imaging to obtain medical images.
[0003] However, the current method of using fMRI technology to scan and obtain medical images has the problem of low accuracy. Summary of the invention
[0004] Based on this, it is necessary to provide a medical image acquisition method, device, equipment, storage medium and program product to address the above technical problems, which can improve the accuracy of medical images obtained by scanning using fMRI technology.
[0005] In a first aspect, the present application provides a method for acquiring medical images, comprising:
[0006] Initiate magnetic resonance scanning on the subject to be tested;
[0007] Detecting whether the eye state of the subject to be tested meets the preset scanning conditions and generating a detection result;
[0008] The magnetic resonance scanning process is adjusted according to the detection result to obtain a brain medical image of the object to be detected.
[0009] In one embodiment, the detecting whether the eye state of the subject to be detected meets a preset scanning condition and generating a detection result includes:
[0010] Acquire an eye image of the subject to be tested by an image acquisition device;
[0011] Inputting the eye image of the subject to be tested into an eye detection model for detection to obtain the eye state of the subject to be tested;
[0012] According to the eye state of the object to be detected, it is determined whether the eye state of the object to be detected meets the preset scanning condition, and the detection result is generated.
[0013] In one embodiment, the preset scanning condition includes an eye-closed resting condition, the eye state includes an eye-open state or an eye-closed state, and determining whether the eye state of the subject to be tested satisfies the preset scanning condition according to the eye state of the subject to be tested includes:
[0014] If the eye state is the eye-closed state, determining that the eye state of the subject to be tested meets the eye-closed rest condition;
[0015] If the eye state is the eye-open state, it is determined that the eye state of the subject to be measured does not satisfy the eye-closed rest condition.
[0016] In one embodiment, the preset scanning condition includes an eye-open resting condition, the eye-open resting condition includes a first eye-open resting condition and a second eye-open resting condition, the eye state includes at least one of an eye-open state, an eye-closed state, and an eye movement state, and determining whether the eye state of the object to be tested meets the preset scanning condition according to the eye state of the object to be tested includes:
[0017] If the eye state is the eye-open state, determining that the eye state of the subject to be measured satisfies the first eye-open resting condition;
[0018] If the eye state is the eye-open state, then when the eye movement state meets the preset movement requirement, it is determined that the eye state of the subject to be measured meets the second eye-open resting condition; when the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject to be measured does not meet the second eye-open resting condition;
[0019] If the eye state is the eye-closed state, it is determined that the eye state of the subject to be measured does not satisfy the eye-open resting condition.
[0020] In one embodiment, determining whether the eye state of the subject to be tested meets the open-eye resting condition according to the eye movement state includes:
[0021] If the eye movement state meets the preset movement requirement, determining that the eye state of the subject to be tested meets the open-eye rest condition;
[0022] If the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject to be measured does not meet the open-eye rest condition.
[0023] In one embodiment, the preset scanning condition includes a task condition, the eye state includes an eye open / closed state, an eye movement state, and a line of sight change state, and determining whether the eye state of the subject to be tested meets the preset scanning condition according to the eye state of the subject to be tested includes:
[0024] If the eye opening and closing state is the eye opening state, then when the eye movement state meets the preset movement requirement, and the sight line change state meets the preset sight line change requirement, it is determined that the eye state of the object to be measured meets the task condition; when the eye movement state does not meet the preset movement requirement, or the sight line change state does not meet the preset sight line change requirement, it is determined that the eye state of the object to be measured does not meet the task condition;
[0025] If the eye opening and closing state is the eye closing state, it is determined that the eye state of the object to be tested does not meet the task condition.
[0026] In one embodiment, determining whether the eye state of the subject to be tested meets the task condition according to the eye movement state and the sight line change state includes:
[0027] If the eye movement state meets the preset movement requirement, and the sight line change state meets the preset sight line change requirement, then determining that the eye state of the subject to be tested meets the task condition;
[0028] If the eye movement state does not meet the preset movement requirement, or the sight line change state does not meet the preset sight line change requirement, it is determined that the eye state of the object to be measured does not meet the task condition.
[0029] In one embodiment, the adjusting the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the subject to be detected includes:
[0030] When the eye condition of the subject to be tested does not satisfy the preset scanning condition, the magnetic resonance imaging of the brain of the subject to be tested is suspended and a prompt message is output.
[0031] In one embodiment, the method further comprises:
[0032] If the rescan key command is responded, the magnetic resonance imaging of the object to be tested is performed again;
[0033] If the rescan key instruction is not responded to, the magnetic resonance imaging of the object to be detected continues after the prompt information is output for a preset time period, and a mark is added to the image for continued scanning.
[0034] In a second aspect, the present application also provides a medical image acquisition device, comprising:
[0035] A magnetic resonance scanning module, used to start magnetic resonance scanning of the object to be tested;
[0036] A detection module, used to detect whether the eye state of the object to be detected meets the preset scanning conditions and generate a detection result;
[0037] An adjustment module is used to adjust the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the object to be detected.
[0038] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first aspect are implemented.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.
[0040] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first aspect are implemented.
[0041] The above-mentioned medical image acquisition method, device, equipment, storage medium and program product start a magnetic resonance scan on the object to be tested; detect whether the eye state of the object to be tested meets the preset scanning conditions and generate a detection result; adjust the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the object to be tested. The present application can detect whether the eye state of the object to be tested meets the preset scanning conditions while performing a magnetic resonance scan, so that the magnetic resonance scanning process can be adjusted in real time according to the detection results to obtain a brain medical image of the object to be tested, and only when the eye state of the object to be tested meets the preset scanning conditions will the magnetic resonance imaging scan of the brain of the object to be tested not be suspended, so that it can ensure that when the eye state of the object to be tested meets the scanning requirements, the fMRI scan continues, and the accuracy of the medical image obtained by scanning using fMRI technology can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 is an internal structure diagram of a computer device in one embodiment;
[0044] Figure 2 is a schematic diagram of a flow chart of a method for acquiring medical images in one embodiment;
[0045] Figure 3 A schematic diagram of a detection step in an embodiment;
[0046] Figure 4 It is a flowchart of the eye state detection steps of closed-eye resting fMRI in one embodiment;
[0047] Figure 5 1 is a flow chart of the eye state detection steps of task-based fMRI in one embodiment;
[0048] Figure 6 is a flow chart of a method for acquiring medical images in another embodiment;
[0049] Figure 7 FIG. 4 is a structural block diagram of a medical image acquisition device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0052] In the description of the embodiments of the present application, the technical terms "first", "second", etc. 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 "multiple" is more than two, unless otherwise clearly and specifically defined.
[0053] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may 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 humans to understand the mysteries of brain workings and the pathological basis of neuropsychiatric diseases. Therefore, fMRI technology can be used for scanning and imaging to obtain medical images.
[0055] Among them, fMRI is carried out in a resting state or a task state. It should be noted that the resting state fMRI scan usually requires the subject to close his eyes or open his eyes to look at a specific target, that is, the resting state fMRI scan needs to be performed in one of the states of closing his eyes or opening his eyes to look at a specific target, and the resting state fMRI scan results are different when the subject is in the open and closed eyes state, 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 scan results are inaccurate; and the task state fMRI scan 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 carefully, the task state fMRI scan results are inaccurate.
[0056] However, there is currently no method to quantify or provide feedback on the eye state of the subject or the test subject during fMRI scanning, and if the subject's eye opening and closing state and the cooperation in the task state are ignored and only indiscriminate fMRI brain image analysis is performed, the accuracy of the brain image analysis results is difficult to guarantee. Therefore, the current method of using fMRI technology to scan and obtain medical images has the problem of low accuracy.
[0057] After introducing the background technology of the medical image acquisition method provided in the embodiment of the present application, the implementation environment involved in the medical image acquisition method provided in the embodiment of the present application will be briefly described below. The medical image acquisition method provided in the embodiment of the present application can be applied to Figure 1In the computer device shown. The computer device can be a terminal, or it can also be 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. Among them, 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. Among them, the processor of the computer device is used 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 the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement a method for acquiring medical images. The display unit of the computer device is used 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, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0058] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a 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 terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0059] In one embodiment, Figure 2 As shown, a method for obtaining medical images is provided, and the method is applied to Figure 1 The computer device in the example is used to illustrate, including the following steps:
[0060] S201, starting magnetic resonance scanning on the object to be measured.
[0061] Among them, the object to be tested refers to a subject who needs to undergo magnetic resonance scanning imaging. The magnetic resonance scanning process may include but is not limited to a functional magnetic resonance imaging scanning process, especially an MRI scanning scenario with an eye opening and closing requirement. In an embodiment of the present application, the computer device can start a magnetic resonance scan on the object to be tested at a fixed time; or, the computer device can start a magnetic resonance scan on the object to be tested upon receiving a start instruction sent by a terminal corresponding to the examiner. Of course, the embodiment of the present application does not limit the specific implementation method of starting the magnetic resonance scan.
[0062] S202, detecting whether the eye state of the object to be detected meets the preset scanning conditions, and generating a detection result.
[0063] The eye state of the subject to be tested may include but is not limited to at least one of the eye opening and closing state, eyeball movement state, and line of sight change state of the subject to be tested, and the preset scanning condition may include but is not limited to at least one of the preset eye opening and closing condition, the preset eyeball movement range, and the preset line of sight change range, and the preset scanning condition corresponds to the eye state of the subject to be tested. The detection result is used to indicate whether the eye state of the subject to be tested meets the preset scanning condition.
[0064] In an embodiment of the present application, optionally, the computer device can detect whether the eye opening and closing state of the object to be tested meets the preset eye opening and closing conditions, and / or, the computer device can detect whether the eye movement state of the object to be tested meets the preset eye movement range, and / or, the computer device can detect whether the line of sight change state of the object to be tested meets the preset line of sight change range, and generate a detection result.
[0065] Exemplarily, if only the open and closed eyes state of the object to be tested needs to be detected, then when the open and closed eyes state of the object to be tested meets the preset open and closed eyes condition, it can be determined that the detection result indicates that the eye state of the object to be tested meets the preset scanning condition; when the open and closed eyes state of the object to be tested does not meet the preset open and closed eyes condition, it can be determined that the detection result indicates that the eye state of the object to be tested does not meet the preset scanning condition. If it is necessary to detect the open and closed eyes state, eye movement state and line of sight change state of the object to be tested, then only when the open and closed eyes state of the object to be tested meets the preset open and closed eyes condition, and the eye movement state of the object to be tested meets the preset eye movement range, and the line of sight change state of the object to be tested meets the preset line of sight change range, can it be determined that the detection result indicates that the eye state of the object to be tested meets the preset scanning condition. In addition, the embodiments of the present application do not limit the detection order of the open and closed eyes state, the eye movement state and the line of sight change state.
[0066] It should be noted that the magnetic resonance scanning process and the process of detecting whether the eye condition of the object to be tested meets the preset scanning conditions are carried out simultaneously, that is, the embodiment of the present application can perform magnetic resonance scanning while detecting the eye condition of the object to be tested, so that the magnetic resonance scanning process can be adjusted in real time according to the detection results.
[0067] S203, adjusting the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the object to be detected.
[0068] In an embodiment of the present application, the computer device can adjust the magnetic resonance scanning process in real time according to the test results, so as to obtain a medical image of the brain of the subject to be tested. If the test results indicate that the eye state of the subject to be tested meets the preset scanning conditions, the computer device can continue to perform magnetic resonance imaging scans on the brain of the subject to be tested to obtain a medical image of the brain of the subject to be tested, so as to use the medical image of the brain of the subject to be tested to analyze the brain function of the subject to be tested. If the test results indicate that the eye state of the subject to be tested does not meet the preset scanning conditions, the computer device can send a prompt message to the terminal corresponding to the examiner, so that the examiner can determine whether to continue to perform magnetic resonance scanning on the subject to be tested.
[0069] Exemplarily, if only the open and closed eyes state of the subject to be tested needs to be detected, then when the open and closed eyes state of the subject to be tested meets the preset open and closed eyes condition, it means that the eye state of the subject to be tested meets the preset scanning condition. At this time, the computer device can continue to perform magnetic resonance imaging on the brain of the subject to be tested to obtain a medical image of the brain of the subject to be tested. If it is necessary to detect the open and closed eyes state, eye movement state and line of sight change state of the subject to be tested, only when the open and closed eyes state of the subject to be tested meets the preset open and closed eyes condition, and the eye movement state of the subject to be tested meets the preset eye movement range, and the line of sight change state of the subject to be tested meets the preset line of sight change range, it means that the eye state of the subject to be tested meets the preset scanning condition. At this time, the computer device can continue to perform magnetic resonance imaging on the brain of the subject to be tested to obtain a medical image of the brain of the subject to be tested. Among them, magnetic resonance imaging can be a resting state fMRI or a task state fMRI.
[0070] In the above-mentioned method for acquiring medical images, a magnetic resonance scan is started on the object to be tested; whether the eye state of the object to be tested meets the preset scanning conditions is detected to generate a detection result; and the magnetic resonance scanning process is adjusted according to the detection result to obtain a medical image of the brain of the object to be tested. The present application can detect whether the eye state of the object to be tested meets the preset scanning conditions while performing a magnetic resonance scan, thereby being able to adjust the magnetic resonance scanning process in real time according to the detection result to obtain a medical image of the brain of the object to be tested, and only when the eye state of the object to be tested meets the preset scanning conditions will the magnetic resonance imaging scan of the brain of the object to be tested not be suspended, so that it can be ensured that when the eye state of the object to be tested meets the scanning requirements, the fMRI scan will continue, and the accuracy of the medical image obtained by scanning using fMRI technology can be improved.
[0071] In one embodiment, a method for implementing detecting whether the eye state of the object to be detected meets the preset scanning condition is provided, that is, the above-mentioned "detecting whether the eye state of the object to be detected meets the preset scanning condition and generating a detection result" in S201. Figure 3 As shown, including:
[0072] S301, acquiring an eye image of a subject to be tested by an image acquisition device.
[0073] S302: Input the eye image of the object to be tested into the eye detection model for detection to obtain the eye state of the object to be tested.
[0074] In an embodiment of the present application, after the subject to be tested lies on the magnetic resonance scanning bed, the computer device can capture the facial image of the subject to be tested through a camera compatible with the image acquisition device before starting a new scan, and determine the eye image of the subject to be tested from the facial image of the subject to be tested. At this time, the eye image of the subject to be tested can be detected, and the scan will only be started if it is detected that the eye image of the subject to be tested meets the preset scanning conditions. And, in the process of officially starting the magnetic resonance scanning, the computer device can also capture the facial image of the subject to be tested through a camera compatible with the image acquisition device, and determine the eye image of the subject to be tested from the facial image of the subject to be tested. At this time, the eye image of the subject to be tested can be detected in real time, that is, the magnetic resonance scanning can be performed while detecting whether the eye state of the subject to be tested meets the preset scanning conditions. In addition, the computer device can also pre-acquire an eye detection model, wherein the eye detection model may include but is not limited to at least one of an eyes open and closed detection model, an eye movement detection model, and a line of sight change detection model. The eyes open and closed detection model is used to detect whether the eye state of the object to be tested is an open eye state or a closed eye state. The eye movement detection model is used to detect the eye movement state of the object to be tested, and the eye movement state can be represented by the eye movement amount or the pupil position change amount. The line of sight change detection model is used to detect the line of sight change state of the object to be tested, and the line of sight change state can be represented by the line of sight change amount.
[0075] Thus, the computer device can input the eye image of the object to be tested into the eye detection model for detection, and obtain the eye state of the object to be tested. Optionally, if the eye detection model only includes an open and closed eye detection model, the computer device can input the eye image of the object to be tested into the open and closed eye detection model for detection, and obtain the eye state of the object to be tested. At this time, the eye state of the object to be tested is an open eye state or a closed eye state. If the eye detection model includes an open and closed eye detection model, an eye movement detection model, and a line of sight change detection model, the computer device can input the eye image of the object to be tested into the open and closed eye detection model, the eye movement detection model, and the line of sight change detection model for detection, and obtain the eye state of the object to be tested. At this time, the eye state of the object to be tested is an open eye state or a closed eye state, the eye movement state of the object to be tested, and the line of sight change state of the object to be tested. In addition, the embodiment of the present application does not limit the order in which the eye image is input into the open and closed eye detection model, the eye movement detection model, and the line of sight change detection model.
[0076] S303, determining whether the eye state of the object to be tested meets a preset scanning condition according to the eye state of the object to be tested, and generating a detection result.
[0077] In the embodiment of the present application, optionally, if the eye detection model only includes an eye opening and closing detection model, the computer device can determine whether the eye state of the object to be tested meets the preset scanning condition according to the eye opening state or eye closing state of the object to be tested, that is, it can be understood that when the eye opening state or eye closing state of the object to be tested meets the preset eye opening and closing condition, it can be determined that the detection result indicates that the eye state of the object to be tested meets the preset scanning condition. Alternatively, if the eye detection model includes an eye opening and closing detection model, an eye movement detection model, and a line of sight change detection model, the computer device can determine whether the eye state of the object to be tested meets the preset scanning condition according to the eye opening state or eye closing state of the object to be tested, the eye movement state of the object to be tested, and the line of sight change state of the object to be tested, that is, it can be understood that when the eye opening state or eye closing state of the object to be tested meets the preset eye opening and closing condition, and the eye movement state of the object to be tested meets the preset eye movement range, and the line of sight change state of the object to be tested meets the preset line of sight change range, it can be determined that the detection result indicates that the eye state of the object to be tested meets the preset scanning condition.
[0078] In this embodiment, the eye image of the object to be tested can be captured by an image acquisition device, and the eye image of the object to be tested can be input into an eye detection model for detection to obtain the accurate eye state of the object to be tested; thereby, it is possible to accurately determine whether the eye state of the object to be tested meets the preset scanning conditions based on the accurate eye state of the object to be tested.
[0079] In one embodiment, the preset scanning condition includes an eye-closed resting condition, and the eye state includes an eye-open state or an eye-closed state. An implementation method for determining whether the eye state of the subject to be tested meets the preset scanning condition is provided, that is, the “determining whether the eye state of the subject to be tested meets the preset scanning condition according to the eye state of the subject to be tested” in the above S303 includes:
[0080] If the eye state is the eye-closed state, it is determined that the eye state of the subject to be measured meets the eye-closed rest condition.
[0081] If the eye state is the open eye state, it is determined that the eye state of the subject to be tested does not meet the closed eye rest condition.
[0082] In the embodiment of the present application, if the preset scanning conditions include the eyes-closed resting condition, that is, the eyes-closed resting fMRI process in which the experimenter instructs the subject to close his eyes throughout the whole process, in the eyes-closed resting fMRI scanning scenario, only when the subject to be tested is in the eyes-closed state, the accuracy of the scanned brain medical image is higher. At this time, the eye state includes the eyes-open state or the eyes-closed state, and the computer device can determine whether the eye state of the subject to be tested meets the preset scanning conditions according to the eyes-open state or the eyes-closed state of the subject to be tested, which can be specifically: if the eye state of the subject to be tested is the eyes-closed state, it can be determined that the eye state of the subject to be tested meets the eyes-closed resting condition; if the eye state of the subject to be tested is the eyes-open state, it can be determined that the eye state of the subject to be tested does not meet the eyes-closed resting condition.
[0083] In this embodiment, if the eye state is the closed eye state, it is determined that the eye state of the subject to be tested meets the resting condition; if the eye state is the open eye state, it is determined that the eye state of the subject to be tested does not meet the resting condition. In this way, it is possible to accurately determine whether the eye state of the subject to be tested meets the closed eye resting condition based on whether the eye state of the subject to be tested is the closed eye state.
[0084] In one embodiment, the preset scanning condition includes an eye-open resting condition, the eye-open resting condition includes a first eye-open resting condition and a second eye-open resting condition, the eye state includes at least one of an eye-open state, an eye-closed state, and an eye movement state, and an implementation method for determining whether the eye state of the subject to be tested meets the preset scanning condition is provided, that is, the above S303 "determining whether the eye state of the subject to be tested meets the preset scanning condition according to the eye state of the subject to be tested" includes:
[0085] If the eye state is an open-eye state, it is determined that the eye state of the subject to be measured meets a 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 to be measured meets the second open eye rest condition according to the eye movement state.
[0087] If the eye state is the eye-closed state, it is determined that the eye state of the subject to be measured does not meet the eye-open resting condition.
[0088] In the embodiment of the present application, if the preset scanning conditions include an eyes-open resting condition, the eyes-open resting condition includes a first eyes-open resting condition and a second eyes-open resting condition, that is, the first eyes-open resting condition corresponds to the eyes-open resting fMRI process in which the experimenter instructs the subject to only open his eyes during the entire resting scan process. At this time, only when the subject to be tested is in the eyes-open state, the accuracy of the brain medical image obtained by scanning is higher. For the eyes-open resting fMRI process with only eyes open, if the eye state of the subject to be tested is the eyes-open state at this time, it can be directly determined that the eye state of the subject to be tested meets the first eyes-open resting condition.
[0089] The second eyes-open resting condition corresponds to the eyes-open resting fMRI process in which the experimenter instructs the subject to open his eyes and annotate a specific target throughout the resting-state scan. At this time, only when the subject is in the eyes-open state and staring at the specific target, the accuracy of the scanned brain medical image is higher. For the eyes-open resting fMRI process with eyes-open and staring at a specific target, if the eye state of the subject is open at this time, it can be determined based on the eye movement state whether the eye state of the subject meets the second eyes-open resting condition. For example, the line of sight of the subject can be detected based on the eye movement state to determine whether the subject is staring at the specific target. If it is determined that the subject is staring at the specific target, it can be determined that the eye state of the subject meets the second eyes-open resting condition.
[0090] For an eyes-open resting fMRI scenario with only eyes open, or for an eyes-open resting fMRI scenario with eyes open and fixation on a specific target, if the eye state of the subject to be tested is eyes closed, it can be determined that the eye state of the subject to be tested not only does not meet the first eyes-open resting condition, but also does not meet the second eyes-open resting condition. For example, assuming that the examiner instructs the subject to open his eyes to annotate a specific target, such as a white or red cross in the center of a black screen background, throughout the eyes-open resting fMRI scan, and during the actual scan, the subject is in a closed eye state, or changes from an open eye state to a closed eye state due to drowsiness in the middle of the scan, it can be determined that the eye state of the subject to be tested does not meet the second eyes-open resting condition.
[0091] In one embodiment, determining whether the eye state of the subject to be tested meets the open-eye rest condition according to the eye movement state includes:
[0092] When the eye movement state meets the preset movement requirement, it is determined that the eye state of the subject to be measured meets the second open-eye rest condition.
[0093] When the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject to be measured does not meet the second open-eye rest condition.
[0094] In the embodiment of the present application, if the eye state of the subject to be tested is an open eye state, it means that the eyes of the subject to be tested are in an open state, and the computer device can continue to determine whether the eye movement state of the subject to be tested meets the preset movement requirements to determine whether the subject to be tested has opened its eyes to annotate specific targets during the entire process of resting state scanning. Among them, if the eye movement amount of the subject to be tested is within the preset eye movement range, it means that the eye movement state of the subject to be tested meets the preset movement requirements.
[0095] Optionally, if the eye movement state of the subject to be tested meets the preset movement requirements, it can be determined that the eye state of the subject to be tested meets the second eyes-open rest condition, which means that the subject to be tested is annotating a specific target with eyes open at the current detection moment; if the eye movement state of the subject to be tested does not meet the preset movement requirements, it can be determined that the eye state of the subject to be tested does not meet the second eyes-open rest condition, which means that although the subject to be tested has eyes open at the current detection moment, it has not annotated a specific target.
[0096] In this embodiment, if the eye state is an open eye state, it is determined that the eye state of the subject to be tested meets the first open eye resting condition; if the eye state is an open eye state, it is determined whether the eye state of the subject to be tested meets the second open eye resting condition according to the eyeball movement state; if the eye state is a closed eye state, it is determined that the eye state of the subject to be tested does not meet the open eye resting condition. In this way, it is possible to accurately determine whether the eye state of the subject to be tested meets the open eye resting condition according to whether the subject to be tested is staring at a specific target with open eyes.
[0097] In one embodiment, the preset scanning conditions include task conditions, the eye states include eye open / closed states, eye movement states, and line of sight change states, and a method for determining whether the eye state of the subject to be tested meets the preset scanning conditions is provided, that is, the “determining whether the eye state of the subject to be tested meets the preset scanning conditions according to the eye state of the subject to be tested” in the above S303 includes:
[0098] If the eye opening and closing state is the eye opening state, then it is determined whether the eye state of the subject to be tested meets the task conditions according to the eye movement state and the line of sight change state.
[0099] If the eye opening and closing state is the eye closing state, it is determined that the eye state of the subject to be tested does not meet the task condition.
[0100] In the embodiment of the present application, if the preset scanning conditions include task conditions, that is, the task-state fMRI process in which the experimenter instructs the subject to open his eyes to watch a specific stimulus, in the scene of the task-state fMRI scanning, only when the subject to be tested cooperates seriously with the task experiment, the accuracy of the scanned brain medical image 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, and the eye opening and closing state includes the eye opening state or the eye closing state. Based on this, the computer device can determine whether the eye state of the subject to be tested meets the preset scanning conditions according to the eye opening state or the eye closing state of the subject to be tested, the eye movement state of the subject to be tested and the line of sight change state of the subject to be tested. Thus, if it is determined that the eye state of the subject to be tested meets the preset scanning conditions, it means that the subject to be tested is cooperating seriously with the task experiment at the current detection moment. At this time, continuing the magnetic resonance scanning can obtain a brain medical image with high accuracy. Among them, the task experiment can include but is not limited to watching stimulation, etc.
[0101] Exemplarily, if the eye opening and closing state of the subject to be tested is an open state, it means that the eyes of the subject to be tested are in an open state, and it is possible to continue to determine whether the subject to be tested is cooperating seriously in the task experiment based on the eye movement state and the line of sight change state of the subject to be tested, and to determine whether the eye state of the subject to be tested meets the task conditions; if the eye opening and closing state of the subject to be tested is a closed state, it means that the eyes of the subject to be tested are in a closed state, and it is possible to directly determine that the subject to be tested cannot cooperate seriously in the task experiment, and it is possible to determine that the eye state of the subject to be tested does not meet the task conditions. It should be noted that the focus of the embodiments of the present application is to determine whether the subject to be tested is cooperating seriously in the task experiment based on the eye state, and it is not concerned with determining the degree of cooperation of the subject to be tested based on the action feedback of the subject to be tested.
[0102] In one embodiment, determining whether the eye state of the subject to be tested meets the task conditions according to the eye movement state and the sight line change state includes:
[0103] When the eye movement state meets the preset movement requirements and the sight line change state meets the preset sight line change requirements, it is determined that the eye state of the object to be measured meets the task conditions.
[0104] When the eye movement state does not meet the preset movement requirement, or the sight line change state does not meet the preset sight line change requirement, it is determined that the eye state of the subject to be measured does not meet the task condition.
[0105] In the embodiment of the present application, if the eye opening and closing state of the subject to be tested is the open eye state, it means that the eyes of the subject to be tested are in the open state, and the computer device can continue to determine whether the eye movement state of the subject to be tested meets the preset movement requirements, and determine whether the line of sight change state of the subject to be tested meets the preset line of sight change requirements, so as to judge whether the subject to be tested is cooperating seriously in the task experiment. Among them, if the eye movement amount of the subject to be tested is within the preset eye movement range, it means that the eye movement state of the subject to be tested meets the preset movement requirements; if the line of sight change amount of the subject to be tested is within the preset line of sight change range, it means that the line of sight change state of the subject to be tested meets the preset line of sight change requirements.
[0106] Optionally, if the eye movement state of the subject to be tested meets the preset movement requirements, and the line of sight change state of the subject to be tested meets the preset line of sight change requirements, it can be determined that the eye state of the subject to be tested meets the task conditions, which means that the subject to be tested is cooperating seriously with the task experiment at the current detection moment; if the eye movement state of the subject to be tested does not meet the preset movement requirements, or the line of sight change state of the subject to be tested does not meet the preset line of sight change requirements, it can be determined that the eye state of the subject to be tested does not meet the task conditions, which means that the subject to be tested is not cooperating seriously with the task experiment at the current detection moment.
[0107] For example, suppose the examiner asks the subject to be tested or the subject to open his eyes and watch certain specific stimuli, but the subject does not cooperate in performing the task, for example, the subject is in a resting state with eyes closed, or changes from an open state to a closed state due to sleepiness, or does not watch a specific target as required, then it means that the eye opening and closing state of the subject to be tested does not meet the eye-open state, or the eye movement state does not meet the preset movement requirements, or the line of sight change state of the subject to be tested does not meet the preset line of sight change requirements, then it can be determined that the eye state of the subject to be tested does not meet the task conditions.
[0108] In this embodiment, if the eye opening and closing state is the open eye state, then according to the eye movement state and the sight line change state, it is determined whether the eye state of the subject to be tested meets the task condition; if the eye opening and closing state is the closed eye state, then it is determined that the eye state of the subject to be tested does not meet the task condition. In this way, in the scene of the task state fMRI scanning, according to the accurate eye opening and closing state, eye movement state and sight line change state of the subject to be tested, it can be accurately determined whether the subject to be tested is cooperating seriously in the task experiment at the current detection moment.
[0109] In one embodiment, a method for outputting prompt information is provided, namely, the step of “adjusting the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the subject to be detected” in S203 above, including:
[0110] When the eye condition of the subject to be tested does not meet the preset scanning conditions, the magnetic resonance imaging of the brain of the subject to be tested is suspended and a prompt message is output.
[0111] In the embodiment of the present application, when the eye state of the subject to be tested does not meet the preset scanning conditions, the computer device can automatically pause the magnetic resonance imaging of the brain of the subject to be tested, and output a prompt message to the terminal corresponding to the main doctor. For example, a pop-up window prompt can be output to the terminal corresponding to the main doctor, and the pop-up window can be displayed, "The subject to be tested has XX action, the current scan has been paused, please tell the subject to be tested to perform XXX action, and then click to rescan", so that the computer device can detect whether the main doctor clicks the rescan button. If it is determined that the main doctor clicks the rescan button, the magnetic resonance imaging can be re-performed in response to the rescan button operation clicked by the main doctor; if it is determined that the main doctor does not click the rescan button, the magnetic resonance imaging can be continued after the pop-up window prompts the preset time period, and the image that continues to be scanned is marked to prompt the main doctor or the data analyst that the part of the marked medical image may have inaccurate problems. Among them, the preset time period can be specifically set according to the actual situation. For example, the preset time period can be 30 seconds. Of course, the embodiment of the present application does not limit the specific value of the preset time period.
[0112] In this embodiment, when the eye condition of the subject to be tested does not meet the preset scanning conditions, the magnetic resonance imaging of the brain of the subject to be tested can be suspended and a prompt message can be output, thereby ensuring that the fMRI scan will not be suspended only when the eye condition of the subject to be tested meets the scanning requirements, thereby improving the accuracy of medical images obtained by scanning using fMRI technology.
[0113] In one embodiment, a method for adding a mark to an image to be scanned continuously is provided, and the above-mentioned method for acquiring medical images further includes:
[0114] If the re-scan key command is responded to, the magnetic resonance imaging of the object to be measured is performed again.
[0115] If there is no response to the rescan key command, the magnetic resonance imaging of the object to be measured is continued after the prompt information is output for a preset time period, and a mark is added to the image that continues to be scanned.
[0116] In an embodiment of the present application, when the eye state of the subject to be tested does not meet the preset scanning conditions, the magnetic resonance imaging of the brain of the subject to be tested is suspended, and after the prompt information is output, the computer device can detect whether a rescan key command sent by the terminal corresponding to the examiner is received. If the rescan key command sent by the terminal corresponding to the examiner is received, it means that the examiner has clicked the rescan key, and the magnetic resonance imaging of the subject to be tested can be performed again in response to the rescan key command. If the rescan key command sent by the terminal corresponding to the examiner is not received, it means that the examiner has not clicked the rescan key, and the magnetic resonance imaging of the subject to be tested can be continued after the prompt information is output for a preset time period, and a mark is added to the image that continues to be scanned to remind the examiner or the data analyst that the part of the medical image with the mark added may be inaccurate.
[0117] In this embodiment, if the rescan key command is responded to, the magnetic resonance imaging of the subject to be tested is performed again; if the rescan key command is not responded to, the magnetic resonance imaging of the subject to be tested is continued after the prompt information is output for a preset time period, and a mark is added to the image that continues to be scanned. In this way, the main doctor or data analyst can know the changes in the eye state of the subject during the scanning imaging process during the subsequent image analysis, which can provide convenience for the main doctor or data analyst to perform image analysis later.
[0118] In an exemplary embodiment, Figure 4 As shown, Figure 4The flowchart of the eye state detection step of the closed-eye resting fMRI in one embodiment is as follows: S501, the computer device can detect the open-eye state or closed-eye state of the subject to be detected in real time, S502, thereby determining whether the eye state of the subject to be detected is the closed-eye state. S503, if it is determined that the eye state of the subject to be tested is an open state, it can be determined that the eye state of the subject to be tested does not meet the resting condition. At this time, the scan can be automatically paused, S504, and a prompt message can be output to the terminal corresponding to the examining doctor. For example, a pop-up prompt can be output, and the pop-up window displays "The subject to be tested has opened his eyes, the current scan has been paused, please tell the subject to be tested to close his eyes, and then click to rescan". Thus, S505, the computer device can detect whether the examining doctor clicks the rescan button, S506, if it is determined that the examining doctor clicks the rescan button, the magnetic resonance imaging can be re-performed in response to the rescan button operation clicked by the examining doctor; S507, if it is determined that the examining doctor did not click the rescan button, the magnetic resonance imaging can be continued after the preset time period in the pop-up prompt, and a mark can be added to the image that continues to be scanned to remind the examining doctor or the data analyst that the part of the medical image with the mark added may have inaccurate problems.
[0119] S508, if it is determined that the eye state of the subject to be tested is the closed eye state, it can be determined that the eye state of the subject to be tested meets the resting condition. At this time, magnetic resonance imaging can be performed on the brain of the subject to be tested to obtain a medical image of the brain of the subject to be tested. Afterwards, S509, the computer device can also continue to detect whether the closed eye state of the subject to be tested has changed to the open eye state. S510, if the closed eye state of the subject to be tested has not changed to the open eye state, that is, the eye state of the subject to be tested is still the closed eye state, magnetic resonance imaging can continue to be performed on the brain of the subject to be tested to obtain a medical image of the brain of the subject to be tested. S511, if the eye-closing state of the subject to be tested changes to the eye-opening state, a pop-up prompt can be output to the terminal corresponding to the examining doctor, and the pop-up window will display "The eye-opening and closing state of the subject to be tested has changed, please click to rescan or continue scanning. If rescanning is required, please communicate with the subject and click to rescan". Thus, S512, the computer device can detect whether the examining doctor clicks the rescan button. S513, if it is determined that the examining doctor clicks the rescan button, the magnetic resonance imaging can be re-performed in response to the rescan button operation clicked by the examining doctor; S514, if it is determined that the examining doctor did not click the rescan button or clicked to continue scanning, the magnetic resonance imaging can be continued after the preset time period in the pop-up prompt, or in response to the continue scanning button operation clicked by the examining doctor, and a mark is added to the image that continues to be scanned to remind the examining doctor that the part of the medical image with the mark added may be inaccurate.
[0120] In another exemplary embodiment, Figure 5 As shown, Figure 5 The flowchart of the eye state detection step of task-state fMRI in one embodiment is as follows: S601, the computer device can detect the open eye state or closed eye state of the subject to be detected in real time, S602, thereby determining whether the eye state of the subject to be detected is the closed eye state. S603, if it is determined that the eye state of the subject to be tested is a closed eye state, it can be determined that the eye state of the subject to be tested does not meet the task conditions. At this time, the scan can be automatically paused, S604, and a prompt message can be output to the terminal corresponding to the examining doctor. For example, a pop-up prompt can be output, and the pop-up window displays "The subject to be tested has closed eyes, the current scan has been paused, please tell the subject to be tested to open his eyes to look at the target, and then click to rescan". Thus, S605, the computer device can detect whether the examining doctor clicks the rescan button, S606, if it is determined that the examining doctor clicks the rescan button, the magnetic resonance imaging can be re-performed in response to the rescan button operation clicked by the examining doctor; S607, if it is determined that the examining doctor did not click the rescan button, the magnetic resonance imaging can be continued after the preset time period in the pop-up prompt, and a mark can be added to the image that continues to be scanned to remind the examining doctor or the data analyst that the part of the medical image with the mark added may have inaccurate problems.
[0121] S608, if it is determined that the eye state of the subject to be tested is an open eye state, the computer device can then detect whether the eye movement state of the subject to be tested meets the preset movement requirements, and detect whether the line of sight change state of the subject to be tested meets the preset line of sight change requirements, S609, if the eye movement state of the subject to be tested meets the preset movement requirements, and the line of sight change state of the subject to be tested meets the preset line of sight change requirements, then the brain of the subject to be tested can be subjected to magnetic resonance imaging to obtain a medical image of the brain of the subject to be tested. S610, if the eye movement state of the subject to be tested does not meet the preset movement requirements, or the line of sight change state of the subject to be tested does not meet the preset line of sight change requirements, then a pop-up window prompt can be output to the terminal corresponding to the examiner, and the pop-up window will display "The eye movement state of the subject to be tested does not meet the preset movement requirements, or the line of sight change state of the subject to be tested does not meet the preset line of sight change requirements, please click to terminate the scan or continue the scan. If rescanning is required, please click to terminate the scan first, and after communicating with the subject, click to rescan", thereby, S611, the computer device can detect whether the examiner clicks the terminate scan button key, S612, if it is determined that the examiner has clicked the stop scan button, the examiner can wait for the examiner to click the rescan button, and re-perform magnetic resonance imaging in response to the examiner's click of the rescan button; S613, if it is determined that the examiner has not clicked the stop scan button or clicked to continue scanning, the magnetic resonance imaging can be continued after a preset time period is prompted in the pop-up window, or in response to the examiner's click of the continue scan button, and a mark is added to the image that continues to be scanned to remind the examiner or the data analyst that the marked medical image may be inaccurate.
[0122] The above-mentioned method for acquiring medical images can help neuroscientists to quantify the cooperation of the subjects in the resting fMRI and task-state fMRI scanning process by detecting whether the eye state of the subject meets the preset scanning conditions, determining whether the subject follows the instructions to perform the scan with eyes closed or open, and whether the subject cooperates seriously to complete specific tasks, so as to improve the accuracy and reliability of the scanned medical images with minimal time loss, and control the authenticity and reliability of fMRI data from the source, so as to assist neuroscience researchers to conduct fMRI research better and more reliably, and obtain more reliable brain imaging data and analysis results. In addition, the detection of the subject's eye state during the resting fMRI and task-state fMRI scanning process can provide researchers in related fields with an objective eye state detection solution, and can determine whether to pause or restart the scan according to the changes in the eye state of the subject.
[0123] In one embodiment, a method for outputting prompt information is provided, such as Figure 6 As shown, the above-mentioned method for obtaining medical images also includes:
[0124] S304, obtaining a preset number of eye sample images; different eye sample images have different eye states.
[0125] S305: Train the neural network model according to the eye sample images to obtain an eye detection model.
[0126] Among them, the eye sample images refer to the eye sample images of the object to be detected in the magnetic resonance scanning scene. The eye sample images may include eye images in the open eye state, eye images in the closed eye state, eye images in different eye movement states, eye images in different line of sight change states and the annotation results of the eye images. It should be noted that the states of the eyes are different in different eye sample images.
[0127] In an embodiment of the present application, the computer device can collect facial images of each historical subject in advance through a camera compatible with the image acquisition device, and then identify the eye images of each historical subject from the facial images of each historical subject, and record the positions and ranges of changes of multiple key points such as the corners of the eyes and eyelids of each historical subject in the open and closed states, so as to obtain a preset number of eye sample images, wherein the preset number can be set according to actual needs, and the embodiment of the present application does not limit the preset number. Afterwards, the computer device can input the preset number of eye sample images into the neural network model for prediction to obtain sample prediction results, thereby calculating the loss function based on the sample prediction results and the annotation results of the eye images in the eye sample images, and adjusting the model parameters of the neural network model based on the loss function to obtain an eye detection model. Among them, the neural network model can include but is not limited to any one of a neural network model or a deep learning model.
[0128] In this embodiment, a preset number of eye sample images are obtained, wherein the eye states in different eye sample images are different; thus, 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 displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0130] Based on the same inventive concept, the embodiment of the present application also provides a medical image acquisition device for implementing the medical image acquisition method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more medical image acquisition device embodiments provided below can refer to the limitations of the medical image acquisition method above, and will not be repeated here.
[0131] In an exemplary embodiment, Figure 7 As shown, 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] A magnetic resonance scanning module 31, used to initiate magnetic resonance scanning of the object to be tested;
[0133] A detection module 32, used to detect whether the eye state of the object to be detected meets the preset scanning conditions and generate a detection result;
[0134] The adjustment module 33 is used to adjust the magnetic resonance scanning process according to the detection result to obtain the brain medical image of the object to be detected.
[0135] In one embodiment, the detection module 32 includes:
[0136] An acquisition unit, used for acquiring an eye image of a subject to be tested through an image acquisition device;
[0137] An eye state detection unit, used for inputting an eye image of the subject to be tested into an eye detection model for detection to obtain the eye state of the subject to be tested;
[0138] The determination unit is used to determine whether the eye state of the object to be detected meets the preset scanning conditions according to the eye state of the object to be detected, and generate a detection result.
[0139] In one embodiment, the preset scanning condition includes an eye-closed resting condition, the eye state includes an eye-open state or an eye-closed state, and the determining unit includes:
[0140] A first determining subunit is used to determine that the eye state of the subject to be tested meets the eye-closing rest condition if the eye state is the eye-closing state;
[0141] The second determining subunit is used to determine that the eye state of the subject to be tested does not meet the eye-closed rest condition if the eye state is an eye-open state.
[0142] In one embodiment, the preset scanning condition includes an eye-open resting condition, the eye-open resting condition includes a first eye-open resting condition and a second eye-open resting condition, the eye state includes at least one of an eye-open state, an eye-closed state, and an eye movement state, and the determining unit includes:
[0143] a third determining subunit, configured to determine, if the eye state is an open-eye state, that the eye state of the subject to be tested satisfies a first open-eye resting condition;
[0144] The fourth determination subunit is used for, if the eye state is an open eye state, determining that the eye state of the subject to be measured meets the second open eye rest condition when the eye movement state meets the preset movement requirement; and determining that the eye state of the subject to be measured does not meet the second open eye rest condition when the eye movement state does not meet the preset movement requirement;
[0145] The fifth determining subunit is used to determine that the eye state of the subject to be tested does not meet the eye-open resting condition if the eye state is the eye-closed state.
[0146] In one embodiment, the preset scanning conditions include task conditions, the eye states include eye opening and closing states, eye movement states, and sight line change states, and the determining unit includes:
[0147] a sixth determination subunit, for determining, if the eye opening and closing state is the eye opening state, that the eye state of the subject to be measured meets the task condition when the eye movement state meets the preset movement requirement and the sight line change state meets the preset sight line change requirement; and determining that the eye state of the subject to be measured does not meet the task condition when the eye movement state does not meet the preset movement requirement or the sight line change state does not meet the preset sight line change requirement;
[0148] The seventh determining subunit is used to determine that the eye state of the subject to be tested does not meet the task condition if the eye opening and closing state is the eye closing state.
[0149] In one embodiment, the adjustment module 33 includes:
[0150] The imaging pause unit is used to pause the magnetic resonance imaging of the brain of the subject to be tested and output a prompt message when the eye state of the subject to be tested does not meet the preset scanning conditions.
[0151] In one embodiment, the medical image acquisition device further includes:
[0152] A re-imaging module, used for re-performing magnetic resonance imaging on the object to be tested in response to a re-scan key command;
[0153] The continuing imaging module is used to continue to perform magnetic resonance imaging on the object to be measured after the prompt information is output for a preset time period if there is no response to the rescan key instruction, and to add a mark to the image that continues to be scanned.
[0154] Each module in the above-mentioned medical image acquisition device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0155] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 1 As shown. 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 used 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 the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for acquiring medical images is realized. The display unit of the computer device is used 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, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0156] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may 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, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0158] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0159] In one embodiment, a computer program product is provided, including a computer program, which implements 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0161] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0162] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for acquiring medical images, characterized in that: The method comprises: Initiate magnetic resonance scanning on the subject to be tested; Detecting whether the eye state of the subject to be tested meets the preset scanning conditions and generating a detection result; The magnetic resonance scanning process is adjusted according to the detection result to obtain a brain medical image of the object to be detected.
2. The method according to claim 1, characterized in that The detecting whether the eye state of the object to be detected meets the preset scanning condition and generating the detection result includes: Acquire an eye image of the subject to be tested by an image acquisition device; Inputting the eye image of the subject to be tested into an eye detection model for detection to obtain the eye state of the subject to be tested; According to the eye state of the object to be detected, it is determined whether the eye state of the object to be detected meets the preset scanning condition, and the detection result is generated.
3. The method according to claim 2, characterized in that The preset scanning condition includes an eye-closed resting condition, the eye state includes an eye-open state or an eye-closed state, and determining whether the eye state of the object to be measured satisfies the preset scanning condition according to the eye state of the object to be measured includes: If the eye state is the eye-closed state, determining that the eye state of the subject to be tested meets the eye-closed rest condition; If the eye state is the eye-open state, it is determined that the eye state of the subject to be measured does not satisfy the eye-closed rest condition.
4. The method according to claim 2, characterized in that: The preset scanning condition includes an eye-open resting condition, the eye-open resting condition includes a first eye-open resting condition and a second eye-open resting condition, the eye state includes at least one of an eye-open state, an eye-closed state, and an eye movement state, and determining whether the eye state of the object to be tested meets the preset scanning condition according to the eye state of the object to be tested includes: If the eye state is the eye-open state, determining that the eye state of the subject to be measured satisfies the first eye-open resting condition; If the eye state is the eye-open state, then when the eye movement state meets the preset movement requirement, it is determined that the eye state of the subject to be measured meets the second eye-open resting condition; when the eye movement state does not meet the preset movement requirement, it is determined that the eye state of the subject to be measured does not meet the second eye-open resting condition; If the eye state is the eye-closed state, it is determined that the eye state of the subject to be measured does not satisfy the eye-open resting condition.
5. The method according to claim 2, characterized in that: 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 determining whether the eye state of the object to be measured satisfies the preset scanning condition according to the eye state of the object to be measured includes: If the eye opening and closing state is the eye opening state, then when the eye movement state meets the preset movement requirement, and the sight line change state meets the preset sight line change requirement, it is determined that the eye state of the object to be measured meets the task condition; when the eye movement state does not meet the preset movement requirement, or the sight line change state does not meet the preset sight line change requirement, it is determined that the eye state of the object to be measured does not meet the task condition; If the eye opening and closing state is the eye closing state, it is determined that the eye state of the object to be tested does not meet the task condition.
6. The method according to any one of claims 1 to 5, characterized in that: The step of adjusting the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the subject to be detected includes: When the eye condition of the subject to be tested does not satisfy the preset scanning condition, the magnetic resonance imaging of the brain of the subject to be tested is suspended and a prompt message is output.
7. The method according to claim 6, characterized in that The method further comprises: If the rescan key command is responded, the magnetic resonance imaging of the object to be tested is performed again; If the rescan key instruction is not responded to, the magnetic resonance imaging of the object to be detected continues after the prompt information is output for a preset time period, and a mark is added to the image for continued scanning.
8. A medical image acquisition device, characterized in that: The device comprises: A magnetic resonance scanning module, used to start magnetic resonance scanning of the object to be tested; A detection module, used to detect whether the eye state of the object to be detected meets the preset scanning conditions and generate a detection result; An adjustment module is used to adjust the magnetic resonance scanning process according to the detection result to obtain a brain medical image of the object to be detected.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
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
Magnetic resonance scanning method and device, electronic equipment and computer readable storage medium
CN118319288A
Patient Motion Suppression During Medical Imaging
US20240264260A1
FMRI guided coma therapy optimization
WO2023227376A1