perklab / slicermatlabbridge Goto Github PK
View Code? Open in Web Editor NEWMatlabBridge extension for 3D Slicer
MatlabBridge extension for 3D Slicer
The Matlab compiler allows building of an executable that can run Matlab modules (it just has to contain the commandserver .m files and all the custom algorithm .m files).
A helper tool could be developed to make the MCR package generation completely automatic.
Some changes would be needed in the MatlabCommander to support using multiple different MCR packages at the same (each package should run and communicate independently on different IP ports).
Module generation
Module execution
Parameter reading/writing
When an image is loaded using the MatlabBridge, currently IJKtoRAS information is stored in two places:
The field in img.metaData is not used, just left there, so remove it, and just keep the img.ijkToLpsTransform (and make sure the field is created in the written file)
Maybe also add an example describing how to get the spacing from the img.ijkToLpsTransform (and a note that directions shall not be ignored and add an example for getting LPS from IJK and IJK from LPS).
Migrated from https://app.assembla.com/spaces/slicerrt/tickets/465-remove-ijktoras-atrribute-from-matlab-image-metadata/details
Have an option in the Matlab commander to start a full-GUI matlab and add a breakpoint in the called function
Migrated from https://app.assembla.com/spaces/slicerrt/tickets/464-make-matlab-module-debugging-easier/details
Hello there,
I am reading a segmentation (saved as .nrrd file) from Slicer to Matlab by using the nrrdread function
(SlicerMatlabBridge/MatlabCommander/commandserver/nrrdread.m)
However, the segments are not entirely correct after I read them. It seems like their boundaries are not read precisely, i.e., the middle or interior parts are correct, but as I go through the boundaries there are some errors.
Any suggestions ? I am using Slicer 4.11 and Matlab 2020b.
Thanks !
MatlabBridge is not built for latest nightly and stable on Windows maybe because of test errors in an extension that it depends on (SlicerOpenIGTLink).
http://slicer.cdash.org/viewTest.php?onlyfailed&buildid=1456789
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.