FUNCTION REFERENCE
worldToIntrinsic
Convert world coordinates to intrinsic (pixel) coordinates of an imref2d.
Convert world coordinates to intrinsic (pixel) coordinates of an imref2d.
Syntax
[xIntrinsic, yIntrinsic] = worldToIntrinsic(R, xWorld, yWorld)xIntrinsic = 0.5 + (xWorld - XWorldLimits(1)) / PixelExtentInWorldX, likewise for y. Points outside the image are extrapolated, not NaN. xWorld and yWorld are same-size single or double arrays.
Example
[xi, yi] = worldToIntrinsic(imref2d([2 3], 2, 4), 3, 6) % 1.5, 1.5Differences from MATLAB: imref3d is not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.