structure.list
composed of two or more structure3D
objects.compareStructures(structures,
method = c("axial", "surface", "hausdorff", "grid"),
hausdorff.method = c("mean", "median", "absolute"),
verbose = TRUE, plot = TRUE, pixels = 100)
structure.list
containing two or more structure3D
objects."axial"
, "surface"
, or "hausdorff"
specifying the comparison between structures. For the "axial"
method (default), the volumetric region of comparison is divided into discrete evenly-spaced voxels"mean"
, "median"
, or "absolute"
, specifying the method to use for Hausdorff distance measurement when method = "hausdorff"
. The "absolute"
Hausdorff distance yields the maximum distanTRUE
) indicating whether or not to print status updates to the active command line interface or workspace.TRUE
) indicating whether or not to display graphical comparison of structures. This parameter is only relevant when method = "axial"
, as it is otherwise ignored.100
) specifying the number of pixels in the x- and y-directions used for comparative calculations when method = "axial"
.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).structure.list
, structure3D
data("RadOnc")
# teeth.compare <- compareStructures(teeth, method="axial", plot=TRUE)
# compareStructures(teeth, method="hausdorff", hausdorff.method="mean")
Run the code above in your browser using DataLab