How Does Corsmed’s MRI Simulator Work?

Introduction

Magnetic Resonance Imaging (MRI) is a crucial technology in modern medicine. By producing detailed images of organs and tissues, MRI helps doctors accurately diagnose a wide range of medical conditions.

However, the high cost and limited availability of MRI scanners makes it hard for students and technologists to gain hands-on training with real MRI equipment.

This training gap is what Corsmed’s online MRI simulator is designed to solve.

Accessible from any laptop, Corsmed’s simulator lets users practice MRI scanning in a virtual environment that closely mirrors a real MRI machine. Users can control the same settings, modify parameters, and view resulting images that accurately reflect those from a real scanner.

But how does Corsmed’s MRI simulator actually work?

How can a digital program replicate the complex processes of a physical MRI machine?

That is what this article answers. Below, we break down each step a real MRI scanner goes through to produce an image. And for each step, we explain how Corsmed is able to replicate all steps using the latest MRI simulation technology.

  • Step #1: Patient Enters the Scanner
  • Step #2: Protons Align to the Magnetic Field
  • Step #3: Pulse Sequences Are Applied and Signal Captured
  • Step #4: Data Is Processed and Image Reconstructed

Step #1: Patient Enters the Scanner

In Real MRI Scanner:

The first step of a real MRI scan is that a patient enters the scanner.

Depending on what body region needs to be imaged, the patient will be positioned differently in the scanner.

In Corsmed’s Simulator:

With Corsmed, there is obviously no physical patient.

Instead, the simulator uses a “digital patient” – an extremely detailed 3D model that mirrors the anatomy of a real human patient.

  • Every patient model consists of many types of “digital tissue”. For example, some of the many tissue types our brain model consists of are: grey matter, white matter, cerebrospinal fluid, fat, tissue around fat, muscles, skull, vessels, dura matter, and bone marrow.
  • Each type of digital tissue is imbued with their own magnetic properties – including T1, T2, T2* relaxation, and proton density. This enables the digital tissues to relax and emit radio waves just like real tissues do under various MRI sequences.
  • These digital tissues are then applied on a sub-millimeter basis to create an entire 3D replica of real human anatomy.

Just as images on the web are created from tiny 2D pixels, that each are assigned a different color, Corsmed’s patient models are created from tiny 3D pixels, that each are assigned a different tissue type.

These detailed 3D patient models allows Corsmed to simulate all the different types of MRI signals (e.g., T1 or T2-weighted) of a real patient – and with sub-millimeter detail.

Step #2: Protons Align to the Magnetic Field

In Real MRI:

MRI scanners are equipped with superconducting magnets that create a powerful magnetic field, usually at 1.5T or 3T.

Once the patient is positioned in the MRI scanner, the protons in the hydrogen atoms inside the body starts to align. Hydrogen protons – abundant in water and fat tissue in the body – naturally spin in random directions. But when the magnetic field is applied, these hydrogen atoms line up like tiny compass needles.

This alignment creates a baseline magnetization across the patient’s body, which sets the stage for generating the MRI signals used to make images.

To the left, protons are spinning in random directions. To the right, protons are aligned with the magnetic field.
Image Credit: MatLab One

In Corsmed’s Simulator:

Corsmed’s simulator replicates this initial alignment step by simulating a digital magnetic field. Users can choose field strengths of 0.25T, 0.31T, 0.4T, 0.55T, 1.5T or 3T.

Every voxel (3D pixel) in the simulator’s “digital patient” model represents a tiny region of tissue, with embedded hydrogen atoms.

These atoms are programmed to respond to the virtual magnetic field, aligning similarly to what would happen in a real MRI scanner.

Step #3: Pulse Sequence Is Applied and Signals  are Captured

In Real MRI:

Once the protons are aligned, the MRI scanner sends carefully timed radiofrequency (RF) pulses into the body. These RF pulses excite the protons so that they “tip” away from the magnetic field alignment.

When the RF pulse stops, the protons gradually relax back to their original position, releasing this energy as radio waves. These signals are captured by the MRI scanner and used as the raw data to create images.

RF pulses determine how much energy is released, but not where it’s released from. Without location data, the MRI would produce a general signal but no clear map of the body.

Gradient pulses solve this by adding controlled variations in the magnetic field across the body. These variations give each area’s protons a unique frequency or phase, allowing the MRI to identify the exact origin of each signal.

By combining RF pulses (for signal generation) with gradient pulses (for location tagging), MRI can create highly detailed, location-specific images, like T1- or T2-weighted scans, that highlight specific tissues and conditions.

In Corsmed’s Simulator:

Corsmed’s simulator recreates pulse sequences and proton responses digitally, using sophisticated math and compute processing that mimic real MRI physics.

This is done in two steps:

Step 1: Protons’ responses to the pulse sequence are simulated using Bloch equations:

Bloch equations are a set of mathematical equations that describe how protons excite and relax in response to magnetic fields and RF energy.

Since each voxel (a 3D pixel of tissue) in the simulator is assigned magnetic properties like T1 and T2 relaxation times, these equations can model the physics of MRI in astonishing detail.

Bloch equations allow Corsmed to replicate all the key stages of the MRI process, including:

  1. Excitation of protons as they absorb energy from the RF pulses
  2. Spatial encoding of protons via the gradient pulses, and
  3. RF signal emission from protons as they relax back to realignment.

The animation below illustrates a Bloch equation graph that simulates how a proton – excited with RF energy – relaxes back to alignment. The proton precesses (wobbles) around the direction of the magnetic field as it realigns.

Animated graph (GIF) how a proton spins as it relaxes and relaigns back with the magnetic field.
Image credit: Wikipedia

When protons instead are excited with RF pulses, their spin will travel in the opposite path as shown in this simulation.

Corsmed uses Bloch equations to manage an incredible volume of calculations. This includes simulating:

  1. Millions of hydrogen atom spins,
  2. Within millions of voxels in the model, and
  3. For all the thousands of time steps in the sequence.

Step 2: GPU parallel processing is used to speed up the simulation:

Solving Bloch equations is an extremely difficult task. Even simple ones require a massive amount of compute power.

To speed up the simulations, Corsmed uses massively parallel GPUs (Graphics Processing Units) to handle these calculations for millions of voxels at once. Normal CPUs (Central Processing Units), in contrast, can only work on a handful calculations at once.

Simulations that would have taken 30 minutes – or even several hours – can thus be done in a few seconds.

In fact, pulse sequences on Corsmed’s simulator return images up to 10X faster than real scanners. This near-instant feedback allows users to get far more practice than they ever could on a real MRI machine.

How much compute power does Corsmed use to simulate a realistic MRI scan?

To produce an image near instantly, even the simplest MRI sequences require many trillions (1012) of operations per second. (1 trillion calculations per second is called a “TeraFlop”).

The more advanced MRI sequences can consume many hundreds of TeraFlops of compute power.

So how much is 100 TeraFlops? It’s enough to:

  • Navigate 160 SpaceX Falcon 9 rocket launches at the same time. 1

    A SpaceX Falcon 9 rocket launch
    Image Credit: WFTV
  • Power 8 high-fidelity flight simulators simultaneously. 2

    Flight simulator cockpit
    Image Credit: Air Facts
  • Generate virtual environments for 110 VR headsets. 3

    Girl wearing VR headset and walking in a VR world
  • Simulate the traffic of all the cars in Los Angeles in real time – 128 times over. 4

    Los Angeles traffic seen from above
    Image Credit: Bernard Marr & Co.

This is how much compute power Corsmed uses to ensure the highest degree of accuracy in its MRI simulations – while producing images in mere seconds.

Step #4: Data Is Processed and Image Reconstructed

In Real MRI:

After the RF signals are acquired, they’re mapped into a unique data format called k-space, which stores the raw data representing the scanned anatomy. In k-space, signals are arranged in a grid based on their frequency and phase, rather than in a recognizable image format.

To transform this frequency-based data into a visual DICOM image, MRI scanners use a mathematical process called the Fourier Transform.

To the left, a k-space frequency grid. To the right, the resulting image reconstructed from the k-space.
Image credit: Questions and Answers in MRI

In Corsmed’s Simulator:

Corsmed’s simulator performs the same data processing and image reconstruction. But it uses GPU processing in the cloud without the need for any scanner-specific hardware.

Using a cluster of GPUs, the simulator rapidly maps every voxel's frequency and phase data into k-space. It then performs the Fourier Transform just as a real scanner to reconstruct the signals into a final DICOM image.

Step-by-Step Summary: How Corsmed Replicates the MRI Process

This table summarizes the 5 core steps in MRI scanning, and compares how they’re performed on a real scanner vs in Corsmed’s virtual simulation:

Step In a Real MRI Scanner In Corsmed’s MRI Simulator
1. Patient Enters the Scanner Patient physically enters the scanner, positioned based on the body part to be imaged. Uses a “digital patient”, created from digital tissues that mimic the magnetic and relaxation properties of real tissue. The tissues are applied on a sub-millimeter basis over every voxel (3D pixel) in the model.
2. Protons Align to Magnetic Field Superconducting magnets align hydrogen protons in the body to create a baseline magnetization. A magnetic field is digitally simulated (0.25T-3T) to align hydrogen protons in each voxel, mirroring real tissue behavior.
3. Pulse Sequence Is Applied and Signal Captured RF pulses excite protons, and gradient pulses encode spatial location. Signals are captured to create raw data for imaging. Protons’ responses to the pulse sequence are simulated using Bloch equations. GPUs are used to massively speed up the simulations across millions of voxels.
4. Data Is Processed and Image Reconstructed Scanner-specific hardware is used to process raw k-space data and perform the Fourier Transform for image reconstruction. Cloud-based GPU clusters are used to process raw k-space data and perform the Fourier Transform.

Conclusion: Can Corsmed Reproduce Real-World MRI Image Quality?

The answer is "yes".

Corsmed can accurately reflect the output of a real scanner, because it follows the exact same MRI physics and steps as a real scanner.

Furthermore, it simulates every step with extreme realistic accuracy. Including:

  1. Using digital patient models with sub-millimeter 3D detail.
  2. Simulating millions of hydrogen atom spins, within millions of voxels (3D pixel), for every time step.
  3. Using enough compute power to simulate one advanced pulse sequence as it takes to navigate 160 Falcon 9 rocket launches simultaneously.

This is how every user input can be captured in the resulting image, including details like anatomy, resolution, SNR, scan time, contrast, SAR, and artifacts.

Whatever you modify — parameters, slices, or settings — the simulator reflects in the image.

For example, if you change the slice angle from 0° to 20° in a brain protocol, the image will adjust as illustrated below:

To the left, a slice planning of a brain scan angled at 0°. To the right, the resulting brain MRI image.
To the left, a slice planning of a brain scan angled at 20°. To the right, the resulting brain MRI image.

You could also plan the slices at an extreme oblique angle — even an angle you would never do in real scan — and the simulator will accurately reflect that too.

To the left, an oblique slice planning of a brain scan, which you never to in real life. To the right, the resulting brain MRI image, which looks messed-up.

This responsiveness to every input is possible because Corsmed’s simulator creates every image from scratch, following the exact same MRI physics and steps as a real scanner.

And since everything happens in the cloud, you can train on the simulator 24/7, just like using any ordinary web app. Corsmed becomes like a personal MRI scanner on your laptop.

Each pulse sequence also returns an image up to 10X faster than on a real scanner – allowing you to get far more effective practice in the same amount of time.

That is why leading MRI colleges and hospitals use Corsmed to educate their students and upskill their MRI technologists, including:

  • NHS (National Health Services in UK)
  • London Imaging Academy
  • CNI College
  • British Columbia Institute of Technology
  • Gurnick Academy
  • City, University of London

Want to learn more about how Corsmed can enhance your MRI education or training program?

Book a free consultation with one of our experts today, and discover how Corsmed can help you take your MRI skills to the next level.


Sources

(1) 100 TeraFlops navigating 160 SpaceX's Falcon 9 rocket launches

How Many SpaceX's Falcon 9 Rocket Launches Could be Navigated by 100 TeraFlops?

To determine how many Falcon 9 rockets could be navigated by 100 TeraFlops, we will break down the calculations step by step.

Step 1: Determining the Computational Power of a Single Falcon 9 Processor

Each Falcon 9 rocket is equipped with 3 dual-core x86 processors (source).

Modern high-performance dual-core x86 processors can achieve approximately 50 to 100 GigaFlops (GFLOPS) per core (source).

Lower Estimate: 50 GFLOPS/core × 2 cores = 100 GFLOPS

Higher Estimate: 100 GFLOPS/core × 2 cores = 200 GFLOPS

Step 2: Calculating Total Computational Power for the Falcon 9 Rocket

Each Falcon 9 rocket has three dual-core processors:

Lower Estimate: 100 GFLOPS/processor × 3 processors = 300 GFLOPS

Higher Estimate: 200 GFLOPS/processor × 3 processors = 600 GFLOPS

A Falcon 9 rocket’s computational capacity ranges from 300 GFLOPS to 600 GFLOPS.

Step 3: Handling Multiple Rocket Launches with 100 TeraFlops of Compute Power

1 TeraFlop = 1,000 GFLOPS. Therefore, 100 TeraFlops = 100,000 GFLOPS.

Lower Estimate: 100,000 GFLOPS ÷ 300 GFLOPS = 333 rockets

Higher Estimate: 100,000 GFLOPS ÷ 600 GFLOPS = 167 rockets

Conclusion

100 TeraFlops of computational power could handle 167 to 333 Falcon 9 rocket launches, depending on processor performance.

(2) 100 TeraFlops powering 8 high-fidelity flight simulators simultaneously

How Many HD Flight Simulators Could 100 TeraFlops Power?

To estimate how many HD flight simulators 100 TeraFlops could power, we use Microsoft Flight Simulator 2020 as our benchmark.

Step 1: Determine GPU Performance in TeraFlops

A high-performance GPU, like the Nvidia RTX 3090, delivers approximately 35 TeraFlops (source).

Step 2: Simulator Demands

One RTX 3090 can handle 3 concurrent HD simulators at 1080p Ultra settings based on reduced computational demands at lower resolutions.

Step 3: Calculate GPUs in 100 TeraFlops

100 TeraFlops ÷ 35 TeraFlops/GPU ≈ 2.86 GPUs.

Step 4: Determine Total Simulators

2.86 GPUs × 3 simulators/GPU ≈ 8 simulators.

Conclusion

100 TeraFlops can realistically power 8 HD flight simulators.

(3) 100 TeraFlops generating virtual environments for 110 VR headsets

How Many VR Headset Environments Could 100 TeraFlops Generate?

To determine how many Meta Quest 2 VR headsets 100 TeraFlops could support, we break down the calculations step by step.

Step 1: Compute Power of a Single Meta Quest 2 Headset

The Meta Quest 2 uses an Adreno 650 GPU, delivering up to 902 GigaFlops (GFLOPS) (source).

1 TFLOP = 1,000 GFLOPS, so one headset provides 0.902 TFLOPS.

Step 2: Convert 100 TeraFlops to GFLOPS

100 TFLOPS × 1,000 GFLOPS/TFLOP = 100,000 GFLOPS.

Step 3: Calculate the Number of Headsets

100,000 GFLOPS ÷ 902 GFLOPS/headset ≈ 111 headsets.

Conclusion

100 TeraFlops could generate virtual environments for more than 110 VR headsets.

(4) 100 TeraFlops simulating Los Angeles' traffic 128 times over

Can 100 TeraFlops Simulate Los Angeles Traffic 128 Times Over?

To assess the potential of 100 TeraFlops for simulating traffic systems, let’s analyze the computational requirements for Los Angeles.

Computational Requirements

Los Angeles has 7.8 million registered vehicles (source).

Each vehicle requires 10,000 floating-point operations per time step for real-time simulation.

For 7.8 million vehicles at 10 time steps per second, total operations = 780 billion operations/second = 0.78 TeraFlops.

Comparing with 100 TeraFlops

100 TeraFlops ÷ 0.78 TeraFlops/city ≈ 128 simulations.

Conclusion

100 TeraFlops could simulate Los Angeles' traffic 128 times simultaneously in real-time.

Source 1

Content

Source 2

Content

Source 3

Content

Source 4

Content