MATLAB: How can we refer world coordinate to image coordinates?

image processing

I know that matlab has imref2d function that refers image coordinates to world coordinates, but I cannot find a function that does the opposite, is there any?
Thanks in advance