This page has all new content as of friday, november 16

On Tuesday November 14, we took a series of photos of the large yellow 
Lego brick. From these photos, angle + distance data was generated, 
and is stored in the following two files:


camera0-revision2.pickle
camera1-revision2.pickle
NOTE: These are slightly different from the previous version of the pickled data format. This also now requires that you have the fabscan.py code in order to read in the data. To read in the data, use the following procedure in python: >>> import cPickle >>> from fabscan import * >>> file = open('camera0-revision2.pickle','r') >>> sceneObject = cPickle.load(file) >>> file.close() >>> The variable sceneObject.partViews[0].part.partData is now an MxN array, where M is the number of discrete z values (heights) in the part, and N is the number of angles for which we have data. The variable sceneObject.partViews[0].part.partAngles is a vector of length N, containing the list of angles (in degerees) that correspond to the data in the sceneObject.partViews[0].part.partData matrix. All the python files used to generate this are available in the code directory. Python modules Tkinter, numpy and scipy are all required. In order to take advantage of the 3D visualization, you'll need VTK installed, but the rest of the code should be functional even if you don't have the prerequisites for the visualization portion. On windows, the Enthought python distribution comes with all the prerequisites, including vtk, so if you use it, you should have everything you need. Here are some images generated directly from the data. The first three images come from camera1 (Yannick's camera). Notice that there's a small gap cutting horizontally across the object about two-thirds of the way down from the top. This is actually where the object ends. Everything below that is reflection off the surface of the turntable:



The next three images are based on data from the webcam. These lack the turntable reflection (this probably results from a property of our setup, like the angle of the camera, rather than being caused by some property of the camera itself).