Dividing a bounding box into smaller cubes
조회 수: 4 (최근 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.
댓글 수: 0
답변 (1개)
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
2016년 12월 11일
I think you could probably use qtdecomp() for that if you had the right function to pass it.
참고 항목
카테고리
Help Center 및 File Exchange에서 Labeling, Segmentation, and Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!