View Issue Details

IDProjectCategoryView StatusLast Update
0004464Slicer4Module Modelspublic2018-05-28 22:01
ReporterhildegunstAssigned Tolassoan 
Status resolvedResolutionfixed 
Platformamd64OSWindowsOS Version7
Product Version 
Target VersionFixed in VersionSlicer 4.9.0 
Summary0004464: Scalar overlays: Displayed range not restored when loading saved scene

Slicer 4.8.0 r26489
When a model with a scalar overlay is saved (as .mrb), the display settings (i.e. the displayed range) of the scalar overlay are lost and reset to default values.
Specifically, I am displaying a mesh obtained from an electroanatomic mapping system (imported into Slicer as Wavefront .obj file) and the corresponding voltage data (imported into Slicer as Freesurfer .w scalar overlay).
When manually chosing the displayed range (0.5 - 1.5) and saving the scene as .mrb, the displayed range is reset to 0.06-22.37, which is minimum and maximum, after re-opening the saved file.

Steps To Reproduce

File -> Add Data -> Rhythmia-mesh.obj
Models -> Select Rhythmia-mesh
File-> Add Data -> Rhythmia-voltage.w
Model -> Scalars:

  • Select color map "rainbow"
  • Scalar range mode: Manual
  • Displayed range 0.5 - 1.5
    (See screenshot1.png)
    File -> Save -> bundled as .mrb file
    (See save-dialog.png)
    File -> Close scene
    File -> Add data -> Select .mrb file that was saved previously
    Displayed range has changed and scalar overlay looks significantly different
    (See screenshot2.png)




2017-10-19 20:56


screenshot2.png (255,120 bytes)
screenshot2.png (255,120 bytes)
save-dialog.png (19,204 bytes)
save-dialog.png (19,204 bytes)
screenshot1.png (269,934 bytes)
screenshot1.png (269,934 bytes)
Rhythmia-mesh.obj (1,291,628 bytes)
Rhythmia-voltage.w (48,466 bytes)


2018-05-28 22:01

developer   ~0015760

Fixed in r27208.

The problem was that the storage node always overwrote the scalar range values with the data range (even if scalar range flag was set to manual range setting).

Issue History

Date Modified Username Field Change
2017-10-19 20:56 hildegunst New Issue
2017-10-19 20:56 hildegunst File Added: Rhythmia-mesh.obj
2017-10-19 20:56 hildegunst File Added: Rhythmia-voltage.w
2017-10-19 20:56 hildegunst File Added: screenshot1.png
2017-10-19 20:56 hildegunst File Added: save-dialog.png
2017-10-19 20:56 hildegunst File Added: screenshot2.png
2017-10-19 20:56 hildegunst Tag Attached: models
2017-10-19 20:58 hildegunst Description Updated View Revisions
2017-10-19 21:51 hildegunst Description Updated View Revisions
2018-05-28 22:01 lassoan Assigned To => lassoan
2018-05-28 22:01 lassoan Status new => resolved
2018-05-28 22:01 lassoan Resolution open => fixed
2018-05-28 22:01 lassoan Fixed in Version => Slicer 4.9.0
2018-05-28 22:01 lassoan Note Added: 0015760