Are there preferred patterns for creating texture on objects to aid computer vision?

In the comment to this answer using a laser diode and diffraction grating to provide texture on a surface was suggested to aid in height calculations in a computer vision system.

I believe the pattern that I'm familiar with is projecting a chessboard pattern on the object. I was under the (incomplete) understanding that the deformation of the projected image was somehow used directly. That is to say the formerly square pattern that is projected becomes a curved polygon and the transformation back to a square gave some information about the 3D structure. Is this incorrect?

Are there preferred patterns? What are the dependencies in choosing a pattern? Does it depend on the shape, material, etc, of the target object or is it more a function of the amount of variability in the features?

• The Kinect mentioned in that comment projects a pattern of dots: youtu.be/nvvQJxgykcU?t=36s Aug 17, 2011 at 21:28

Shi and Tomasi's paper, Good features to track explains the criteria for choosing patterns: two-dimensional localizability, or "cornerness".

To put it simply, suppose you are trying to find an object at position (x,y), but instead the object appears in the image at (x + dx, y + dy). It is not very useful if our vision system can only tell us that "no, the position is wrong." Instead, we expect the vision system to be able to estimate the amounts dx and dy provided that it is not too far off.

A sharp point (dot) is the most cornerful, but it is also easily buried in random pixel noise. By following through with the mathematics, we learn that there are other patterns that are just as cornerful as a sharp point. (Think about a 1D "edge" being a 1D delta transformed by integration.)

Some applications would call for localizability in fewer, or higher dimensions.