magnusdk / motion-mode-js

A toy project for visualizing "M-mode" ultrasound

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

motion-mode-js

A toy project for visualizing “M-mode” ultrasound along arbitrary scan lines chosen in real-time in the browser.

https://raw.githubusercontent.com/magnusdk/motion-mode-js/main/docs/media/demo.gif

The ultrasound video is taken from Wikipedia. It has a CC BY-SA 3.0 license, and this license applies to this project also.

What is this?

M-mode (motion-mode) ultrasound imaging is when we look at a single scan line and see how it changes over time. The result is an image where the x-axis represents time, and the y-axis represents pixels along the scan line. It let’s us see motion in a single still image.

This small project lets us select arbitrary scan lines to create m-mode images from.

The code has been tested and works in Safari 14 and Chrome 89.

About

A toy project for visualizing "M-mode" ultrasound


Languages

Language:JavaScript 74.3%Language:HTML 25.7%