{"id":1512,"date":"2018-05-01T13:35:40","date_gmt":"2018-05-01T13:35:40","guid":{"rendered":"https:\/\/blogs.mathworks.com\/headlines\/?p=1512"},"modified":"2022-11-15T11:48:43","modified_gmt":"2022-11-15T16:48:43","slug":"machine-learning-to-the-rescue-when-you-just-cant-hold-still-for-an-mri","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/headlines\/2018\/05\/01\/machine-learning-to-the-rescue-when-you-just-cant-hold-still-for-an-mri\/","title":{"rendered":"Machine learning to the rescue &#8211;  When you just cannot hold still for an MRI"},"content":{"rendered":"<p>A magnetic resonance imaging (MRI) brain scan uses the body\u2019s natural magnetic properties and radio waves to produce detailed images of the\u00a0brain\u00a0and the\u00a0brain\u00a0stem. Since no radiation is used, it is a safer alternative for most than a computed tomography (CT) scan and provides more detailed images of the soft tissue.<\/p>\n<p>While MRIs are a powerful diagnostic tool for medical professionals, they are far from easy for the patients to endure. No, they are not painful. But they do require the patient to lie motionless with their head inserted in a large, somewhat noisy machine for up to an hour.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/headlines\/2018\/05\/01\/machine-learning-to-the-rescue-when-you-just-cant-hold-still-for-an-mri\/medical-scan-monitor-2\/\" rel=\"attachment wp-att-1532\"><img decoding=\"async\" loading=\"lazy\" width=\"350\" height=\"232\" class=\"alignnone size-full wp-image-1532\" src=\"https:\/\/blogs.mathworks.com\/headlines\/files\/2018\/05\/MRI-Brain-Scan-1.jpg\" alt=\"\" \/><\/a><\/p>\n<h2>Imagine holding completely still for 60 minutes<\/h2>\n<p>Now imagine keeping a wiggly toddler still for that long.<\/p>\n<p>To be fair, toddlers aren\u2019t the only ones to have trouble holding still for that long. It is difficult for almost anyone to remain completely still for an hour with their head inside an MRI scanner. For people with movement disorders, it can be downright impossible.<\/p>\n<p>The problem with MRIs is that any movement can blur the resulting images, compromising the quality of the data. And MRIs are expensive, costing thousands of dollars for each test.<\/p>\n<h2>Knowing exactly how much the patient squirms can help shorten MRI duration<\/h2>\n<p>MRI scans are lengthy, largely because the operators need to ensure that they capture enough quality data. But it\u2019s difficult for the operator to determine when they have acquired the needed data. It&#8217;s preferable to err on the side of too much data rather than risk the expense and time needed to retest a patient.<\/p>\n<p>Researchers from Washington University School of Medicine and the Oregon Health and Science University developed a suite of software that provides real-time statistics on head movement of patients in the MRI scanner. This lets the MRI scanner operators stop the scan as soon as they have enough low-movement images collected.<\/p>\n<p>The software is called Framewise Integrated Real-time MRI Monitoring (<a href=\"http:\/\/firmm.io\/\" target=\"_blank\" rel=\"noopener\">FIRMM<\/a>), and provides scanner operators with head-motion analytics in real time. The software monitors the patients\u2019 movements, and determines if they are \u201clow movers\u201d, \u201chigh movers\u201d, or that even trickier area to differentiate, \u201cmedium movers\u201d.<\/p>\n<h2>How it works<\/h2>\n<p>FIRMM&#8217;s components are the <a href=\"https:\/\/www.mathworks.com\/products\/compiler.html\" target=\"_blank\" rel=\"noopener\">compiled MATLAB<\/a> binary backend, shell scripts for\u00a0image processing, a Docker image containing\u00a0image processing software dependencies, and a Django web application front end. The compiled \u00a0<a href=\"https:\/\/www.mathworks.com\/products\/matlab.html\" target=\"_blank\" rel=\"noopener\">MATLAB<\/a> binary backend monitors an incoming folder waiting for a new subfolder that has the current date and contains images created within the last few minutes. The backend does shell script image processing only on new functional images.<\/p>\n<p>Image processing converts the echo planar imaging (EPI) to the standard DICOM format since it is standard for most scanner equipment and supports offline analysis. \u00a0To determine head movement, FIRMM uses a framewise displacement (FD) algorithm. A linear model is developed based on the FD concept which uses\u00a0machine learning algorithms\u00a0for predictions.<\/p>\n<h2>Machine learning helps cut MRI duration, and therefore costs<\/h2>\n<p>The researchers published the results of their study in <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S1053811917306729\" target=\"_blank\" rel=\"noopener\">ScienceDirect<\/a>, stating, \u201c\u00a0Our analyses show that using FIRMM to identify the ideal scan time for each person can reduce total\u00a0brain MRI scan\u00a0times and associated costs by 50% or more.\u201d<\/p>\n<p>50% less time to quality data. That means 50% less time in the MRI machine. This is great news for young patients, and, well, anyone that must endure an MRI. And a 50% reduction in cost is appreciated by all as well.<\/p>\n<p>According to <em><a href=\"https:\/\/analyticsindiamag.com\/machine-learning-enhances-brain-image-data-quality-in-mri-a-brief-overview\/\" target=\"_blank\" rel=\"noopener\">Analytics India<\/a>, <\/em>\u201c\u2026 real-time image data analysis using\u00a0machine learning\u00a0plays a crucial role in improving\u00a0data\u00a0quality \u2014\u00a0 in addition to reducing high costs incurred in MRIs.\u201d<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><!-- Featured Image From URL plugin --> <img decoding=\"async\" src=\"http:\/\/firmm.io\/img\/high_mover.gif\" alt=\"\" style=\"\"><\/div>\n<p>A magnetic resonance imaging (MRI) brain scan uses the body\u2019s natural magnetic properties and radio waves to produce detailed images of the\u00a0brain\u00a0and the\u00a0brain\u00a0stem. Since no radiation is used, it is&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/headlines\/2018\/05\/01\/machine-learning-to-the-rescue-when-you-just-cant-hold-still-for-an-mri\/\">read more >><\/a><\/p>\n","protected":false},"author":138,"featured_media":-1,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts\/1512"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/users\/138"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/comments?post=1512"}],"version-history":[{"count":12,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts\/1512\/revisions"}],"predecessor-version":[{"id":3699,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/posts\/1512\/revisions\/3699"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/media?parent=1512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/categories?post=1512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/headlines\/wp-json\/wp\/v2\/tags?post=1512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}