Page MenuHomePhabricator

[Statistics] Lines across different geometries can cause crash when analyzed with image
Closed, ResolvedPublic

Description

There seems to be some inconsistency in the geometry-checking of the Statistics View. Normally, it is not possible to select an image and ROI with mismatched geometries. But when a line is drawn between two images with different geometries, this can lead to errors or even a crash, although I am not able to reproduce this consistently.
Broadly speaking, the problem happens when both images are shown (via a global reinit).

For example:

  • loaded brain and Pic3D (Pic3D being higher in the Data Manager)
  • did a global reinit
  • with brain selected in the Measurement view, drew a line from the far corner of brain to the far corner of Pic3D, outside of the respective other image
  • in the Statistics view, selected Pic3D and the line
  • -> crash

Interesting about this is that even though I had brain selected in the Measurement view, the Statistics view only allows me to select Pic3D + the line, not brain + the line.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision
Restricted Differential Revision