Patent ID: 8836766

Claim:
A method for preparing a spatial coded slide image in which a pattern of said spatial coded slide image is aligned along epipolar lines at an output of a projector in a system for 3D measurement of a shape of an object, having the projector and a camera in full-field structured light, comprising: obtaining a set of distortion vectors for projector coordinates of said projector, each said distortion vector representing a distortion from predicted coordinates caused by said projector; retrieving an ideal pattern image, wherein said ideal pattern image is an ideal image of the spatial coded pattern aligned on ideal epipolar lines; creating a real slide image by, for each real pixel coordinates of the real slide image, retrieving a current distortion vector from said set using said real pixel coordinates; removing distortion from said real pixel coordinates using the current distortion vector to obtain ideal pixel coordinates in the ideal pattern image; extracting a pixel value at the ideal pixel coordinates in the ideal pattern image; copying the pixel value at the real pixel coordinates in the real slide image.