Download Tasm 4 User Manual - Stephen Milborrow
Transcript
9.4 The imputation algorithm 44 Figure 9.3: Start shapes with a three-quarter model. Left Start shape initialized from just the eye positions (ESTART EYES). Right Better start shape from both the eyes and mouth (ESTART EYE AND MOUTH). This is a fairly extreme example. With other images the discrepancy will not be as big. of the non-imputed points and uses the model (with a limited number of eigenvectors) to predict the positions of the missing points. It iterates until the points are stable. See tasmimpute.cpp. Once this is done there is optional further processing which is controlled by configuration constants in tasmconf.h. With the default settings of these constants, this further processing does not occur. It it not clear at this time how these constants should best be defined. We suggest you leave them disabled initially and then experiment with different settings. The optional further processing is as follows: (i) If TASM REBUILD SUBSET is specified, after imputing the shapes Tasm rebuilds the shape model using the specified subset of imputed shapes. For example, in the above example after using the b and c shapes to build the initial shape model, we can specify that just the c shapes should be used to build the final shape model. To do this, set TASM REBUILD SUBSET = "c". See the comments in tasmconf.h. (ii) If TASM SUBSET DESC MODS is set true, Tasm uses only the above subset to build the descriptor models.