Page MenuHomePhabricator
Feed Advanced Search

Nov 18 2022

kalali added a subtask for T29403: [mxn multi widget] Concept for crosshair data type: T29386: [mxn multi widget] StdDisplay unnecessarily uses the crosshair manager.
Nov 18 2022, 12:26 PM · MITK (v2023.04)
kalali triaged T29403: [mxn multi widget] Concept for crosshair data type as Normal priority.
Nov 18 2022, 12:26 PM · MITK (v2023.04)
kalali added a parent task for T29335: [Segmentation] Show interactive warning for uninitialized render window geometry: T29402: [mxn multi widget] Concept for blocking individual render windows.
Nov 18 2022, 11:32 AM · MITK (v2023.04)
kalali added a subtask for T29402: [mxn multi widget] Concept for blocking individual render windows: T29335: [Segmentation] Show interactive warning for uninitialized render window geometry.
Nov 18 2022, 11:32 AM · MITK (v2023.04)
kalali triaged T29402: [mxn multi widget] Concept for blocking individual render windows as Normal priority.
Nov 18 2022, 11:32 AM · MITK (v2023.04)
floca added a revision to T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats: Restricted Differential Revision.
Nov 18 2022, 11:21 AM · MITK
floca added a revision to T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats: Restricted Differential Revision.
Nov 18 2022, 11:20 AM · MITK
floca added a comment to T29396: [Segmentation] Newly created labelset image has wrong image type.

Yes that's what I found out too. I wanted to test something by changing the threshold tool to accept a vector image and work with AccessVectorPixelTypeByItk_n and itk::VectorImage<TPixel, VImageDimension> VectorImageType; but let's discuss how we want to prioritize this.

Nov 18 2022, 8:19 AM · MITK (v2024.12)
kalali added a comment to T29396: [Segmentation] Newly created labelset image has wrong image type.

Yes that's what I found out too. I wanted to test something by changing the threshold tool to accept a vector image and work with AccessVectorPixelTypeByItk_n and itk::VectorImage<TPixel, VImageDimension> VectorImageType; but let's discuss how we want to prioritize this.

Nov 18 2022, 8:10 AM · MITK (v2024.12)

Nov 17 2022

floca added a comment to T29396: [Segmentation] Newly created labelset image has wrong image type.

And we should add this case to our checklist in order to test seg not also with 3D and 3D+t, but also vector images.

Nov 17 2022, 6:40 PM · MITK (v2024.12)
floca added a comment to T29396: [Segmentation] Newly created labelset image has wrong image type.

The problem is that Peter used a vector image. and now the mask is a vector image too, this is why the accessors do complain. I guess we have to fix the function that generates the plain segmentation image based on the image as template.

Nov 17 2022, 6:39 PM · MITK (v2024.12)
kalali updated subscribers of T29396: [Segmentation] Newly created labelset image has wrong image type.

@floca The error seems to be inside AccessFixedTypeByItk_n, which produces a _accessByItkPixelTypeException (from inside Modules/Core/include/mitkImageAccessByItk.h

Nov 17 2022, 6:07 PM · MITK (v2024.12)
kalali added a comment to T29396: [Segmentation] Newly created labelset image has wrong image type.

I looked into this and can verify the behavior.
I debugged and the crash happens inside ``
I tested other 3D tools, e.g. "Threshold" or "UL Threshold" (and even Otsu) and the following error message is shown:

Pixel type vector is not in (int)( unsigned int)( short)( unsigned short)( char)( unsigned char)(double)( float)
Nov 17 2022, 6:01 PM · MITK (v2024.12)
kalali added a revision to T29394: [mxn multi widget] Image cropper shows weird behavior: Restricted Differential Revision.
Nov 17 2022, 5:08 PM · MITK
kalali added a comment to T29394: [mxn multi widget] Image cropper shows weird behavior.

When initializing the plane nodes inside CrosshairManager DataNode::SetMapper is called which results in the node's m_Mapper variable to hold a PlaneGeometryDataMapper2D at position 1 (mapper slot id is Standard2D = 1).
But if DataNode::GetMapper is called later with MapperSlotId = 1 the list m_Mappers is completely empty and a new mapper is created via the BoundingShapeObjectFactory.

Nov 17 2022, 2:39 PM · MITK
kalali added a comment to T29394: [mxn multi widget] Image cropper shows weird behavior.

Somehow it seems as if the BoundingShapeObjectFactory is the last factory to be checked for extra factories to create valid mappers and this one is then used (it overwrites previously existing mappers). I wonder why this does not happen for the StdMultiWidget.

Nov 17 2022, 12:23 PM · MITK
kalali closed T29383: [mxn multi widget] Crosshair does not show a gap as Resolved.
Nov 17 2022, 9:55 AM · MITK
neher triaged T29396: [Segmentation] Newly created labelset image has wrong image type as Normal priority.
Nov 17 2022, 9:42 AM · MITK (v2024.12)
kalali claimed T29394: [mxn multi widget] Image cropper shows weird behavior.
Nov 17 2022, 9:37 AM · MITK
kalali added a comment to T29394: [mxn multi widget] Image cropper shows weird behavior.

It seems as if there is something wrong with mitk::CoreObjectFactory::CreateMapper but I have to go a little bit deeper. Maybe this is also related to {D755} because the crosshair planes do not get a specific mapper set.

Nov 17 2022, 9:37 AM · MITK

Nov 16 2022

kalali triaged T29394: [mxn multi widget] Image cropper shows weird behavior as Normal priority.
Nov 16 2022, 4:26 PM · MITK
kalali updated the task description for T29240: [mxn multi widget] Allow different time navigation controller for each individual render window.
Nov 16 2022, 3:51 PM · Moved to git.dkfz.de, MITK (v2024.12)
kalali edited parent tasks for T29240: [mxn multi widget] Allow different time navigation controller for each individual render window, added: T29393: [mxn multi widget] Concept for individual render window synchronization; removed: T28578: [mxn multi widget] Optimization of the mxn multi widget.
Nov 16 2022, 3:49 PM · Moved to git.dkfz.de, MITK (v2024.12)
kalali added a subtask for T29393: [mxn multi widget] Concept for individual render window synchronization: T29240: [mxn multi widget] Allow different time navigation controller for each individual render window.
Nov 16 2022, 3:49 PM · Moved to git.dkfz.de, MITK
kalali removed a subtask for T28578: [mxn multi widget] Optimization of the mxn multi widget: T29240: [mxn multi widget] Allow different time navigation controller for each individual render window.
Nov 16 2022, 3:49 PM · Moved to git.dkfz.de, MITK
kalali added a comment to T29393: [mxn multi widget] Concept for individual render window synchronization.

I added T24704: [Multi widget] Rules for updating the render windows as a somewhat related task.

Nov 16 2022, 3:47 PM · Moved to git.dkfz.de, MITK
kalali removed a subtask for T28578: [mxn multi widget] Optimization of the mxn multi widget: T24704: [Multi widget] Rules for updating the render windows.
Nov 16 2022, 3:46 PM · Moved to git.dkfz.de, MITK
kalali added a subtask for T29393: [mxn multi widget] Concept for individual render window synchronization: T24704: [Multi widget] Rules for updating the render windows.
Nov 16 2022, 3:46 PM · Moved to git.dkfz.de, MITK
kalali edited parent tasks for T24704: [Multi widget] Rules for updating the render windows, added: T29393: [mxn multi widget] Concept for individual render window synchronization; removed: T28578: [mxn multi widget] Optimization of the mxn multi widget.
Nov 16 2022, 3:46 PM · Moved to git.dkfz.de, Request for Discussion, MITK
kalali triaged T29393: [mxn multi widget] Concept for individual render window synchronization as Normal priority.
Nov 16 2022, 3:46 PM · Moved to git.dkfz.de, MITK
kalali closed T25604: New concept for switching between different render windows, a subtask of T25603: Combine render window manager with custom multi widget, as Invalid.
Nov 16 2022, 3:03 PM · Restricted Project, MITK
kalali closed T25604: New concept for switching between different render windows as Invalid.

This task is invalid since we moved the functionality of the render window manager to render window specific drop-down menus. More discussion about the concept will happen in T29297: [mxn multi widget] Optimize data accessibility inside render windows.

Nov 16 2022, 3:03 PM · Auto-closed, Request for Discussion, Restricted Project, MITK
kalali closed T25601: Modernize render window manager as Resolved.
Nov 16 2022, 2:59 PM · Restricted Project, MITK
kalali added a comment to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.

We will add the two suggested changes as a hotfix / release patch because

  • we should definitely avoid workbench crashes
  • also old legacy segmentations / scene files will provoke the crash
Nov 16 2022, 2:28 PM · MITK
s434n removed a parent task for T29297: [mxn multi widget] Optimize data accessibility inside render windows: T28578: [mxn multi widget] Optimization of the mxn multi widget.
Nov 16 2022, 1:21 PM · MITK (v2023.04)
s434n removed a subtask for T28578: [mxn multi widget] Optimization of the mxn multi widget: T29297: [mxn multi widget] Optimize data accessibility inside render windows.
Nov 16 2022, 1:21 PM · Moved to git.dkfz.de, MITK
s434n added a parent task for T29392: [SEG] Add dedicated writer to store multi-label images in nifti: T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.
Nov 16 2022, 11:43 AM · Moved to git.dkfz.de, MITK (v2024.12)
s434n added a subtask for T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: T29392: [SEG] Add dedicated writer to store multi-label images in nifti.
Nov 16 2022, 11:43 AM · MITK
s434n triaged T29392: [SEG] Add dedicated writer to store multi-label images in nifti as Normal priority.
Nov 16 2022, 11:43 AM · Moved to git.dkfz.de, MITK (v2024.12)
s434n updated subscribers of T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats.
Nov 16 2022, 11:38 AM · MITK
s434n added a parent task for T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats: T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.
Nov 16 2022, 11:38 AM · MITK
s434n added a subtask for T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats.
Nov 16 2022, 11:38 AM · MITK
s434n triaged T29391: [Segmentation] Prevent multi-label images to be saved as unsupported image formats as Unbreak Now! priority.
Nov 16 2022, 11:37 AM · MITK
floca removed a project from T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: Request for Discussion.
Nov 16 2022, 11:35 AM · MITK
floca moved T29389: Python utility module from Backlog to MITK Meeting on the Request for Discussion board.
Nov 16 2022, 11:00 AM · Moved to git.dkfz.de, MITK (v2024.12)
floca moved T29381: Move Multilabel classes to Core module from Backlog to MITK Meeting on the Request for Discussion board.
Nov 16 2022, 10:59 AM · MITK, Request for Discussion
floca moved T29390: How to ease the handling of external generated segmentations from Backlog to MITK Meeting on the Request for Discussion board.
Nov 16 2022, 10:59 AM · MITK (v2024.06)
kalali added a comment to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.

The seg predicate of the view is wrong. Should not be able to select the nifti at all.

Also seg in nifti form have to be converted into label image currently via context menu "convert to segmentation".

Nov 16 2022, 9:26 AM · MITK
kalali renamed T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash from [Segmentation] Loading a nifty segmentation (nii) leads to a crash to [Segmentation] Loading a nifti segmentation (nii) leads to a crash.
Nov 16 2022, 9:24 AM · MITK
kalali added a revision to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: Restricted Differential Revision.
Nov 16 2022, 9:21 AM · MITK
kalali moved T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash from Backlog to MITK Meeting on the Request for Discussion board.
Nov 16 2022, 8:40 AM · MITK
kalali moved T26959: [Segmentation] Newly created LabelSet segmentation is not displayed as "outline binary" from MITK Meeting to Backlog on the Request for Discussion board.
Nov 16 2022, 8:39 AM · Moved to git.dkfz.de, MITK (v2024.12), Checklist, Request for Discussion

Nov 15 2022

floca added a comment to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.

Is this reason for a patch release?

Nov 15 2022, 8:27 PM · MITK
floca updated the task description for T29390: How to ease the handling of external generated segmentations.
Nov 15 2022, 8:26 PM · MITK (v2024.06)
floca created T29390: How to ease the handling of external generated segmentations.
Nov 15 2022, 8:12 PM · MITK (v2024.06)
floca added a comment to T29389: Python utility module.

That would also help to avoid problems like T29388

Nov 15 2022, 8:01 PM · Moved to git.dkfz.de, MITK (v2024.12)
floca created T29389: Python utility module.
Nov 15 2022, 8:00 PM · Moved to git.dkfz.de, MITK (v2024.12)
floca added a comment to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.

The seg predicate of the view is wrong. Should not be able to select the nifti at all.

Nov 15 2022, 7:55 PM · MITK
kalali added a comment to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.

I added a first fix to avoid crashes. More changes are required:
Inside QmitkSegmentationView::UpdateGUI() the two functions m_Controls->layersWidget->UpdateGUI() and m_Controls->labelsWidget->UpdateGUI() are called. They both require the working image to be a LabelSetImage, otherwise the GUI elements will stay deactivated. Also, since no layer is available the toolselectionboxes stay deactivated.

Nov 15 2022, 6:31 PM · MITK
kalali added a revision to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: Restricted Differential Revision.
Nov 15 2022, 6:27 PM · MITK
kalali added a project to T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash: Request for Discussion.
Nov 15 2022, 5:53 PM · MITK
kalali updated subscribers of T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash.
Nov 15 2022, 5:53 PM · MITK
kalali triaged T29388: [Segmentation] Loading a nifti segmentation (nii) leads to a crash as Unbreak Now! priority.
Nov 15 2022, 5:52 PM · MITK

Nov 11 2022

kalali added a revision to T29385: [mxn multi widget] Pixel value view does not change on crosshair selection: Restricted Differential Revision.
Nov 11 2022, 6:58 PM · MITK (v2023.04)
kalali triaged T29386: [mxn multi widget] StdDisplay unnecessarily uses the crosshair manager as Normal priority.
Nov 11 2022, 5:23 PM · Moved to git.dkfz.de, MITK (v2024.12)
kalali updated the task description for T29385: [mxn multi widget] Pixel value view does not change on crosshair selection.
Nov 11 2022, 11:06 AM · MITK (v2023.04)

Nov 10 2022

kalali renamed T29385: [mxn multi widget] Pixel value view does not change on crosshair selection from [mxn to [mxn multi widget] Pixel value view does not change on crosshair selection.
Nov 10 2022, 6:10 PM · MITK (v2023.04)
kalali created T29385: [mxn multi widget] Pixel value view does not change on crosshair selection.
Nov 10 2022, 6:09 PM · MITK (v2023.04)
kalali added a revision to T29383: [mxn multi widget] Crosshair does not show a gap: Restricted Differential Revision.
Nov 10 2022, 6:09 PM · MITK

Nov 9 2022

kalali triaged T29383: [mxn multi widget] Crosshair does not show a gap as Normal priority.
Nov 9 2022, 7:57 PM · MITK
neher placed T26413: Nifti2 support up for grabs.
Nov 9 2022, 11:38 AM · Auto-closed, Missing Info, MITK
neher added a comment to T26413: Nifti2 support.

Unfortunately not solved. Same error.

Nov 9 2022, 11:37 AM · Auto-closed, Missing Info, MITK
kalali updated the task description for T26543: Enum for AXIAL, SAGITTAL, CORONAL 3D/ORIGINAL/NONE is provided at many different locations.
Nov 9 2022, 9:36 AM · Breaking Change, Noteworthy, MITK

Nov 8 2022

kalali claimed T28989: [Segmentation] CanHandle functions seem to be inconsistent.
Nov 8 2022, 5:56 PM · MITK, Request for Discussion
kalali added a comment to T28989: [Segmentation] CanHandle functions seem to be inconsistent.

mitk::Tool::CanHandle:

In T28989, @kalali wrote:

The basic mitk::Tool restricts the data that can be handled to reference-data - working-data pairs, where

  • the reference-data is valid

Why is it not required for the working-data to be valid? This is a requirement for all following CanHandle-functions (working data needs to be an mitk::LabelSetImage or an mitk::Image) that override the basic function, so why not put it in the basic class function?

Nov 8 2022, 5:56 PM · MITK, Request for Discussion
kalali added a revision to T28989: [Segmentation] CanHandle functions seem to be inconsistent: Restricted Differential Revision.
Nov 8 2022, 5:56 PM · MITK, Request for Discussion
kalali updated the task description for T28989: [Segmentation] CanHandle functions seem to be inconsistent.
Nov 8 2022, 5:25 PM · MITK, Request for Discussion
kalali updated the task description for T28989: [Segmentation] CanHandle functions seem to be inconsistent.
Nov 8 2022, 5:21 PM · MITK, Request for Discussion
kalali updated the task description for T28989: [Segmentation] CanHandle functions seem to be inconsistent.
Nov 8 2022, 5:21 PM · MITK, Request for Discussion
kalali edited projects for T28989: [Segmentation] CanHandle functions seem to be inconsistent, added: MITK; removed MITK (v2022.10).
Nov 8 2022, 5:11 PM · MITK, Request for Discussion
kislinsk closed T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash as Resolved by committing rMITKb2928e2b2dc5: Uninitialize slices interpolator when render window part is deactivated.
Nov 8 2022, 5:04 PM · MITK
kalali updated subscribers of T27413: MITK Workflow Q&A.

@kompan and I created this guide some time ago. We can reuse it, extend it and put the content into the Phabricator wiki: https://hub.dkfz.de/f/7173768

Nov 8 2022, 4:42 PM · Moved to git.dkfz.de, MITK, Request for Discussion
kalali updated the task description for T27413: MITK Workflow Q&A.
Nov 8 2022, 4:42 PM · Moved to git.dkfz.de, MITK, Request for Discussion
kalali edited projects for T29140: [Selection widget] Optional selection can not be removed if a fitting node is always found, added: MITK, Next Milestone, Request for Discussion; removed MITK (v2022.10).
Nov 8 2022, 4:27 PM · Moved to git.dkfz.de, MITK (v2024.12), Request for Discussion
kalali renamed T27413: MITK Workflow Q&A from MITK 2020 Workflow Q&A to MITK Workflow Q&A.
Nov 8 2022, 4:27 PM · Moved to git.dkfz.de, MITK, Request for Discussion
kalali edited projects for T29313: Add a Test to check if the GrowCut algorithm produces a different output, added: MITK; removed MITK (v2022.10).
Nov 8 2022, 4:12 PM · MITK (v2024.12)
kalali added a revision to T26543: Enum for AXIAL, SAGITTAL, CORONAL 3D/ORIGINAL/NONE is provided at many different locations: Restricted Differential Revision.
Nov 8 2022, 12:48 PM · Breaking Change, Noteworthy, MITK
kalali claimed T26543: Enum for AXIAL, SAGITTAL, CORONAL 3D/ORIGINAL/NONE is provided at many different locations.
Nov 8 2022, 12:48 PM · Breaking Change, Noteworthy, MITK
kalali added a comment to T26543: Enum for AXIAL, SAGITTAL, CORONAL 3D/ORIGINAL/NONE is provided at many different locations.

It seems as if there is a mapping between the SliceNavigationController::ViewDirection and PlaneGeometry::PlaneOrientation, which makes it unnecessary to keep the direction / orientation in both classes.

Nov 8 2022, 12:47 PM · Breaking Change, Noteworthy, MITK
kislinsk added a revision to T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash: Restricted Differential Revision.
Nov 8 2022, 5:27 AM · MITK
kislinsk added a comment to T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash.

Shortcut to reproduce the crash:

  • Start the Workbench
  • If not already opened, open the Segmentation View
  • Close the project or close the Standard Display
  • Load any segmentation
Nov 8 2022, 5:15 AM · MITK

Nov 7 2022

kalali edited projects for T26959: [Segmentation] Newly created LabelSet segmentation is not displayed as "outline binary", added: MITK, Next Milestone; removed MITK (v2022.10).
Nov 7 2022, 7:12 PM · Moved to git.dkfz.de, MITK (v2024.12), Checklist, Request for Discussion
kalali edited projects for T29163: [XNAT] Opening XNAT session fails, added: MITK; removed MITK (v2022.10).
Nov 7 2022, 7:10 PM · Moved to git.dkfz.de, MITK (v2024.12)
kalali edited projects for T25057: Check IContextMenuActions and extension points, added: MITK; removed MITK (v2022.10).
Nov 7 2022, 7:10 PM · Moved to git.dkfz.de, MITK (v2024.12)
kalali closed T29220: StatusBar info is dependent on the pointer position, not on the crosshair / mouse click as Resolved.

All related tasks have been resolved so we can close this task as well. The "issue" still remains but we are exploiting it on purpose now using the changes made in {D686}, to show pixel information dynamically (position under the mouse cursor) in the status bar.
With the changes made in {D749} we now have the possibility to explicitly show image pixel information for the crosshair position in the newly introduced pixel value view.

Nov 7 2022, 3:06 PM · Request for Discussion, MITK
kalali created T29381: Move Multilabel classes to Core module.
Nov 7 2022, 1:36 PM · MITK, Request for Discussion
kislinsk added a comment to T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash.

The interesting part here is that m_Time of mitk::BaseController is not supposed to be nullptr in particular as m_Slice is a valid stepper. My first guess is that a partly deconstructed controller is triggered here.

Nov 7 2022, 12:32 PM · MITK
kislinsk added a comment to T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash.

The crash happens in mitk::SliceNavigationController::GetSelectedTimeStep() as m_Time (mitk::Stepper::Pointer) is accessed while it is a nullptr. The events that lead to this situation are that the mitk::ToolManager notifies QmitkSlicesInterpolator via OnToolManagerWorkingDataModified(). This method calls SetCurrentContourListID() in turn, which executes the crashing line of code:

Nov 7 2022, 12:29 PM · MITK
kislinsk triaged T29380: [Segmentation] Loading a segmentation while the Segmentation View is open may lead to a crash as High priority.
Nov 7 2022, 12:08 PM · MITK
kalali added a comment to T29025: Preference service (access) based on cpp microservices.

I stumbled upon this while working on T28752: [Segmentation] Move Segmentation utilities widgets to SegmentationUI module. I would like to tackle this issue and already started looking into this. Do you already have an idea how to approach it or do we want to discuss it next week?

I already implemented most of it as core service a while ago but then was interrupted by something else. As far as I remember it is nearly complete except for the equivalent of BlueBerry's preference storage. I will look for the branch the upcoming week and push it. Never assigned the task, sorry.

Nov 7 2022, 11:38 AM · MITK (v2023.04), Breaking Change