create_comparison_matrix_mult_d: Generate design matrix from meshes in two directories....

View source: R/mesh_functions.R

create_comparison_matrix_mult_dR 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

Description

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

Usage

create_comparison_matrix_mult_d(
  directory1,
  directory2,
  directions,
  len,
  ball = FALSE,
  ball_radius = 1,
  ec_type = "ECT"
)

Arguments

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.

Value

final_matrix (matrix): The matrix containing the EC curves of the meshes from the two classes and the associated class labels.


lcrawlab/SINATRA documentation built on Sept. 13, 2023, 2 p.m.