mrirecon / bart

BART: Toolbox for Computational Magnetic Resonance Imaging
https://mrirecon.github.io/bart/
BSD 3-Clause "New" or "Revised" License
291 stars 161 forks source link

WebAssemply Support #316

Closed ChristianToennes closed 1 year ago

ChristianToennes commented 1 year ago

Adds support for compiling BART to WebAssembly using emscripten. Adds examples for using the BART WebAssembly in a website. Changes to source:

The web examples are rudimentary (cmd.html most of the dimensions are unnamed bc. im unsure what they contain. 5 is coils?), and i haven't tried out every command/parameter combination.

uecker commented 1 year ago

Hi Christian,

thank you!

Two things: the binaries need to be removed (we can host them elsewhere if needed) or generate them automatically. Also please add the BSD copyright header with the copyright owner (presumably you) to new files or where you made major changes to existing files.

Martin

ChristianToennes commented 1 year ago

I have added BSD header and removed the binaries. But I found some mistakes in the documentation on how to compile everything. I will update that file today or tomorrow. EDIT: Updated.

uecker commented 1 year ago

I rebased the branch and merged it. So I am closing this here. Thank you very much! I will try to get it to compile myself...