Closed epicjung closed 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
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!
This is actually a problem, you could either discard this patch or repeat these three points by adding some little Gaussian noise.
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
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!