reposition
Description
updates the spatial referencing of the medVolRepositioned = reposition(medVol,tform)medicalVolume
object medVol according to the geometric transformation
tform to change the position of the volume in the patient coordinate
system. The underlying image data in the Voxels property of
medVol remains unchanged.
Examples
Input Arguments
Output Arguments
Tips
Use the
repositionobject function to change the location of a medical volume in patient coordinates without resampling the underlying voxel data. For example, apply the geometric transformation returned by a registration function to display registered volumes in the patient coordinate system usingvolshow. If your application requires you to resample the voxel data to match another volume, such as to view image slices together as an overlay or perform voxelwise comparisons, use theresamplefunction and specify theWorldTransformname-value argument.To update the orientation of the voxel data without changing the position of the volume in the patient coordinate system, use the
updateOrientationfunction.
Version History
Introduced in R2025a

