Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mslw/horos-bids-output
Horos plugin for BIDS output. Stanford Center for Reproducible Neuroscience coding sprint 2017.
https://github.com/mslw/horos-bids-output
Last synced: 2 days ago
JSON representation
Horos plugin for BIDS output. Stanford Center for Reproducible Neuroscience coding sprint 2017.
- Host: GitHub
- URL: https://github.com/mslw/horos-bids-output
- Owner: mslw
- License: gpl-3.0
- Created: 2017-08-29T21:57:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T09:02:09.000Z (over 2 years ago)
- Last Synced: 2024-08-03T13:14:01.787Z (3 months ago)
- Language: Objective-C
- Homepage:
- Size: 3.53 MB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bids - Horos (Osirix) export plugin
README
# Horos (Osirix) Bids Output Extension
OsiriX / Horos plugin for BIDS output. Created during Stanford Center for Reproducible Neuroscience coding sprint 2017. The plugin allows creation of fundamental BIDS structure from within Horos GUI, based on a mapping between sequence name and BIDS terms entered by user.![Plugin interface](/images/BOE_screenshot.png)
## Information for users
### Installation
Download the HorosBidsOutput.horosplugin from the [releases](https://github.com/mslw/osirix-bids-output/releases) page above. If you have Horos installed, double-clicking the .horosplugin file should launch horos with a prompt and install the plugin for the current user.Alternatively, the file can be manually placed in: `~/Library/Application Support/Horos/Plugins/`. Regardless of the installation method, the plugin can then be made available to all users through Horos' Plugins Manager.
On MacOS Catalina and above, the plugin will be blocked by the Gatekeeper (_the developer cannot be verified_).
If you trust the plugin, you can remove the "quarantine" attribute from the Terminal by navigating to the downloaded file and executing `xattr -c HorosBidsOutput.horosplugin`.
Then, proceed with installation as described above.### Dependencies: dcm2niix
Bids Output Extension works by launching [dcm2niix](https://github.com/rordenlab/dcm2niix), which has to be available. To install dcm2niix, go to [dcm2niix releases page](https://github.com/rordenlab/dcm2niix/releases) and download the executable.The dcm2niix executable can be placed anywhere on your computer. However, if an executable file named dcm2niix is found in your home directory, Bids Output Extension will use it by default.
### Usage
For usage instructions, see the [project wiki](https://github.com/mslw/osirix-bids-output/wiki).### Caveats
1. Please keep in mind that the aim of the plugin is to create the fundamental BIDS structure, and the resulting dataset will most likely require some manual tweaks to become complete. This may include filling in some JSON fields (only the strictly obligatory ones are present) and adding stimulus information.
2. Field maps are handled only in the case of one phasediff and two magnitude images (based on the Siemens Trio output).
3. Not all BIDS suffixes are available in the GUI.
For more details, see the [known limitations](https://github.com/mslw/horos-bids-output/wiki#known-limitations) section of project wiki.### About Osirix / Horos
OsiriX and Horos are DICOM image viewers / database browsers. Horos is based upon OsiriX. The plugin development switched from OsiriX to Horos prior to 0.1 release, but it is likely that the plugin will be compatible with both.**Horos**: [website](https://www.horosproject.org), [github](https://github.com/horosproject/horos)
**OsiriX**: [website](http://www.osirix-viewer.com), [github](https://github.com/pixmeo/osirix)
### About Brain Imaging Data Structure
See [bids.neuroimaging.io](http://bids.neuroimaging.io)## Information for developers
### Things to change after cloning
1. OsiriXAPI.framework is not included in this repository (the folder is just a placeholder).
Use the API taken from [here](https://github.com/pixmeo/osirixplugins/tree/develop/_help/MyNewPluginTemplate).
2. In Xcode, choose Edit Scheme.
1. In the Info tab, set Executable to Horos (or OsiriX).
2. In the Arguments tab, add the following argument passed on launch: `--LoadPlugin $(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).$(WRAPPER_EXTENSION)`### Useful resources
This materials helped me start writing the plugin and I am immensely grateful to their creators.
* http://mrkonrad.github.io/MRKonrad/Horos-Plugin (tips on setting up the Xcode project by Konrad Werys)
* https://github.com/pixmeo/osirixplugins (plugin template and multiple plugins)
* https://github.com/horosproject/horosplugins (as above)
* Excellent [video tutorials](https://www.youtube.com/watch?v=X_MJd8wqTBM&list=PLE83F832121568D36) on Cocoa Programing by Lucas Derraugh, with a [matching GitHub repository](https://github.com/lucasderraugh/AppleProg-Cocoa-Tutorials).