View Issue Details

IDProjectCategoryView StatusLast Update
0003350Slicer4Core: GUIpublic2018-03-02 11:07
Reporterlassoan Assigned Tohastings.greer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in VersionSlicer 4.6.0 
Summary0003350: Fit view to volume function sets slice viewer offset to an incorrect value
Description

After loading a DICOM volume the slice offsets in the 2D viewers are set correctly to the middle of a slice. However, after clicking on the 'Adjust the slice viewer's field of view...' icon in the slice viewer changes the slice offset to an incorrect value: just between two slices.

This is an issue, because if we are at the boundary between two slices then the labelmap is quite often shown for the wrong slice (and the mismatch is very visible).

How to reproduce:

  • Load MRHead sample
  • Slicer offset in the red viewer is -10.214mm (correct), turn off interpolation and zoom in on the yellow slice viewer to confirm that the red slice really goes through the middle of the voxel. By enabling Slicer intersection.
  • 'Click on the "Adjust the slice viewer's field of view."' icon
  • The offset in the red viewer is changed to -10.714mm (incorrect), in the zoomed in yellow slice viewer the red slice is now at the boundary of two slices
TagsNo tags attached.

Relationships

related to 0004210 assignedalexy Deduplicate code path to call vtkMRMLSliceLogic::SnapSliceOffsetToIJK 

Activities

jcfr

jcfr

2016-06-14 15:40

administrator  

jcfr

jcfr

2016-06-14 15:40

administrator  

jcfr

jcfr

2016-06-15 18:43

administrator   ~0013973

PR fixing the issue pushed here: https://github.com/Slicer/Slicer/pull/536

hastings.greer

hastings.greer

2016-06-16 18:57

developer   ~0013980

PR pulled into master

jcfr

jcfr

2016-06-16 18:57

administrator   ~0013981

Fixed in r25195
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25195

Related Changesets

Import 2017-06-07 23:51:09: master 9ce9e318

2016-06-16 18:54:59

jcfr

Details Diff
BUG: vtkMRMLSliceLogic: Correct slice offset when fit to volume is called.

Fixes 0003350

From: Thomas Greer <hastings.greer@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25195 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Logic/vtkMRMLSliceLogic.cxx Diff File

Issue History

Date Modified Username Field Change
2013-08-30 16:49 lassoan New Issue
2013-08-30 16:49 lassoan Status new => assigned
2013-08-30 16:49 lassoan Assigned To => kikinis
2013-08-30 22:58 kikinis Assigned To kikinis => pieper
2016-06-14 15:35 jcfr Description Updated View Revisions
2016-06-14 15:40 jcfr File Added: 3350-1-intesection-middle-voxel.png
2016-06-14 15:40 jcfr File Added: 3350-2-intesection-border-voxel-after-adjust.png.png
2016-06-14 15:40 jcfr Assigned To pieper => hastings.greer
2016-06-15 18:43 jcfr Note Added: 0013973
2016-06-16 18:57 hastings.greer Note Added: 0013980
2016-06-16 18:57 jcfr Note Added: 0013981
2016-06-16 18:57 jcfr Status assigned => resolved
2016-06-16 18:57 jcfr Fixed in Version => Slicer 4.6.0
2016-06-16 18:57 jcfr Resolution open => fixed
2016-06-16 19:00 jcfr Relationship added related to 0004210
2017-06-10 08:51 jcfr Changeset attached => Slicer master 9ce9e318
2018-03-02 11:07 jcfr Status resolved => closed