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

Convert from world to intrinsic coordinates.

Converts world coordinates xWorld and yWorld to intrinsic coordinates xIntrinsic and yIntrinsic of an image associated with the spatial referencing object r. If a point (xWorld(i), yWorld(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