View source: R/mesh_functions.R
create_comparison_matrix_mult_d | R Documentation |
Generate design matrix from meshes in two directories. @description Given two classes & directories, we generate the (S/D) EC curves and the associated class labels
create_comparison_matrix_mult_d(
directory1,
directory2,
directions,
len,
ball = FALSE,
ball_radius = 1,
ec_type = "ECT"
)
directory1 |
(string): The first directory corresponding to class 1. |
directory2 |
(string): The second directory correponding to class 2. |
directions |
(nx3 matrix): The matrix of directions to compute the (S/D) EC curve over. |
len |
(int): The number of sub-level sets to compute the (S/D) EC curve on in each direction. |
ball |
(boolean): Determining whether or not to compute the (S/D) EC curve on a ball for uniform comparisons. |
ball_radius |
(float): The radius of the ball to compute the (S/D) EC on; if you want the curve to be computed relative to the shape, don't touch this parameter. |
ec_type |
(string): What type of EC curve to compute. Currently we support ECT (Euler Characteristic Curve), SECT (Smooth Euler Characteristic Curve) and DECT (Differentiated Euler Characteristic Curve). We use ECT in the papers. |
final_matrix (matrix): The matrix containing the EC curves of the meshes from the two classes and the associated class labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.