Page MenuHomePhabricator

[Image statistics] Warning is shown for 4D image with 3D mask
Closed, ResolvedPublic

Description

Using the MITK Workbench snaptshots/2022-04-25 the following warning is printed to the log if a 4D image (UltrasoundImages/4D_TEE_Data_M) is used with a 3D (static) segmentation node:

core.mod.imgStat.imgMaskGen WARNING: Warning: time step > number of time steps in mask image, using last time step

To reproduce:

  • open MITK workbench, open Statistics plugin
  • load a 4D image and create a 3D / static segmentation
  • select both nodes in the "Input data" tab of the Statistics plugin
  • observe the log output

I think the warning is fine but it is important and should be shown to the user explicitly.

Revisions and Commits

Event Timeline

kalali triaged this task as Normal priority.Apr 26 2022, 12:49 PM
kalali created this task.

In general yes, the behavior is correct if needed, but in this case it was caused by an incorrect/missing time point mapping between image and mask.