imref2d
Reference 2-D image to world coordinates
Description
An imref2d
object stores the relationship between the
intrinsic coordinates anchored to the rows and columns of a 2-D image and the spatial
location of the same row and column locations in a world coordinate
system.
The image is sampled regularly in the planar world-x and world-y coordinate system such that intrinsic-x values align with world-x values, and intrinsic-y values align with world-y values. The resolution in each dimension can be different.
Creation
You can create an imref2d
object in these ways.
affineOutputView
— Store the spatial extent of an image that is warped by a 2-D affine geometric transformation.The
imref2d
function described here
Syntax
Description
creates an
R
= imref2dimref2d
object with default property settings.
sets the
optional R
= imref2d(imageSize)ImageSize
property.
sets the optional R
= imref2d(imageSize,pixelExtentInWorldX,pixelExtentInWorldY)ImageSize
, PixelExtentInWorldX
, and PixelExtentInWorldY
properties.
sets the optional R
= imref2d(imageSize,xWorldLimits,yWorldLimits)ImageSize
, XWorldLimits
, and YWorldLimits
properties.
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
Tips
Extended Capabilities
Version History
Introduced in R2013a