Description Usage Arguments Value Examples
get_hausdorff_distance
computes the Hausdorff distance between the two input
streamlines.
get_L2_distance
computes the L2 distance between the two input
streamlines.
1 2 3 4 5 | get_hausdorff_distance(streamline1, streamline2)
get_L2_distance(streamline1, streamline2)
get_L1_distance(streamline1, streamline2)
|
streamline1 |
A |
streamline2 |
A |
A non-negative scalar representing the chosen distance between the two input streamlines.
1 2 3 4 5 6 7 8 | file <- system.file("extdata", "CC_SingleTensor.csv", package = "fiber")
cc <- read_tract(file)
tmp <- reparametrize_tract(cc, grid_length = 50L)
str1 <- tmp$data[[1]]
str2 <- tmp$data[[2]]
get_hausdorff_distance(str1, str2)
get_L2_distance(str1, str2)
get_L1_distance(str1, str2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.