Dividing a bounding box into smaller cubes
2 views (last 30 days)
Show older comments
I am working on 3D data (x,y,z). I want to divide the bounding box surrounding all the points into smaller cubes (voxels) and then find out the number of boxes containing a point. I have already created the bounding box. Any help would be appreciated. Thanks.
0 Comments
Answers (1)
Image Analyst
on 11 Dec 2016
How do you want to divide up the box? If into equally sized boxes, then see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
If into sub regions that depend on the image, see qtdecomp().
3 Comments
Image Analyst
on 11 Dec 2016
I think you could probably use qtdecomp() for that if you had the right function to pass it.
See Also
Categories
Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!