BoundingBox¶
-
MLModule
¶ genre Subimage
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLMiscModules
definition MLMiscModules.def see also Info
,ImagePropertyConvert
,ImageStatistics
,MinMaxScan
,CalculateVolume
,SubImage
keywords volume
,statistic
,interval
,count
,voxels
,volume
,cut
,reduce
,reduction
,roi
,extract
Purpose¶
The module BoundingBox
scans the input automatically or on demand and calculates the bounding box of all voxels which are within a given grey level interval. The found bounding box is cut from the input image and passed to the output. Also the number of found voxels in the interval, in the box and the corresponding volume in ml is shown.
This module only works on scalar voxel types.
If no voxels in the bounding box are found the output image is empty, i.e. it has extent 0.
All voxels of the output image will have the same world coordinates as in the input image.
Details¶
Example¶
The example network shows a small medical data set with a segmented liver which has much higher voxel values. The bounding box module is used to scan the volume, determine the bounding box around the liver and to show only the liver at the output.
Parameter Fields¶
Field Index¶
= (objectVolume) : Double |
Max Value : Double |
v1U : Integer |
= (boxVolume) : Double |
Min Value : Double |
v1X : Integer |
Bounding Box : String |
Object Size : Integer |
v1Y : Integer |
Box Size : Integer |
progress : Double |
v1Z : Integer |
eC : Integer |
Up To Date : Bool |
v2C : Integer |
eT : Integer |
Update : Trigger |
v2T : Integer |
eU : Integer |
Update Mode : Enum |
v2U : Integer |
eX : Integer |
Use (useMin) : Bool |
v2X : Integer |
Extent : IntVector6 |
Use (useMax) : Bool |
v2Y : Integer |
eY : Integer |
v1C : Integer |
v2Z : Integer |
eZ : Integer |
v1T : Integer |
Visible Fields¶
Bounding Box¶
-
name:
boundingBox
, type:
String
, persistent:
no
¶ Shows both corners of the bounding box which are still within the box.
If not defined the values are (0, 0, 0, 0, 0, 0) and (-1, -1, -1, -1, -1, -1).
Extent¶
-
name:
boundingBoxExtent
, type:
IntVector6
, persistent:
no
¶ Shows the extent of the bounding box in voxels.
If the bounding box is empty, the value is (0, 0, 0, 0, 0, 0).
Use (useMin)¶
-
name:
useMin
, type:
Bool
, default:
TRUE
¶ Use
minimum voxel value
.
Use (useMax)¶
-
name:
useMax
, type:
Bool
, default:
FALSE
¶ Use
maximum voxel value
.
Min Value¶
-
name:
objectMin
, type:
Double
, default:
1
, deprecated name:
IntMin
¶ Sets the minimum voxel value. Only used if
Use Min Value
is true.
Max Value¶
-
name:
objectMax
, type:
Double
, default:
1
, deprecated name:
IntMax
¶ Sets the maximum voxel value. Only used if
Use Max Value
is true.
Update Mode¶
-
name:
updateMode
, type:
Enum
, default:
AutoUpdate
, deprecated name:
AutoCompute
¶ Defines how module reacts to input changes.
Values:
Title | Name | Deprecated Name | Description |
---|---|---|---|
Update | AutoUpdate | TRUE | The module updates its output on any input or field change. |
Clear | AutoClear | FALSE,Off | The module invalidates its output on any input or field change. |
Update¶
-
name:
update
, type:
Trigger
, deprecated name:
CalcBox,Calculate
¶ If pressed, the module updates its output.
Up To Date¶
-
name:
upToDate
, type:
Bool
, persistent:
no
, deprecated name:
ResultsValid
¶ Shows if the module’s output is up-to-date.