11. imgtransf
Image transf. (image/slide) <---> (ref. plane)
[J,u,v] = imgtransf(sel,I)
[J,u,v] = imgtransf(sel,I,x,y)
[J,u,v] = imgtransf(sel,I,x,y,roi)
[J,u,v] = imgtransf(sel,I,x,y,roi,col)
Inputs / outputs
- sel = {'cam'|'proj', idx} (Array); Device behavior and pose.
- I = Image to be transformed
- If sel = 'cam', I is transformed from (ref. plane) to (device surface).
- If sel = 'proj', I is transformed from (device surface) to (ref. plane).
- x and y = [] or axes of the input image.
- roi = Region of interest and resolution.
- roi = []; Normalized coords and input image resolution are used.
- roi = [M,N]; Normalized coords and resolution [M,N] are used.
- roi = Coordinate axes and resolution specified as:
[umin,umax,N
vmin,vmax,M] - col = [] or background color.