subvolume
Extract subset of volume data set
Syntax
[Nx,Ny,Nz,Nv] = subvolume(X,Y,Z,V,limits)
[Nx,Ny,Nz,Nv] = subvolume(V,limits)
Nv = subvolume(...)
Description
[Nx,Ny,Nz,Nv] = subvolume(X,Y,Z,V,limits)
extracts a subset of the volume data set V using
the specified axis-aligned limits. limits
= [xmin,xmax,ymin, ymax,zmin,zmax] (Any NaNs
in the limits indicate that the volume should not be cropped along
that axis.)
The arrays X, Y, and Z define
the coordinates for the volume V. The subvolume
is returned in NV and the coordinates of the subvolume
are given in NX, NY, and NZ.
[Nx,Ny,Nz,Nv] = subvolume(V,limits)
assumes the arrays X, Y, and Z are
defined as
[X,Y,Z] = meshgrid(1:N,1:M,1:P)
where [M,N,P] = size(V).
Nv = subvolume(...) returns
only the subvolume.
Examples
Extended Capabilities
Version History
Introduced before R2006a
See Also
isocaps | isonormals | isosurface | reducepatch | reducevolume | smooth3
