Main Content
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 aCuboid
of a specified size whose position is centered on an image.randomCropWindow3d
— Create aCuboid
of a specified size whose position is selected randomly from inside an image.Running the command
creates ac = images.spatialref.Cuboid(XLimits,YLimits,ZLimits);
Cuboid
object and sets theXLimits
,YLimits
, andZLimits
properties.
Properties
Examples
Version History
Introduced in R2019b
See Also
imcrop3
| centerCropWindow3d
| randomCropWindow3d
| Rectangle
Topics
- Augment Images for Deep Learning Workflows (Deep Learning Toolbox)