Juyong / Fast_RNRR

Source code for the paper "Quasi-Newton Solver for Robust Non-Rigid Registration" (CVPR2020 Oral).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the "corres_pair_ids_" does not reflect the corresponding relationship between x and y

Sunzhiliang opened this issue · comments

rigid_T_ = point_to_point(rig_src_v, rig_tar_v, corres_pair_ids_);

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.