Vout = imcrop3(V,cuboid)
crops the image volume V according to cuboid,
which specifies the size and position of the cropping window in spatial coordinates.
V — Volume to be cropped numeric array | logical array | categorical array
Volume to be cropped, specified as a numeric, logical, or categorical array.
V can be a 3-D array that represents a single channel 3-D volume
or a 4-D array that represents a multichannel 3-D volume. If V
represents a multichannel 3-D volume, then imcrop3 crops the first
three dimensions only.
cuboid — Size and position of crop volume 6-element numeric vector | Cuboid object
Size and position of the crop volume in spatial coordinates, specified as a
6-element vector of the form [xmin ymin zmin width height depth] or a
images.spatialref.Cuboid object.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.