View source: R/compareStructures.R
compareStructures | R Documentation |
Three-dimensional structural comparison of a structure.list
composed of two or more structure3D
objects.
compareStructures(structures, method = NULL,
hausdorff.method = NULL, verbose = TRUE, plot = TRUE, pixels = 100)
structures |
An object of class |
method |
One of |
hausdorff.method |
One of |
verbose |
Logical value (default is |
plot |
Logical value (default is |
pixels |
Integer value (default is |
When method = "hausdorff"
, the function returns a NxN matrix of pairwise Hausdorff distances, where N is the number of structures in structures
. When method = "axial"
or method = "surface"
, the function returns a Mx(N+3) dimensional matrix representing a list of M points in three-dimensional space and a table of values denoting whether each point is internal or external to each structure (note that the first three columns in the matrix represent the xyz coordinates for each point and values of 1
and 0
represent internal and external points, respectively).
Reid F. Thompson (reid.thompson@gmail.com)
structure.list
, structure3D
data("RadOnc")
compareStructures(teeth, method="DSC")
# teeth.compare <- compareStructures(teeth, method="axial", plot=TRUE)
# compareStructures(teeth, method="hausdorff", hausdorff.method="mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.