siavashk / pycpd

Pure Numpy Implementation of the Coherent Point Drift Algorithm
MIT License
510 stars 115 forks source link

How to find corresponding points between target and source point clouds? #58

Closed mirickmi closed 2 years ago

mirickmi commented 2 years ago

Hi,

is there a way to access a matrix with indices that tells me which point from the target corresponds to which point from the source?

gattia commented 2 years ago

I wouldn’t usually use it that way. Instead, i would usually use one point cloud as the template and then wherever the points land on the target after registration those are the new points for the target. This guarantees one-to-one point correspondences. And If you want to register many point clouds together they all have this perfect correspondence to the one template.

Sent from my iPhone

On May 29, 2022, at 8:57 AM, mirickmi @.***> wrote:

 Hi,

is there a way to access a matrix with indices that tells me which point from the target corresponds to which point from the source?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

mirickmi commented 2 years ago

Okay, thanks a lot for your fast reply! :-) I'm fairly new to this topic and probably misunderstood something.