Skip to content

Commit

Permalink
STYL: Update shape documentation and feature names
Browse files Browse the repository at this point in the history
To better reflect computation method, explicitly name the two volume features `MeshVolume` and `VoxelVolume`.
Add documentation specifying the unless otherwise mentioned, features are based on the mesh approximation of the shape.

Only exceptions to this are the `VoxelVolume` and PCA-derived features (`MajorAxisLength`, `MinorAxisLength`,`LeastAxisLength`, `Elongation` and `Flatness`. For these features, it is explicitly stated in the documentation that these do not make use of the mesh approximation, but the segmented voxel(center)s themselves.
  • Loading branch information
JoostJM committed Sep 28, 2018
1 parent 1642170 commit 263e8b3
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 81 deletions.
10 changes: 5 additions & 5 deletions data/baseline/baseline_shape.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ general_info_VoxelNum,4137,453,143,837,24644
original_shape_Maximum3DDiameter,69.6009903059,24.4445322363,9.08101860833,21.3449467202,68.9824710303
original_shape_Maximum2DDiameterSlice,53.5939777692,16.3129789202,8.39979371027,16.6273237626,55.8023479973
original_shape_Sphericity,0.480242186182,0.75130449808,0.695903713518,0.748037658194,0.672409930059
original_shape_MinorAxis,34.849701666854706,13.383589687312323,5.4115477584202925,12.488622781409092,41.45975188669023
original_shape_MinorAxisLength,34.849701666854706,13.383589687312323,5.4115477584202925,12.488622781409092,41.45975188669023
original_shape_Elongation,0.5621171627174109,0.7407691177548188,0.6999838102754056,0.7187910312752432,0.7433464635239126
original_shape_SurfaceVolumeRatio,0.398386088279,0.535570612898,1.39322476873,0.587720147764,0.197495275935
original_shape_Volume,16149.4954427,1736.01786296,124.091304832,1330.97607931,48292.5216046
original_shape_MajorAxis,61.99722046980879,18.067153943831187,7.730961315078334,17.374483317150464,55.77446577218634
original_shape_MeshVolume,16149.4954427,1736.01786296,124.091304832,1330.97607931,48292.5216046
original_shape_MajorAxisLength,61.99722046980879,18.067153943831187,7.730961315078334,17.374483317150464,55.77446577218634
original_shape_SurfaceArea,6433.7343171,929.760150865,172.887079476,782.241457999,9537.54487991
original_shape_Flatness,0.46105975346582634,0.6188162226844603,0.6842246761542068,0.5143357681770733,0.569289235382734
original_shape_LeastAxis,28.584423185376522,11.180247958180265,5.289714502170174,8.93631822360633,31.75180297332843
original_shape_LeastAxisLength,28.584423185376522,11.180247958180265,5.289714502170174,8.93631822360633,31.75180297332843
original_shape_Maximum2DDiameterColumn,49.4908549791,23.593253306,7.12140846294,19.5556659888,65.3030786496
original_shape_Maximum2DDiameterRow,65.8890595172,20.7289284953,8.24091097816,17.5574948384,62.1026289395
original_shape_ApproximateVolume,16412.658691406243,1797.180175781249,132.42579545515324,1361.1978149414062,48434.108762463955
original_shape_VoxelVolume,16412.658691406243,1797.180175781249,132.42579545515324,1361.1978149414062,48434.108762463955
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,20 @@ setting:
# for that class. Otherwise, the specified features are calculated, or, if none are specified, all are calculated (excluding redundant/deprecated features).
featureClass:
shape: # disable redundant Compactness 1 and Compactness 2 features by specifying all other shape features
- 'Volume'
- 'SurfaceArea'
- 'SurfaceVolumeRatio'
- 'Compactness1'
- 'Compactness2'
- 'Sphericity'
- 'SphericalDisproportion'
- 'Maximum3DDiameter'
- 'Maximum2DDiameterSlice'
- 'Maximum2DDiameterColumn'
- 'Maximum2DDiameterRow'
- 'MajorAxis'
- 'MinorAxis'
- 'LeastAxis'
- 'Elongation'
- 'Flatness'
- VoxelVolume
- MeshVolume
- SurfaceArea
- SurfaceVolumeRatio
- Compactness1
- Compactness2
- Sphericity
- SphericalDisproportion
- Maximum3DDiameter
- Maximum2DDiameterSlice
- Maximum2DDiameterColumn
- Maximum2DDiameterRow
- MajorAxisLength
- MinorAxisLength
- LeastAxisLength
- Elongation
- Flatness
Loading

0 comments on commit 263e8b3

Please sign in to comment.