Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new filter : calculate 2d/3d relative distance and height to target pointcloud #4252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dezhi-l
Copy link

@dezhi-l dezhi-l commented Nov 22, 2023

  • using one point cloud as a reference, calculate the relative elevation and distance values of another point cloud
  • As shown below, it is rendered according to the relative elevation dimension.
    The red point is the reference point cloud (the ins trajectory point), and the other is the point cloud rendered according to the relative elevation.
    image

{
PointLayoutPtr layout(table.layout());

if (layout->findDim("X") == Dimension::Id::Unknown ||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire function is unnecessary. X, Y and Z are guaranteed to exist.

else
{

KD3Index &kd_fixed3D = this->m_target->build3dIndex();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want to build both indices.

Copy link
Contributor

@abellgithub abellgithub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a documentation page.

@hobu
Copy link
Member

hobu commented Dec 19, 2023

I don't understand what this is supposed to do. How is it different (besides being way less sophisticated) than filters.icp? Or filters.geomdistance (which is admittedly quite simple)?

@hobu
Copy link
Member

hobu commented Feb 20, 2024

This will need some updates soon if it is to make the upcoming PDAL 2.7.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants