compute_selected_faces_cones: Reconstruct Faces

View source: R/shape_reconstruction.R

compute_selected_faces_conesR Documentation

Reconstruct Faces

Description

Given a set of variable importances, threshold, the function reconstructs the faces above the threshold by intersecting the sub-level sets of the directions in a cone with variable importance greater than the threshold.

Usage

compute_selected_faces_cones(
  dir,
  complex,
  rate_vals,
  len,
  threshold = -1,
  cone_size,
  ball = TRUE,
  ball_radius,
  radius = 0
)

Arguments

dir

(nx3 matrix) The matrix of directions that were used to compute the (S/D) EC curve over.

complex

(list) : The list containing metadata of the Vertices, Edges, and Faces of the mesh (use process_off_file_v3 to obtain).

rate_vals

(vector) : Vector of variable importances for each sub-level set across each direction

len

(int) : The number of sub-level sets to compute the (S/D) EC curve on in each direction.

threshold

(float) : The threshold for determining which sub-level sets are used for the reconstruction.

cone_size

(int) : The number of directions in each cone.

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.

radius

(int) : The number of sub-level sets "before" and "after" the selected sub-level sets we want to include. Setting Radius = 1 is recommened.

ec_type

(string) : What type of EC curve to compute. Currently we support ECT (Euler Characteristic Curve), SECT (Smooth Euler Characteristic Curve)

Value

total_selected_faces (vector) : Vector of the face indices that are reconstructed.


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