Page MenuHomePhabricator

MITK Flowbench - Reopen created segmentation not working
Open, NormalPublic

Description

MITK v2021.10 - Use MITK Flow to create a segmentation. Afterwards I tried to reopen it with MITK Flow, to "change" it.
But MITK Flow does not open anymore:

   "BodyPartExamined" : "ABDOMEN",
   "ClinicalTrialCoordinatingCenterName" : "Unknown",
   "ClinicalTrialSeriesID" : "Session 1",
   "ClinicalTrialTimePointID" : "0",
   "ContentCreatorName" : "MITK",
   "InstanceNumber" : "1",
   "SeriesDescription" : "MITK Segmentation",
   "SeriesNumber" : "00",
   "segmentAttributes" : [
      [
         {
            "SegmentAlgorithmName" : "MITK Segmentation",
            "SegmentAlgorithmType" : "SEMIAUTOMATIC",
            "SegmentDescription" : "Kidney",
            "SegmentLabel" : "Kidney",
            "SegmentedPropertyCategoryCodeSequence" : {
               "CodeMeaning" : "Anatomical Structure",
               "CodeValue" : "T-D000A",
               "CodingSchemeDesignator" : "SRT"
            },
            "SegmentedPropertyTypeCodeSequence" : {
               "CodeMeaning" : "Kidney",
               "CodeValue" : "T-71000",
               "CodingSchemeDesignator" : "SRT"
            },
            "labelID" : 1,
            "recommendedDisplayRGBValue" : [ 185, 102, 83 ]
         }
      ]
   ]
}
qt.svg: Cannot open file ':/org_mitk_icons/icons/awesome/scalable/actions/document-save.svg', because: No such file or directory
qt.svg: Cannot open file ':/org_mitk_icons/icons/awesome/scalable/actions/document-save.svg', because: No such file or directory
qt.svg: Cannot open file ':/org_mitk_icons/icons/awesome/scalable/actions/document-open.svg', because: No such file or directory
qt.svg: Cannot open file ':/org_mitk_icons/icons/awesome/scalable/actions/document-open.svg', because: No such file or directory
!12.858! WARNING: Could not read :/org_mitk_icons/icons/awesome/scalable/actions/document-save.svg
!12.858! WARNING: Could not read :/org_mitk_icons/icons/awesome/scalable/actions/document-open.svg
Aborted (core dumped)

Opening the same data with an older version of MITK Flow GUI works. I tried in kaapana and directly in Linux.
As testdataset I used E130-Personal\Gao\mitk-flow-211130133218128483\batch\1.2.276.0.7230010.3.1.3.17483548.639.1638271264.889404\

Event Timeline

gaoh added a project: Kaapana (internal).
gaoh added a subscriber: floca.

can you provide the files necessary to reproduce the problem outside of a container? (so at least image, seg and the scene file you generate automatically, and the call of MITK Workbench you use.)

Yes, sorry I didn't highlight it ;):

As testdataset I used E130-Personal\Gao\mitk-flow-211130133218128483\batch\1.2.276.0.7230010.3.1.3.17483548.639.1638271264.889404\

Found the problem in the code. Will be solved by T28903

Work around: add the following line to your segmentation_props file:

<property key="visible" type="BoolProperty"><bool value="true"/></property>

But be warned your example data still does not work due to the slice error also meantioned in T28900. (But there I also have found the reason)