ImageStatistics
-
MLModule
| genre |
Statistics |
| status |
stable |
| author |
Wolf Spindler |
| package |
MeVisLab/Standard |
| dll |
MLMiscModules |
| definition |
MLMiscModules.def |
| see also |
Info, ImagePropertyConvert, MinMaxScan, Scale |
| keywords |
average, mean, absolute, variance, median, slice, standard, deviation, bounding, box, minimum, maximum, partial, effect, volume, statistic, weight, interval, count, voxels |
Purpose
The module ImageStatistics computes some statistics of the input image voxels.
A subset of voxels is selected depending on the voxels' grey values and a grey value interval (inner interval) defined by the parameter fields Min and Max.
To support the analysis of partial volume effects, two additional, adjacent intervals can be defined by the parameter fields Lower Width and Upper Width. Hence, the statistical information is computed for the following subsets:
- Total: all input voxels
- Inner: voxels within the inner interval
- Outer: voxels outside the inner interval
- Lower: voxels within the lower adjacent interval
- Upper: voxels within the upper adjacent interval
On each interval the number of voxels, the corresponding volume, the minimum and maximum values, the mean value and the mean of the absolute voxel values, the variance, the standard deviation and the bounding box (in X, Y, Z, C, T, and U) are calculated.
The computation is either applied to the complete input image, or - if Per Slice is checked - to the slice specified by the Current Slice field.
If a second input image is provided, activating the Use Mask Image setting restricts the computation to voxels for which the corresponding value in the second image is non-zero.
Details
In the lower and upper adjacent intervals the evaluation of partial volume effects is supported by weighting voxels with their distance to the inner interval.
The weighted voxel count is displayed as Weight in the results section. This value can be interpreted as the statistical contribution of the partial volume effect to the number of voxels in the inner interval.
Windows
Default Panel
legacy
Parameter Fields
Visible Fields
Min
-
name: innerMin, type: Double, default: 0
Sets the lower voxel value if the module should work on an interval mask.
Max
-
name: innerMax, type: Double, default: 1
Sets the upper voxel value if the module should work on an interval mask.
Update
-
name: update, type: Trigger, deprecated name: calculateStatistics
If pressed, the information fields are being updated.
Auto Update
-
name: autoUpdate, type: Bool, default: FALSE, deprecated name: autoCompute
If checked, the module updates its information fields on each parameter or input image change.
Per Slice
-
name: perSlice, type: Bool, default: FALSE
If checked, the module computes the statistical information only on slice specified in Current Slice.
Current Slice
-
name: currentSlice, type: Integer, default: 0, minimum: 0
Sets the number of the slice the module should compute information for.
Results Valid
-
name: resultsValid, type: Bool, persistent: no
Shows whether the results are currently valid.
#Voxels out of range
-
name: voxelsOutOfRange, type: Integer, persistent: no
Shows the number of voxels in the image but not in the value interval set by Min and Max.
Total Voxels
-
name: totalVoxels, type: Integer, persistent: no, deprecated name: numVoxels
Shows the number of voxels in the whole image.
3DVolume (totalVolume)
-
name: totalVolume, type: Double, persistent: no, deprecated name: voxelVolume
Shows the volume in mm3 of the whole image.
Minimum (totalMinVal)
-
name: totalMinVal, type: Double, persistent: no, deprecated name: minVoxel
Shows the minimum value of the whole image.
Maximum (totalMaxVal)
-
name: totalMaxVal, type: Double, persistent: no, deprecated name: maxVoxel
Shows the maximum value of the whole image.
Average (totalMean)
-
name: totalMean, type: Double, persistent: no, deprecated name: avrgVoxels
Shows the average value of the whole image.
Abs Average (totalAbsMean)
-
name: totalAbsMean, type: Double, persistent: no, deprecated name: absAvrgVoxels
Shows the absolute value of the average of all values in the whole image.
Variance (totalVariance)
-
name: totalVariance, type: Double, persistent: no, deprecated name: variance
Shows the variance value of the whole image.
Total Std Dev
-
name: totalStdDev, type: Double, persistent: no, deprecated name: stdDeviation
Shows the standard deviation of the values of the whole image.
X1 (bBoxX1)
-
name: bBoxX1, type: Integer, persistent: no
Shows the x-coordinate of the first corner of the bounding box of the whole image.
Y1 (bBoxY1)
-
name: bBoxY1, type: Integer, persistent: no
Shows the y-coordinate of the first corner of the bounding box of the whole image.
Z1 (bBoxZ1)
-
name: bBoxZ1, type: Integer, persistent: no
Shows the z-coordinate of the first corner of the bounding box of the whole image.
C1 (bBoxC1)
-
name: bBoxC1, type: Integer, persistent: no
Shows the c-coordinate of the first corner of the bounding box of the whole image.
T1 (bBoxT1)
-
name: bBoxT1, type: Integer, persistent: no
Shows the t-coordinate of the first corner of the bounding box of the whole image.
U1 (bBoxU1)
-
name: bBoxU1, type: Integer, persistent: no
Shows the u-coordinate of the first corner of the bounding box of the whole image.
X2 (bBoxX2)
-
name: bBoxX2, type: Integer, persistent: no
Shows the x-coordinate of the second corner of the bounding box of the whole image.
Y2 (bBoxY2)
-
name: bBoxY2, type: Integer, persistent: no
Shows the y-coordinate of the second corner of the bounding box of the whole image.
Z2 (bBoxZ2)
-
name: bBoxZ2, type: Integer, persistent: no
Shows the z-coordinate of the second corner of the bounding box of the whole image.
C2 (bBoxC2)
-
name: bBoxC2, type: Integer, persistent: no
Shows the c-coordinate of the second corner of the bounding box of the whole image.
T2 (bBoxT2)
-
name: bBoxT2, type: Integer, persistent: no
Shows the t-coordinate of the second corner of the bounding box of the whole image.
U2 (bBoxU2)
-
name: bBoxU2, type: Integer, persistent: no
Shows the u-coordinate of the second corner of the bounding box of the whole image.
Num Voxels (innerVoxels)
-
name: innerVoxels, type: Integer, persistent: no, deprecated name: numInnerVoxels
Shows the number of voxels within the value interval.
3DVolume (innerVolume)
-
name: innerVolume, type: Double, persistent: no, deprecated name: innerVoxelVolume
Shows the volume in mm3 within the value interval.
Minimum (innerMinVal)
-
name: innerMinVal, type: Double, persistent: no, deprecated name: minInnerVoxel
Shows the minimum value within the value interval.
Maximum (innerMaxVal)
-
name: innerMaxVal, type: Double, persistent: no, deprecated name: maxInnerVoxel
Shows the maximum value within the value interval.
Average (innerMean)
-
name: innerMean, type: Double, persistent: no, deprecated name: avrgInnerVoxels
Shows the average value within the value interval.
Abs Average (innerAbsMean)
-
name: innerAbsMean, type: Double, persistent: no, deprecated name: absAvrgInnerVoxels
Shows the absolute value of the average of all values within the value interval.
Variance (innerVariance)
-
name: innerVariance, type: Double, persistent: no
Shows the variance value within the value interval.
Std Deviation (innerStdDev)
-
name: innerStdDev, type: Double, persistent: no, deprecated name: innerStdDeviation
Shows the standard deviation within the value interval.
X1 (bBoxInX1)
-
name: bBoxInX1, type: Integer, persistent: no
Shows the x-coordinate of the first corner of the bounding box of the voxels within the volume interval.
Y1 (bBoxInY1)
-
name: bBoxInY1, type: Integer, persistent: no
Shows the y-coordinate of the first corner of the bounding box of the voxels within the volume interval.
Z1 (bBoxInZ1)
-
name: bBoxInZ1, type: Integer, persistent: no
Shows the z-coordinate of the first corner of the bounding box of the voxels within the volume interval.
C1 (bBoxInC1)
-
name: bBoxInC1, type: Integer, persistent: no
Shows the c-coordinate of the first corner of the bounding box of the voxels within the volume interval.
T1 (bBoxInT1)
-
name: bBoxInT1, type: Integer, persistent: no
Shows the t-coordinate of the first corner of the bounding box of the voxels within the volume interval.
U1 (bBoxInU1)
-
name: bBoxInU1, type: Integer, persistent: no
Shows the u-coordinate of the first corner of the bounding box of the voxels within the volume interval.
X2 (bBoxInX2)
-
name: bBoxInX2, type: Integer, persistent: no
Shows the x-coordinate of the second corner of the bounding box of the voxels within the volume interval.
Y2 (bBoxInY2)
-
name: bBoxInY2, type: Integer, persistent: no
Shows the y-coordinate of the second corner of the bounding box of the voxels within the volume interval.
Z2 (bBoxInZ2)
-
name: bBoxInZ2, type: Integer, persistent: no
Shows the z-coordinate of the second corner of the bounding box of the voxels within the volume interval.
C2 (bBoxInC2)
-
name: bBoxInC2, type: Integer, persistent: no
Shows the c-coordinate of the second corner of the bounding box of the voxels within the volume interval.
T2 (bBoxInT2)
-
name: bBoxInT2, type: Integer, persistent: no
Shows the t-coordinate of the second corner of the bounding box of the voxels within the volume interval.
U2 (bBoxInU2)
-
name: bBoxInU2, type: Integer, persistent: no
Shows the u-coordinate of the second corner of the bounding box of the voxels within the volume interval.
Num Voxels (outerVoxels)
-
name: outerVoxels, type: Integer, persistent: no, deprecated name: numOuterVoxels
Shows the number of voxels outside the value interval.
3DVolume (outerVolume)
-
name: outerVolume, type: Double, persistent: no, deprecated name: outerVoxelVolume
Shows the volume in mm3 outside the value interval.
Minimum (outerMinVal)
-
name: outerMinVal, type: Double, persistent: no, deprecated name: minOuterVoxel
Shows the minimum value outside the value interval.
Maximum (outerMaxVal)
-
name: outerMaxVal, type: Double, persistent: no, deprecated name: maxOuterVoxel
Shows the maximum value outside the value interval.
Average (outerMean)
-
name: outerMean, type: Double, persistent: no, deprecated name: avrgOuterVoxels
Shows the absolute value outside the value interval.
Abs Average (outerAbsMean)
-
name: outerAbsMean, type: Double, persistent: no, deprecated name: absAvrgOuterVoxels
Shows the absolute value of the average of values outside the value interval.
Variance (outerVariance)
-
name: outerVariance, type: Double, persistent: no
Shows the variance value outside the value interval.
Std Deviation (outerStdDev)
-
name: outerStdDev, type: Double, persistent: no, deprecated name: outerStdDeviation
Shows the standard deviation outside the value interval.
X1 (bBoxOutX1)
-
name: bBoxOutX1, type: Integer, persistent: no
Shows the x-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
Y1 (bBoxOutY1)
-
name: bBoxOutY1, type: Integer, persistent: no
Shows the y-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
Z1 (bBoxOutZ1)
-
name: bBoxOutZ1, type: Integer, persistent: no
Shows the z-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
C1 (bBoxOutC1)
-
name: bBoxOutC1, type: Integer, persistent: no
Shows the c-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
T1 (bBoxOutT1)
-
name: bBoxOutT1, type: Integer, persistent: no
Shows the t-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
U1 (bBoxOutU1)
-
name: bBoxOutU1, type: Integer, persistent: no
Shows the u-coordinate of the first corner of the bounding box of the voxels outside the volume interval.
X2 (bBoxOutX2)
-
name: bBoxOutX2, type: Integer, persistent: no
Shows the x-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
Y2 (bBoxOutY2)
-
name: bBoxOutY2, type: Integer, persistent: no
Shows the y-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
Z2 (bBoxOutZ2)
-
name: bBoxOutZ2, type: Integer, persistent: no
Shows the z-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
C2 (bBoxOutC2)
-
name: bBoxOutC2, type: Integer, persistent: no
Shows the c-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
T2 (bBoxOutT2)
-
name: bBoxOutT2, type: Integer, persistent: no
Shows the t-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
U2 (bBoxOutU2)
-
name: bBoxOutU2, type: Integer, persistent: no
Shows the u-coordinate of the second corner of the bounding box of the voxels outside the volume interval.
Lower Width
-
name: lowerWidth, type: Double, default: 0, deprecated name: leftDelta
Sets the lower width value for adjacent intervals.
Num Voxels (lowerVoxels)
-
name: lowerVoxels, type: Integer, persistent: no, deprecated name: numLDeltaVoxels
Shows the number of voxels within the lower adjacent interval.
3DVolume (lowerVolume)
-
name: lowerVolume, type: Double, persistent: no, deprecated name: lDeltaVoxelVolume
Shows the volume in mm3 within the lower adjacent interval.
Minimum (lowerMinVal)
-
name: lowerMinVal, type: Double, persistent: no, deprecated name: minLDeltaVoxels
Shows the minimum value within the lower adjacent interval.
Maximum (lowerMaxVal)
-
name: lowerMaxVal, type: Double, persistent: no, deprecated name: maxLDeltaVoxels
Shows the maximum value within the lower adjacent interval.
Average (lowerMean)
-
name: lowerMean, type: Double, persistent: no, deprecated name: avrgLDeltaVoxels
Shows the average value within the lower adjacent interval.
Abs Average (lowerAbsMean)
-
name: lowerAbsMean, type: Double, persistent: no, deprecated name: absAvrgLDeltaVoxels
Shows the absolute value of values within the lower adjacent interval.
Variance (lowerVariance)
-
name: lowerVariance, type: Double, persistent: no, deprecated name: lDeltaVariance
Shows the variance within the lower adjacent interval.
Std Deviation (lowerStdDev)
-
name: lowerStdDev, type: Double, persistent: no, deprecated name: lDeltaStdDeviation
Shows the standard deviation within the lower adjacent interval.
X1 (bBoxLowX1)
-
name: bBoxLowX1, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaX1
Shows the x-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
Y1 (bBoxLowY1)
-
name: bBoxLowY1, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaY1
Shows the y-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
Z1 (bBoxLowZ1)
-
name: bBoxLowZ1, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaZ1
Shows the z-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
C1 (bBoxLowC1)
-
name: bBoxLowC1, type: Integer, persistent: no
Shows the c-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
T1 (bBoxLowT1)
-
name: bBoxLowT1, type: Integer, persistent: no
Shows the t-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
U1 (bBoxLowU1)
-
name: bBoxLowU1, type: Integer, persistent: no
Shows the u-coordinate of the first corner of the bounding box of the voxels within the lower adjacent interval.
X2 (bBoxLowX2)
-
name: bBoxLowX2, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaX2
Shows the x-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
Y2 (bBoxLowY2)
-
name: bBoxLowY2, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaY2
Shows the y-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
Z2 (bBoxLowZ2)
-
name: bBoxLowZ2, type: Integer, persistent: no, deprecated name: bBoxLeftDeltaZ2
Shows the z-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
C2 (bBoxLowC2)
-
name: bBoxLowC2, type: Integer, persistent: no
Shows the c-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
T2 (bBoxLowT2)
-
name: bBoxLowT2, type: Integer, persistent: no
Shows the t-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
U2 (bBoxLowU2)
-
name: bBoxLowU2, type: Integer, persistent: no
Shows the u-coordinate of the second corner of the bounding box of the voxels within the lower adjacent interval.
Weight (lowerWeight)
-
name: lowerWeight, type: Double, persistent: no, deprecated name: lDeltaWeight
Shows the weight within the lower adjacent interval.
Upper Width
-
name: upperWidth, type: Double, default: 0, deprecated name: rightDelta
Sets the upper width value for adjacent intervals.
Num Voxels (upperVoxels)
-
name: upperVoxels, type: Integer, persistent: no, deprecated name: numRDeltaVoxels
Shows the number of voxels within the upper adjacent interval.
3DVolume (upperVolume)
-
name: upperVolume, type: Double, persistent: no, deprecated name: rDeltaVoxelVolume
Shows the volume in mm3 within the upper adjacent interval.
Minimum (upperMinVal)
-
name: upperMinVal, type: Double, persistent: no, deprecated name: minRDeltaVoxels
Shows the minimum value within the upper adjacent interval.
Maximum (upperMaxVal)
-
name: upperMaxVal, type: Double, persistent: no, deprecated name: maxRDeltaVoxels
Shows the maximum value within the upper adjacent interval.
Average (upperMean)
-
name: upperMean, type: Double, persistent: no, deprecated name: avrgRDeltaVoxels
Shows the average value within the upper adjacent interval.
Abs Average (upperAbsMean)
-
name: upperAbsMean, type: Double, persistent: no, deprecated name: absAvrgRDeltaVoxels
Shows the absolute value of the average value within the upper adjacent interval.
Variance (upperVariance)
-
name: upperVariance, type: Double, persistent: no, deprecated name: rDeltaVariance
Shows the variance value within the upper adjacent interval.
Std Deviation (upperStdDev)
-
name: upperStdDev, type: Double, persistent: no, deprecated name: rDeltaStdDeviation
Shows the standard deviation within the upper adjacent interval.
X1 (bBoxUpX1)
-
name: bBoxUpX1, type: Integer, persistent: no, deprecated name: bBoxRightDeltaX1
Shows the x-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
Y1 (bBoxUpY1)
-
name: bBoxUpY1, type: Integer, persistent: no, deprecated name: bBoxRightDeltaY1
Shows the y-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
Z1 (bBoxUpZ1)
-
name: bBoxUpZ1, type: Integer, persistent: no, deprecated name: bBoxRightDeltaZ1
Shows the z-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
C1 (bBoxUpC1)
-
name: bBoxUpC1, type: Integer, persistent: no
Shows the c-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
T1 (bBoxUpT1)
-
name: bBoxUpT1, type: Integer, persistent: no
Shows the t-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
U1 (bBoxUpU1)
-
name: bBoxUpU1, type: Integer, persistent: no
Shows the u-coordinate of the first corner of the bounding box of the voxels within the upper adjacent interval.
X2 (bBoxUpX2)
-
name: bBoxUpX2, type: Integer, persistent: no, deprecated name: bBoxRightDeltaX2
Shows the x-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
Y2 (bBoxUpY2)
-
name: bBoxUpY2, type: Integer, persistent: no, deprecated name: bBoxRightDeltaY2
Shows the y-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
Z2 (bBoxUpZ2)
-
name: bBoxUpZ2, type: Integer, persistent: no, deprecated name: bBoxRightDeltaZ2
Shows the z-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
C2 (bBoxUpC2)
-
name: bBoxUpC2, type: Integer, persistent: no
Shows the c-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
T2 (bBoxUpT2)
-
name: bBoxUpT2, type: Integer, persistent: no
Shows the t-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
U2 (bBoxUpU2)
-
name: bBoxUpU2, type: Integer, persistent: no
Shows the u-coordinate of the second corner of the bounding box of the voxels within the upper adjacent interval.
Weight (upperWeight)
-
name: upperWeight, type: Double, persistent: no, deprecated name: rDeltaWeight
Shows the Shows the weight within the upper adjacent interval.
Use Mask Image
-
name: useMask, type: Bool, default: FALSE, deprecated name: useMaskField
If checked, the module computes the statistics only at voxels with a value other than 0 in the second attached image.
Mask Status
-
name: maskStatus, type: String, persistent: no, deprecated name: maskStatusField
Shows the status of the mask image.
Hidden Fields
totalSquaredAverage
-
name: totalSquaredAverage, type: Double, persistent: no
totalInnerSquaredAverage
-
name: totalInnerSquaredAverage, type: Double, persistent: no
innerMaxPosX
-
name: innerMaxPosX, type: Integer, persistent: no
innerMaxPosY
-
name: innerMaxPosY, type: Integer, persistent: no
innerMaxPosZ
-
name: innerMaxPosZ, type: Integer, persistent: no
innerMaxPosC
-
name: innerMaxPosC, type: Integer, persistent: no
innerMaxPosT
-
name: innerMaxPosT, type: Integer, persistent: no
innerMaxPosU
-
name: innerMaxPosU, type: Integer, persistent: no
innerMinPosX
-
name: innerMinPosX, type: Integer, persistent: no
innerMinPosY
-
name: innerMinPosY, type: Integer, persistent: no
innerMinPosZ
-
name: innerMinPosZ, type: Integer, persistent: no
innerMinPosC
-
name: innerMinPosC, type: Integer, persistent: no
innerMinPosT
-
name: innerMinPosT, type: Integer, persistent: no
innerMinPosU
-
name: innerMinPosU, type: Integer, persistent: no
totalOuterSquaredAverage
-
name: totalOuterSquaredAverage, type: Double, persistent: no
outerMaxPosX
-
name: outerMaxPosX, type: Integer, persistent: no
outerMaxPosY
-
name: outerMaxPosY, type: Integer, persistent: no
outerMaxPosZ
-
name: outerMaxPosZ, type: Integer, persistent: no
outerMaxPosC
-
name: outerMaxPosC, type: Integer, persistent: no
outerMaxPosT
-
name: outerMaxPosT, type: Integer, persistent: no
outerMaxPosU
-
name: outerMaxPosU, type: Integer, persistent: no
outerMinPosX
-
name: outerMinPosX, type: Integer, persistent: no
outerMinPosY
-
name: outerMinPosY, type: Integer, persistent: no
outerMinPosZ
-
name: outerMinPosZ, type: Integer, persistent: no
outerMinPosC
-
name: outerMinPosC, type: Integer, persistent: no
outerMinPosT
-
name: outerMinPosT, type: Integer, persistent: no
outerMinPosU
-
name: outerMinPosU, type: Integer, persistent: no