fabiopoiesi / dip

Project page of the paper "Distinctive 3D local deep descriptors" accepted in IEEE International Conference on Pattern Recognition 2020.
65 stars 4 forks source link

Problem of no points inside the kernel size #15

Closed epicjung closed 2 years ago

epicjung commented 2 years ago

Hi, I am really appreciated with your works!

I am just wondering how you dealt with the situation where no points or fewer than 3 points are inside the LRF kernel in lpf.py:

https://github.com/fabiopoiesi/dip/blob/6b72d5c370793d91efd3560c9f1819f731b34da4/lrf.py#L21

This results in complex numbers in xp, yp, zp.

https://github.com/fabiopoiesi/dip/blob/6b72d5c370793d91efd3560c9f1819f731b34da4/lrf.py#L45

image

How did you resolve this problem?

As a solution, putting in zero xyz values to the patch would be a problem. Any ideas?

Thank you very much!

fabiopoiesi commented 2 years ago

This is actually a problem, you could either discard this patch or repeat these three points by adding some little Gaussian noise.