concepts.vision.fm_match.diff3f.diff3f_utils#

Functions

cosine_similarity(a, b)

Compute the cosine similarity between two tensors.

cosine_similarity_batch(a, b[, batch_size])

Compute the cosine similarity between two tensors in a batch manner.

get_ball_query_radius(mesh_vertices[, ...])

Get the ball query radius.

get_maximal_distance(mesh_vertices)

Get the maximal distance between the mesh vertices.

hungarian_correspondence(similarity_matrix)

Compute the hungarian correspondence based on a similarity matrix.

project_features_on_pointcloud(mesh, pcd, ...)

Project the features on the pointcloud.