1
Face and Body Scanning / Re: batch aligning chunks
« on: May 02, 2019, 08:25:07 AM »
Hi Alexey,
I had forgotten about this post until looking up another problem tonight. In the batch, I am using the job only once, and I select the reference in the batch. I have since written a for loop in python that works. This fixes the issue by always using my first chunk to align all of my other chunks to it, but now I'm running into other issues.
To give you further context, I am hoping to use point based align chunks to get a first pass rigid alignment on my facs shapes. I use my neutral as my reference chunk and I am masking off bony landmarks on the neutral photos and setting the align chunks to use masks. I'm using this paper to help with the landmarks
http://studios.disneyresearch.com/publication/rigid-stabilization/
This seemed to work perfectly, and was going to save us tons of time until I realized that the align chunks is scaling the my meshes. I confirmed that this is a problem, by:
I've set "fix scale" (only available through script?) in my script and it doesn't seem to respect scaling either. As you can imagine the scaling issue is less than ideal since I am using this for facial expressions, not aligning chunks to merge them.
I don't think align chunks was intended to be used this way, but I was hoping that it could fill this need by setting specific options. Am I using this function incorrectly? is there any way to get the results I'm after?
I had forgotten about this post until looking up another problem tonight. In the batch, I am using the job only once, and I select the reference in the batch. I have since written a for loop in python that works. This fixes the issue by always using my first chunk to align all of my other chunks to it, but now I'm running into other issues.
To give you further context, I am hoping to use point based align chunks to get a first pass rigid alignment on my facs shapes. I use my neutral as my reference chunk and I am masking off bony landmarks on the neutral photos and setting the align chunks to use masks. I'm using this paper to help with the landmarks
http://studios.disneyresearch.com/publication/rigid-stabilization/
This seemed to work perfectly, and was going to save us tons of time until I realized that the align chunks is scaling the my meshes. I confirmed that this is a problem, by:
- solving a a chunk up to the mesh phase
propagating scale (we use a measuring device that is set up in ground control)
duplicating that chunk
aligning the duplicate
exporting both meshes and doing a 3 point alignment in Maya
I've set "fix scale" (only available through script?) in my script and it doesn't seem to respect scaling either. As you can imagine the scaling issue is less than ideal since I am using this for facial expressions, not aligning chunks to merge them.
I don't think align chunks was intended to be used this way, but I was hoping that it could fill this need by setting specific options. Am I using this function incorrectly? is there any way to get the results I'm after?