ethnhe / FFB6D

[CVPR2021 Oral] FFB6D: A Full Flow Bidirectional Fusion Network for 6D Pose Estimation.
MIT License
290 stars 72 forks source link

Converting issue with scale2m #63

Closed MiriamJo closed 2 years ago

MiriamJo commented 2 years ago

I just checked the generated mesh info. I think the radius might be calculated wrong. Can someone help me understand on how this conversion works or what i should put in there? I used a photogrammetry 1€ coin, which is 23.25mm long and around 7mm wide.

I exported the ply file with vertex color in actual size. So in my blender file, the coin was true to size. If i use the conversion of 1000 it should be fine, i guess? However, I am truly confused on how it generated a radius of 1.65...e-05 when my coin is 23mm wide?

kind regards

MiriamJo commented 2 years ago

Alright, I changed the scale2m to 1, I realized my model is already in metric form and does not have to be converted. However, a radius of 0.016 seems a bit off. Is the diameter parameter the diagonal between the most separated points of the model? This might make sense.

MiriamJo commented 2 years ago

Alright. I figured it out:

I tried to wrap my object into a (bounding) box in Blender, just for curiosity, and measured the diagonal: Et voila, its exactly double the number the "radius.txt" gave me. So to all of you that are confused on the radius: This is it. I hope it helped someone. Cheers.