View source: R/shape_reconstruction.R
summarize_vertices | R Documentation |
Given a cone of directions and a threshold, We take the sub-level sets that are above the given threshold, and for each direction in the cone, we compute the set of vertices that are associated with the selected sub-level sets. We then intersect the set of vertices that are associated with the sub-level sets across each direction in the cone; only taking the vertices that are reconstructed in each direction of the cone.
summarize_vertices(
dir,
complex,
rate_vals,
len,
reduction_operation = intersect,
threshold,
cone_size,
ball = TRUE,
ball_radius = 1,
radius = 0
)
dir |
(nx3 matrix) : The matrix of directions in the cone 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 in a given cone. |
len |
(int) : The number of sub-level sets to compute the (S/D) EC curve on in each direction. |
reduction_operation |
(function) The function to summarize the sets of vertices. We default to intersect, and recommend it. |
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) |
final_selected_vertices (vector) : Vector of the vertex indices that are reconstructed for a given cone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.