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

Crop image in X and Y axes #36

Open
karolsenami opened this issue May 2, 2023 · 1 comment
Open

Crop image in X and Y axes #36

karolsenami opened this issue May 2, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@karolsenami
Copy link

Hi @keijiro, thanks for sharing your work, it's really good experimenting with Kinect Point Cloud !

I'm looking to remove some points from the DepthMap based on a crop in the image, how would you recommend doing this ?

@keijiro keijiro self-assigned this May 3, 2023
@keijiro keijiro added the question Further information is requested label May 3, 2023
@waisoon901
Copy link

float mask = (coord.z > 0 && coord.z < MaxDepth &&
              coord.x >= MinBounds.x && coord.x <= MaxBounds.x &&
              coord.y >= MinBounds.y && coord.y <= MaxBounds.y &&
              coord.z >= MinBounds.z && coord.z <= MaxBounds.z) ? 1.0 : 0.0;   probably a mask in the compute shader code

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

No branches or pull requests

3 participants