About the alignment of background-image and 3dmodel in the online demo
wtongping opened this issue · 2 comments
Are you reimplementing? I'm a bit confused about what you are showing.
During training you want to make sure that the input face image and the 3D volume are perfectly aligned. If you were to take the orthographic projection of the 3D volume, you would want it to do a good job at segmenting the input face. It looks from your image that there is a bit of a mixed transformation between the two, maybe some scale, definitely some rotation and translation.
Are you reimplementing? I'm a bit confused about what you are showing.
During training you want to make sure that the input face image and the 3D volume are perfectly aligned. If you were to take the orthographic projection of the 3D volume, you would want it to do a good job at segmenting the input face. It looks from your image that there is a bit of a mixed transformation between the two, maybe some scale, definitely some rotation and translation.
I took the orthographic projection of the 3D volume, and then got a 2D face image of specified angle . After that, I do PerspectiveTransform on background-image with same angle. In the end, I want to add the 2D face image and background-image to get the result as your demo screenshot.
I discover there some different between my PerspectiveTransform`s background-image and yours, maybe PerspectiveTransform is not suit. thx for your reply.