mrsrl / mridata-recon Goto Github PK
View Code? Open in Web Editor NEWBasic reconstruction scripts for data uploaded to mridata.org
License: GNU General Public License v3.0
Basic reconstruction scripts for data uploaded to mridata.org
License: GNU General Public License v3.0
Hi,
on your README.md page, it points to an mridata.org dataset for which the recon_fse_2d.py script should work.
However, that link redirects to
http://mridata.org/list?project=Stanford%20Fullysampled%203D%20FSE%20Knees
Which is the 3D case as you can see.. So my next question is... assuming that there is a typo in the link. Do you also have a script to convert the 3D-FSE .h5 data to an image?
Also, why isnt there an easy setup.py script to install these pieces of code as a library that can be imported?
imageio error:
ValueError: Could not find a format to write the specified file in mode 'i'
In Windows:
FSE phase correction...
Transforming k-space data to image domain...
Writing files...
Writing example png...
Traceback (most recent call last):
File "D:\projects\mridata-recon-master\recon_2d_fse.py", line 265, in <module>
file_png=args.png, verbose=args.verbose)
File "D:\projects\mridata-recon-master\recon_2d_fse.py", line 247, in dataset_to_cfl
imageio.imwrite(file_png, image_out.astype(np.uint8))
File "C:\Program Files\Python35\lib\site-packages\imageio\core\functions.py", line 244, in imwrite
writer = get_writer(uri, format, 'i', **kwargs)
File "C:\Program Files\Python35\lib\site-packages\imageio\core\functions.py", line 170, in get_writer
'in mode %r' % mode)
ValueError: Could not find a format to write the specified file in mode 'i'
In Linux:
Transforming k-space data to image domain...
Writing files...
Writing example png...
Traceback (most recent call last):
File "/Data2/sruser/projects/mridata-recon-master/recon_2d_fse.py", line 265, in <module>
file_png=args.png, verbose=args.verbose)
File "/Data2/sruser/projects/mridata-recon-master/recon_2d_fse.py", line 247, in dataset_to_cfl
imageio.imwrite(file_png, image_out.astype(np.uint8))
File "/Data2/sruser/PycharmProjects/superres/venv/lib/python3.5/site-packages/imageio/core/functions.py", line 244, in imwrite
writer = get_writer(uri, format, 'i', **kwargs)
File "/Data2/sruser/PycharmProjects/superres/venv/lib/python3.5/site-packages/imageio/core/functions.py", line 170, in get_writer
'in mode %r' % mode)
ValueError: Could not find a format to write the specified file in mode 'i'
any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.