Is it possible to replace the path with a URI (universal resource identifier) of the “segmentation result niftii file” and sent this mrml scene file to a remote system, so that this same .mrml scene can be viewed on a “remote system slicer application” ? Will the slicer application of the remote system be able to download the niftii file mentioned in the URI ?
As @lassoan mentioned we used to have a feature like this in mrml, but it turned out to be messy and difficult to deal with security tokens/logins and similar issues in a generic way. If you really need something like this I’d suggest writing a python script that accepts a mrml file as input, detects URIs fileName fields, and downloads them to the local filesystem and replaces the URI with a local path so the user can load from there.
You can also use custom URLs to open a .nrrd file from a link directly Slicer using custom URL (slicer://). Slicer core has built-in handler for DICOMweb URIs, but you can add handlers for additional data types by adding a very short scripted module that recognizes the URL content and processes it. I provided an example for loading a .nrrd file and some description here.
@pieper What do you think about adding this module to Slicer core (changing it to allow open .mrb files and a few other common file formats; or allow it to open all supported file formats)?
A practical way for many projects is to share .mrb files via dropbox or a similar service. There have been some problems reported when people save directly to a virtual drive, so best practice is to save to a local disk and then copy the files up to the cloud drive.
@Rajesh_Ds Do we understand correctly that you want to avoid popping up of the web browser and doing an extra click there? If that’s the issue then the solution I described should work well. On Windows the Slicer installer already associates the slicer:// custom URL protocol with Slicer, so you just need to use the example file that I provided and change nrrd to mrb.
If I transfer this scene file to a remote system, where (which folder in his system) must the recipient at the remote system store these nifii files. Is it possible to make slicer pick the niftii file from any folder that he wishes by inserting appropriate path information in the above identified location in the .mrml file (please see the attached image above)