: [xIntrinsic, yIntrinsic, zIntrinsic] = worldToIntrinsic (r, xWorld, yWorld, zWorld)

Convert from world to intrinsic coordinates.

Converts world coordinates xWorld, yWorld and zWorld to intrinsic coordinates xIntrinsic, yIntrinsic and zIntrinsic of an image associated with the spatial referencing object r. If a point (xWorld(i), yWorld(i), zWorld(i)) falls outside the bounds of the image, its intrinsic coordinates are extrapolated, possibly resulting in negative values.

See also: imref2d, imref3d, intrinsicToWorld.

Package: image