Page MenuHomePhabricator

ODF Details view crashes MITK Diffusion when clicking in sagittal window
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Start MITK Diffusion
  • Make sure that 'ODF Details' view is open
  • Load image 'WholeBrain_Multishell_HARDI.dti'
  • Select image in 'Data Manager' view
  • In sagittal window: Click at black area outside the image region with left mouse button

--> MITK Diffusion crashes

Event Timeline

This problem also occurs when click in black area of coronal view.

But the problem does not occur when using the corresponding QBI image.

I was not able to reproduce it on Windows 7 64 Bit VS 2010

Can reproduce using the same data as you.

It crashes when trying to access data:

const float *pixel_data = qball_cPtr + offset_to_data;

float tensorelems[6] = {
  *(pixel_data    ),

in the QmitkODFDetailsView::UpdateODF() function.

This might be due to the tilted geometry resulting in a wrong offset.

User goch has pushed new remote branch:

bug-18361-check-inside-image

[67a165]: Merge branch 'bug-18361-check-inside-image'

Merged commits:

2014-10-31 17:38:09 Caspar Goch [951553]
Check whether index is inside image borders for dti