the "corres_pair_ids_" does not reflect the corresponding relationship between x and y
Sunzhiliang opened this issue · comments
Fast_RNRR/src/Registration.cpp
Line 129 in b522fd0
I think the "corres_pair_ids_" does not reflect the corresponding relationship between x and y (rig_src_v, rig_tar_v), or maybe I have a slight misunderstanding?
Did you solve the problem?
@caijinana In Registration::rigid_init(Mesh& src_mesh, Mesh& tar_mesh, RegParas& paras), the "corres_pair_ids_ " has been resized.
#51 corres_pair_ids_.resize(n_src_vertex_);
Hi, correspondence_pairs_
reflects the corresponding pairs <source_idx, target_idx>. corres_pair_ids_
is the weight of each pair. For example, <1,2> is the first pair corresponding points by finding closest point, if it's reliable, we set corres_pair_ids_[0]=1
, else set 0
. There may be some ambiguity in the naming, and we will modify it or add more explanation later. Thanks for the feedback.