[XLim,YLim,ZLim] = sliceLimits(medVol,slice,direction)
extracts the X-, Y-, and Z-limits
for one slice, slice, in the specified direction
direction of the medicalVolume
object medVol. The slice limits are in the patient coordinate
system.
Get the limits for one slice of a medical volume created using a chest CT volume saved as a directory of DICOM files. The CT volume is part of a data set containing three CT volumes. The size of the entire data set is approximately 81 MB. Download the data set from the MathWorks® website, then unzip the folder.
Medical volume, specified as a medicalVolume object.
Slice index, specified as a positive integer scalar in the range [1,
numSlices], where numSlices is the number of
slices in the volume along the direction specified by
direction.
Limits of the volume in the x-dimension of the patient coordinate
system, returned as a 2-element numeric vector of the form [xMin
xMax]. The limits are in the units specified by the
SpatialUnits property of medVol.
Limits of the volume in the y-dimension of the patient coordinate
system, returned as a 2-element numeric vector of the form [yMin
yMax]. The limits are in the units specified by the
SpatialUnits property of medVol.
Limits of the volume in the z-dimension of the patient coordinate
system, returned as a 2-element numeric vector of the form [zMin
zMax]. The limits are in the units specified by the
SpatialUnits property of medVol.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.