Dear Andreas,
Thank you so much for the direction. I found that the 2009 BFM model in the .h5 format also uses millimeter just like the 2019 BFM model, though the 2009 model in .mat format uses micrometer. And I was able to use the attribute.mat file now for different attributes like age. Though the coefficient of the attribute parameters required trials and errors, now they look great!
For the 2019 model, I assume that in order to model the deformation fields with the 'pcaVariance' in the file, we have to use the square root of the eigenvalue (Karhunan-Loeve expansion), but the shape variance is not that big, so I have to multiply by some constant factor to increase the variance/standard deviation. However, since we don't have the nonlinearity of these attribute parameters, I can't increase the whole vector by too much, or it will produce a weird shape. They look like this:
I have one more question about the expression parameters. To model the face, we have a texture map and a shape map. And we have three sets of parameters in the model, shape, expression, and texture. I use texture for the texture map. For the shape map, I am applying this formula:
shape_map = shape mean values + (shape PCA basis * square root of eigenvalues of the shape * some constant that increases the variance)
+ (expression PCA basis * square root of the eigenvalues of the expression**an exponent that increases the variance)
Do we just add the expression parameters directly to the shape parameters? I didn't add the mean value of the expression because it looks weird. Everyone would have their tongues out...Or perhaps I'm using the wrong formula?
Thank you for the great help!
Best wishes,
Wen