bwselect3D
bwselect3D returns a binary 3D image containing the objects that overlap the voxel (R,C,SLICE). R and C can be scalars or equal-length vectors. SLICE is a positive integer scalar, representing a z-coordinate slice of the considered 3D image to show as a 2D image. If R and C are vectors, the output contains the set of objects overlapping with any of the voxels (R(k),C(k),SLICE). N can have a value of either 6, 16 or 26 (the default), where 6 specifies 6-connected 3D objects, 16 specifies 16-connected 3D objects and 26 specifies 26-connected 3D objects.
Cite As
Laurent Navarro (2026). bwselect3D (https://www.mathworks.com/matlabcentral/fileexchange/38130-bwselect3d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
