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

Extracting point cloud from TSDF by frustum #48

Open
VladMVLX opened this issue Feb 22, 2021 · 2 comments
Open

Extracting point cloud from TSDF by frustum #48

VladMVLX opened this issue Feb 22, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@VladMVLX
Copy link

Hello @neka-nat ,

Thank you for the great job you are doing with this project.

As I can observe from the code at current stage there is only full point cloud extraction possible from TSDF.
Are there any plans adding partial extraction by basic geometry figures such as frustum sphere or cube?

Thanks in advance.

@neka-nat
Copy link
Owner

Hi,
Thank you for the question!
Mesh extraction is currently being worked on. #4
Do you need to extract primitive shapes instead of meshes?

@VladMVLX
Copy link
Author

Hello @neka-nat,

Thank you for the response.
What I mean is partial extraction of pointcloud / mesh from TSDF by bounding primitives.
Practically it could look like:
TSDFVolume::ExtractPointCloud(const camera::PinholeCameraIntrinsic &intrinsic, const Eigen::Matrix4f &extrinsic) - For frustum extraction

TSDFVolume::ExtractPointCloud(const geometry::AxisAlignedBoundingBox &box) - For cube (AABB representation) extraction

or

TSDFVolume::ExtractPointCloud(const geometry::Sphere &sphere) - For sphere extraction

Thus this functions will extract points which lays inside of geometry figure.
This functionality can be very useful for realtime scanning and scan results editing.

@neka-nat neka-nat added the enhancement New feature or request label Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants