Cuboid
Spatial extents of 3-D cuboidal region
Description
A Cuboid object stores the spatial extents of a 3-D volumetric
      image.
Creation
You can create a Cuboid object in several ways.
- centerCropWindow3d— Create a- Cuboidof a specified size whose position is centered on an image.
- randomCropWindow3d— Create a- Cuboidof a specified size whose position is selected randomly from inside an image.
- Running the command creates a- c = images.spatialref.Cuboid(XLimits,YLimits,ZLimits); - Cuboidobject and sets the- XLimits,- YLimits, and- ZLimitsproperties.
Properties
Examples
Version History
Introduced in R2019b
See Also
imcrop3 | centerCropWindow3d | randomCropWindow3d | Rectangle
Topics
- Augment Images for Deep Learning Workflows (Deep Learning Toolbox)



