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

How to resize draw_pointcloud? #6238

Closed
duongbaoquy opened this issue Apr 15, 2020 · 2 comments
Closed

How to resize draw_pointcloud? #6238

duongbaoquy opened this issue Apr 15, 2020 · 2 comments

Comments

@duongbaoquy
Copy link

duongbaoquy commented Apr 15, 2020

Hi,
I'm using D435i camera, when i use command draw_pointcloud it works fine. But now i want to resize the view to see only the red zone ( in the image):
Untitled
Is it possible?
Thanks

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Apr 15, 2020

It sounds as though you do not want to change the scale of the point cloud, but instead exclude all of the data outside of the red box. This can be done with a 'bounding box'.

It would likely be more complex to define a three-dimensional bounding box for a point cloud than it would be for a 2D image though. One RealSense user approached the problem by using a struct to define minimum and maximum values for X and Y and then getting the point cloud points.

#2016 (comment)

The simpler approach is to move the camera closer to the object if possible so that it fills more of the field of view, with less unwanted space around it.

@duongbaoquy
Copy link
Author

duongbaoquy commented Apr 16, 2020

@MartyG-RealSense
Thanks for your reply, i'll try it now

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

No branches or pull requests

2 participants