Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Meshroom reconstruction contain the size infomation of the model? #2614

Open
citystrawman opened this issue Dec 6, 2024 · 3 comments
Open

Comments

@citystrawman
Copy link

Describe the problem
My target is to reconstruct the model that contains the size infomation. I do not require the size to be accurate, about right is acceptable.

Taking the official tree example, I reconstructed the model and measured it in meshlab, the size is shown as follows:
image

So here's my question: does the measured 2.62525 correctly reflect the tree's size infomatioin? If not, then, is there a quick and solid way to get the size infomation? What I can imagine is to add a marker (which has a known size) when taking the photo, after the model is reconstructed, rescale the model such that the marker's size is its actual size. I hope if there should be a better and more effective way. I appreciate if anyone could help me solve this issue. Thank you!

@msanta
Copy link

msanta commented Dec 6, 2024

No, what you measured is not the actual size of the object. As you have stated you can add some marker/object of a known size and then scale the mesh. Or you can use two CCTAGs with a known distance between them which will give you a more accurate result (see https://github.com/alicevision/Meshroom/wiki/CCTAG-scaling).

@natowi
Copy link
Member

natowi commented Dec 8, 2024

...or measure the distance of to points in the model you know the real dimensions from, then you can calculate the scaling factor you can use in the manual scaling node settings.

@citystrawman
Copy link
Author

citystrawman commented Dec 10, 2024

No, what you measured is not the actual size of the object. As you have stated you can add some marker/object of a known size and then scale the mesh. Or you can use two CCTAGs with a known distance between them which will give you a more accurate result (see https://github.com/alicevision/Meshroom/wiki/CCTAG-scaling).

Thank you. BTW is it possible to use CCTAGs by commandline tool instead of the GUI? I suppose, if the software could recognize CCTAGs' ID, then I can preset these CCTAGs' coordinates in a file and by reading the file at sfmTransform node, the commandline tool could scale and transform the model to its actual position/size.

I would prefer commandline tool because that could save more time when I run many projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants