HomePhabricator
Diffusion MITK b884b24c25b4

TotalSeg nnUNet Confirm Segmentation button bugfix

Description

TotalSeg nnUNet Confirm Segmentation button bugfix

Summary:
In both Totalseg and nnUNet, the m_FirstPreviewComputation is now set to false before tool->UpdatePreview() is called.
Also,
in SegWithPreviewTool, the m_IsPreviewGenerated set to false when tool is activated. This to avoid a case where Totalseg, without having any Preview, invokes a confirmation dialog up on exiting due to the tool's previous runs which generated previews.

Test Plan: NA

Reviewers: floca, O1 MITK Reviewer Group I

Reviewed By: floca, O1 MITK Reviewer Group I

Maniphest Tasks: T30392

Differential Revision: https://phabricator.mitk.org/D931

Details

Provenance
a178nAuthored on Tue, Apr 23, 10:40 PM
a178nPushed on Wed, Apr 24, 4:27 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITKfddfdc182dc2: IsPreviewGenerated set to false when tool is activated
rMITK77685e7bebfa: T30392 Totalsegmentator & Otsu crash with multi label refactor
Branches
Unknown
Tags
Unknown
Tasks
T30392: [Segmentation] Totalsegmentator & Otsu is buggy