lixiny / manotorch

MANO in pyTORCH (anatomical constraints, anchors, etc)
GNU General Public License v3.0
166 stars 11 forks source link

About computing b_axis #3

Closed yao5401 closed 1 year ago

yao5401 commented 1 year ago

Thanks for your great work. As in the paper, b_axis is computed by (child_joint - current_joint), But in axislayer.py, transf[..., :3, :3](which seems to be global rot?) mul b_axis after that. Is it for translating b_axis local to global? As axis-angle in local, why trans b_axis to global. I tried remove this operation and found the axis weired(b_axis not direct its child).
In skinlayer, output joints isn't same as mano joints. So how to use the fit result in usual MANO. I'm confused as a new learner. Hope for your reply!

yao5401 commented 1 year ago

It is the inverse matrix of global rot mul b_axis, so this op translate b_axis global to local.