-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Errors when using Meshroom to make photogrammetry model of small (1 cm long) objects #2591
Comments
No, I do not think I can get any closer. I was already getting fairly close to the minimum possible focal distance and when I tried to get closer the camera would fail to take the picture.
When I bring the one with the decent point cloud up it says the result mesh has only 99 triangles. By contrast, the one with the distorted model produces a mesh of about 326k triangles.
This is the one that failed to work This is the revised version of the first specimen that produced a near-empty model I tried opening the other project that produced an empty model, but somehow it got overwritten and is now blank.
Here are some cropped in views of the subject at full resolution. These are the same images I showed the views with the icon with three dots..
Yes. How may I best be able to send them to you? |
Would focus stacking be an option?
Could you put them on Google Drive (or Dropbox) and share the folder? |
I am not sure. The specimen is in focus with the camera with the current set of images. I have the depth of field turned up to maximum for each photo.
Okay, I have a folder together. Where do I need to share it? |
Maybe you could paint your object to avoid flare. |
I'm not allowed to. Boss doesn't want to for fear it will damage the
specimen.
…On Sun, Nov 10, 2024, 3:59 PM Florian Foinant-Willig < ***@***.***> wrote:
Maybe you could paint your object to avoid flare.
—
Reply to this email directly, view it on GitHub
<#2591 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARUYOO3GW25PL3SJ622AROLZ77CJTAVCNFSM6AAAAABRCLWYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWHEYTKNJSGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
And what about structured lighting? |
Just paste the link here. |
Here is the link to the folder. I am unsure what you mean by structured lighting. Do you mean a 3D surface scanner? I tried experimenting with one but I didn't get very good results, the type of scanner I had available didn't seem able to scan such a small specimen. |
For the first dataset Meshroom produced a model for me: I only did the SfM step for the second dataset, but it looked fine. Can you check the log in the meshing node. Are there any warnings in it? What I would try to do is to reconstruct something else using the exact same settings you used for the specimens. It doesn't have to be very detailed (30 photos will do). If that doesn't work then try again with the default settings. If it works with default settings then you could try changing settings one at a time until it no longer works. |
@megaraptor1 I think about a light pattern projected on the model to increase the feature count. The light has to be fixed relative to the model so fixed on the turn-table. |
I have been having trouble getting Meshroom to properly compile images into a 3D model using photogrammetry. I have been taking pictures of several specimens using a Canon EOS 90D macro lens (so focal length and lens information are available for all photos). These specimens are fairly small, the largest is about 1.2 cm in diameter. There are about ~150 pictures taken in several rings all around the specimen at different orientation angles (see below for reconstructed cameras). The specimen remains in the same position on every image but has merely been rotated on a turntable at angles of about 8-9 degrees between each image. The specimen is also on a background with unique, non-repeating symbols or imagery to make image matching easier. The pictures are all very crisp and it is possible to make out details on them very easily, so in theory it should be relatively straightforward for Meshroom to match the images.
Nevertheless, despite this Meshroom has consistently been unable to produce models of these specimens. I have tried taking photos of these specimens on two different occasions, as well as tried to create models for multiple specimens, but have been unable to.
On the first attempt, despite the specimen being in focus and sharply defined in each photo, Meshroom simply failed to reconstruct
cameras for about half of the total images.
This led to a lot of gaps in the model and a really distorted final product.
I tried taking pictures of the same specimen again from a different orientation and I did get all of the cameras (see picture below).
In practice, the StructureFromMotion model for this attempt looked better but when I opened the resulting mesh for this file in MeshLab it was completely empty and only had a few triangles (which I got out of the Texturing subfolder of the MeshroomCache folder). Additionally, I get an error saying "the following textures have not been loaded: texture_1001.exr", which suggests a texture file was not output from Meshroom.
I tried this again with a second specimen and got similar results. Again, in this case all 164 cameras were accurately reconstructed (see image) and the StructureFromMotion model would suggest the model would turn out relatively okay.
But once the process was finished when I opened the resulting model in Meshlab and there was nothing there but a few triangles.
I am unsure as to what is going wrong. I have been fairly diligent about doing things to improve mesh correlation and creation, but it doesn't seem to work. Notably, I've been able to get Meshroom to work with photographs of large objects from a distance and screenshots of a 3D model, but I haven't been able to get it to work with photos of these smaller specimens.
Desktop (please complete the following and other pertinent information):
The text was updated successfully, but these errors were encountered: