Juyong / Fast_RNRR

Source code for the paper "Quasi-Newton Solver for Robust Non-Rigid Registration" (CVPR2020 Oral).
269 stars 51 forks source link

Error: Some points cannot be covered under the specified radius, please increase the radius #7

Closed chenxhhh closed 3 years ago

chenxhhh commented 3 years ago

I use this code for face rigistration. when I ran this code, the error occured. this is the source img

image

this is the target img

image

I would be appreciate it if you can tell me how to fix this error.

yaoyx689 commented 3 years ago

Thank you for your feedback. This is because the node sampling method is uniform. When the model points are not very uniform and the sampling radius is small, some sampling points are not covered by any mesh vertices, and this error will be caused. So 1) Make sure that there are no isolated vertices in the input source model. 2) Increase node sampling radius of deformation graph by setting "paras.uni_sample_radio" with a bigger value in "main.cpp". This operation will work.

chenxhhh commented 3 years ago

Thank you for your reply. It works now.

xiecookie commented 3 years ago

hello, could I ask how you solved this question?by changing the "uni_sample_radio" parameter?

sun421-cloud commented 2 years ago

Thank you for your reply. It works now.

hello, I change the parameter called "uni_sample_radio", but the error "Some points cannot be covered under the specified radius, please increase the radius" is still exist. Have you ever come across this problem?

seunguk-do commented 2 years ago

hello, I have same problem too. I have tried to apply this code to the meshes attached below. I've tried several values of "uni_sample_radio", but they all failed. Can you give me any advice ?

Screen Shot 2022-01-25 at 3 53 41 PM Screen Shot 2022-01-25 at 3 53 49 PM