| 94 | } |
| 95 | |
| 96 | mitk::Label::AlgorithmType mitk::MonaiLabelTool::GetAlgorithmType() const |
| 97 | { |
| 98 | // The same tool instance runs both auto-segmentation and interactive (deepgrow/deepedit) models, so |
| 99 | // the type cannot be a static override: it depends on the currently selected model. Auto models run |
| 100 | // with no per-image human input (like nnUNet), hence AUTOMATIC; interactive models are SEMIAUTOMATIC. |
| 101 | return (m_RequestParameters && !m_RequestParameters->model.IsInteractive()) |
| 102 | ? mitk::Label::AlgorithmType::AUTOMATIC |
| 103 | : mitk::Label::AlgorithmType::SEMIAUTOMATIC; |
| 104 | } |
| 105 | |
| 106 | void mitk::MonaiLabelTool::OnAddPositivePoint(StateMachineAction *, InteractionEvent *interactionEvent) |
| 107 | { |
nothing calls this directly
no test coverage detected