Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
mitknnInteractiveBoundingBox.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitknnInteractiveBoundingBox_h
14
#define mitknnInteractiveBoundingBox_h
15
16
#include <array>
17
18
namespace
mitk::nnInteractive
19
{
20
// Axis-aligned bounding box in nnInteractive's coordinate system, which
21
// is the MITK index space axis-reversed: first entry is along MITK's Z,
22
// then Y, then X. This mirrors the existing AddPointInteraction
23
// convention where [index[2], index[1], index[0]] is passed to Python.
24
// Passed verbatim to session.add_*_interaction's interaction_bbox=
25
// parameter.
26
using
InteractionBoundingBox
= std::array<std::array<int, 2>, 3>;
27
}
28
29
#endif
mitk::nnInteractive
Definition:
mitknnInteractiveBoundingBox.h:19
mitk::nnInteractive::InteractionBoundingBox
std::array< std::array< int, 2 >, 3 > InteractionBoundingBox
Definition:
mitknnInteractiveBoundingBox.h:26
src
MITK
Modules
PythonSegmentation
include
mitknnInteractiveBoundingBox.h
Generated by
1.9.1