imref3d
Reference 3-D image to world coordinates
Description
An imref3d object stores the relationship between the
intrinsic coordinates anchored to the columns, rows, and planes of a 3-D image and the
spatial location of the same column, row, and plane locations in a world coordinate
system.
The image is sampled regularly in the planar world-x, world-y, and world-z coordinates of the coordinate system such that intrinsic-x, -y and -z values align with world-x, -y, and -z values, respectively. The resolution in each dimension can be different.
Creation
You can create an imref3d object in these ways.
affineOutputView— Store the spatial extent of an image that is warped by a 3-D affine geometric transformation.The
imref3dfunction described here
Syntax
Description
creates an
R = imref3dimref3d object with default property settings.
also specifies the spatial extent of a single pixel in the
x-, y-, and
z-dimensions in the world coordinate system.R = imref3d(imageSize,pixExtentWorldX,pixExtentWorldY,pixExtentWorldZ)
Input Arguments
Output Arguments
Properties
Object Functions
contains | Determine if image contains points in world coordinate system |
intrinsicToWorld | Convert from intrinsic to world coordinates |
sizesMatch | Determine if object and image are size-compatible |
worldToIntrinsic | Convert from world to intrinsic coordinates |
worldToSubscript | Convert world coordinates to row and column subscripts |
Examples
More About
Extended Capabilities
Version History
Introduced in R2013a