Decouple MRS container from local machine #319
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added new functionalities which allow to share/copy the MRS container between different machines without losing the GUI functionalities. This flag (MRSCont.flags.addImages) is turned off by default to reduce the file size of the container.
OspreyAddImages stores the three plane images that are required for the plot functions of coreg and seg into the container. This can be performed on already processed MRS containers.
osp_extract_three_plane_image.m adds the images for the OspreCoreg plot into the container
osp_extract_three_plane_image_seg.m adds the images for the OspreSeg plot into the container
Further updates were added to the OspreyGUI function which automatically checks whether the container has been moved. The LogFile is then recreated on the new machine and the Coreg/Seg buttons are disabled. The coreg/seg tab is activated only for containers where the image files are available or the results are stored in the container. The same is the case for the external nii viewer.