-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom preset handling (storing/export/import) #50
Comments
Another idea would be to provide an option to change the database folder. The folder could store |
The selected database folder location would be saved in the parameter node. When loading the module, it can check if the database folder exists on the local machine. If it doesn't exist, a dialog is displayed with the message saying that the database folder couldn't be found. The user has the option to locate the folder which will then be updated in the parameter node if successfully associated other saved parameters. |
Built-in elastix registration presets can be copied into the scene, edited, and saved in the scene. When registration is launched then the in-scene configuration data is written to files and passed to Elastix. In-scene presets can also be saved as user presets, into the user profile folder (each preset in a separate subfolder, containing all necessary information, so that presets can be easily shared with other just by copying the complete folder content). see lassoan#50
Built-in elastix registration presets can be copied into the scene, edited, and saved in the scene. When registration is launched then the in-scene configuration data is written to files and passed to Elastix. In-scene presets can also be saved as user presets, into the user profile folder (each preset in a separate subfolder, containing all necessary information, so that presets can be easily shared with other just by copying the complete folder content). see #50
@lassoan In #45 (comment) you mentioned the following:
"Custom presets could be saved in the applications settings folder
(os.path.dirname(slicer.app.slicerUserSettingsFilePath))
to make sure they are preserved when the application is removed. But this can be added later, your preset editor is already useful as is."I could imagine creating custom presets and being able to add some functionality to export presets for the purpose of sharing. Especially when it comes to experiments, one wants to be able to reproduce results, so sharing custom presets would be very important. Other users could then import the presets into their database (including md5 checks to avoid duplication of txt files).
Let me know what you think
cc @DevLaurence
The text was updated successfully, but these errors were encountered: