Dividing a bounding box into smaller cubes

2 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2016-12-11
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 个评论
Image Analyst
Image Analyst 2016-12-11
I think you could probably use qtdecomp() for that if you had the right function to pass it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Labeling, Segmentation, and Detection 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by