Calculates distance-based as well as volume-overlap-based agreement measures for comparing a single pair of 3D meshes.
get_mesh_agree_pair(x, metro, ui, boov=FALSE, do_ui=FALSE, chop=TRUE, ...)
data.frame
with these variables
Name of the first mesh of the pair.
Name of the second mesh of the pair.
The grouping variable indicating which pairs belong to the same structure.
Volume of the first mesh of the pair.
Volume of the second mesh of the pair.
Volume of the union.
Volume of the intersection.
Euclidean distance between the respective center of mass of both meshes.
Hausdorff distance - worst case, maximum of both directed Hausdorff distances.
Hausdorff distance - average, mean of both directed Hausdorff distancess.
Average symmetric surface distance.
Root mean squared symmetric surface distance.
Jaccard similarity coefficient.
Dice similarity coefficient.
list
of two 3D meshes that should be compared, e.g., a single component of the list generated by get_mesh_pairs
.
If already available, the distance-based measures as returned by get_mesh_metro_pair
. Will be generated if missing.
If already available, the mesh union and intersection as returned by get_mesh_ui_pair
. Will be generated if missing.
logical
. Use package MeshesUnion
/ MeshesIntersection
instead of the corresponding cgalMesh
methods for calculating union/intersection volumes. Depending on the meshes, this may have better performance.
logical
. Calculate volume-overlap-based measures from union/intersection volumes. More time intensive than distance-based measures.
logical
. Delete the components from output of vcgMetro
that will not be used later on.
Options passed to vcgMetro
.
Currently, no mesh can be designated gold standard. get_mesh_agree
calculates the agreement for a list of observer/mesh objects. get_mesh_metro_pair
calculates the pairwise distances. get_mesh_ui_pair
calculates the mesh union and intersection. For boov=TRUE
, package Boov
has to be installed separately.
Fotina et al. Critical discussion of evaluation parameters for inter-observer variability in target definition for radiation therapy. Strahlenther Onkol 2012; 188: 160-167.
Hanna et al. Geometrical Analysis of Radiotherapy Target Volume Delineation: a Systematic Review of Reported Comparison Methods. Clin Oncol 2010; 22, 515-525.
Heimann et al. Comparison and Evaluation of Methods for Liver Segmentation From CT Datasets. IEEE Trans Med Imaging 2009; 28: 1251-1265.
Sherer et al. Metrics to evaluate the performance of auto-segmentation for radiation treatment planning: A critical review. Radiother Oncol 2021; 160: 185-191.
get_mesh_pairs
,
get_mesh_metro_pair
,
get_mesh_ui_pair
heartL <- mesh3dL_to_cgalMeshL(data_heart_obsL)
pairL <- get_mesh_pairs(heartL)
get_mesh_agree_pair(pairL[[1]], do_ui=FALSE,
nSamples=500L, silent=TRUE)
Run the code above in your browser using DataLab