Topic: Photosynth and Meshlab

Report Abuse Report Abuse
deadseasquirrels (Over 1 year ago)
I've tried to follow the same steps that others have in this forum to create a 3D model from a Photosynth.  However I'm having a lot of trouble with meshlab.  Everytime I use it, it crashes, I tried it on my 64bit OS, and that happened, so I assumed it was because of the 64bit, then I moved it to a 32bit OS, and it did the same thing when I tried to load my VRML file.  The 32bit OS is a laptop, granted, but it has 2GB of ram, which should at the very least not crash it.  However when I'm using the samples within Meshlab it's fine.  Has anybody else experienced anything like this?
Nathanael (Over 1 year ago)
Not that it should make any difference, but does it also crash if you import your pointclouds as PLY or X3D? I assume you're using Christoph Hausner's pointcloud exporter.
deadseasquirrels (Over 1 year ago)
Yes I'm using Hausner's exporter.  From Mwallis video it looked like cake going from photos to photosynth to 3D model.  I knew it would take time, but basically nothing has worked out as I thought it would and I still haven't been able to do it.  I haven't tried PLY or X3D yet, but will soon, but I have to reinstall Meshlab first.  Incidentally I've been reading some posts on Meshlab's board and it seems like others have a crashing problem with VRML files as well.  Anybody else here experiencing this?

I also trying to compile and run Meshlab on a 64bit OS, anybody had success with this?  I just need a computer better than my laptop with 8GB of RAM.  Also I exported a sample .ply from Meshlab into Photomodeler to try it out (I don't understand that program at all).  It worked, but it took a long time to load the ply.  I was wondering if anybody knew how I could turn it into a 3D surfaced model so that I can measure the surface distance between 2 points.
Nathanael (Over 1 year ago)
I use Windows 7 64 bit. I've associated VRML files with Meshlab (or at least the .wrl extension). 

When double clicking the wrl file to launch the application with the VRML model, I can duplicate Meshlab crashing upon launch (before loading the model). 

On the other hand, when I simply launch Meshlab via its icon and use its 'Open' file browser, I can load the .wrl formatted pointcloud without error.

X3D and PLY formats are all able to be double clicked and load without issue after Meshlab is automatically launched, or can be opened via Meshlab's 'Open' dialogue after launching Meshlab via its own icon.
Cadhorn (Over 1 year ago)
I'm also struggling with Meshlab... it seems not very stable. I'm also using Photosynth-generated point clouds captured with Pointcloud Exporter and saved as PLY files (ascii). Meshlab will open the files and let me view the point cloud (with colored points!) but that's about it. None of the Meshlab filters (poisson reconstruction, etc.) seem to do anything to the point cloud... or it crashes.
Can't find any Meshlab documentation that's worth a darn.

Sigh... well we're getting closer folks! If you're like me (and if you're reading this thread...) you've been thinking about this since the first time you saw Photosynth making point clouds.
If we can just get Meshlab (or something similar??) to clean up the data a bit... we're one step away from a really good 3D mesh.
chrysler (Over 1 year ago)
Indeed, MeshLab is quite unstable if you're not familiar with its many filters and settings. The following worked for me:

1. Filters -> Normals, Curvatures and Orientation -> Compute normals for point sets
2. Filters -> Point Set -> Poisson Reconstruction
3. Filters -> Sampling -> Vertex Attribute Transfer (check "Transfer Color" and set Source and Target appropriately)

It can be very difficult to find good parameters for the various filters. Poisson Reconstruction often works only with an high Octree Depth (try 9-11) for me, while the parameter for the normal computation seems to depend largely on the number of your vertices, try values > 50 or > 100.
ALoopingIcon (Over 1 year ago)
Yes you can use MeshLab to convert synths to colored meshes. 
Look at this short tutorial to converting point clouds into mesh, (it is an expanded version of the short list of Christoph_hausner
deadseasquirrels (Over 1 year ago)
Colored meshes?  Man I just want Meshlab to open up the file so I can turn it into an .OBJ to use in another program.  Unless meshlab can do surface measurements...can it?

Also I've been opening it up via "Open File" within Meshlab, not double-clicking on the file.  No difference.  I will try MeshLab on my Vista 64bit again and see what happens.

I just want to measure the surface distance between two points on an object created by a point cloud, please arggg.  Is there another way of doing this after getting the VRML/PLY/X3D files from Hauser's exporter?  AutoCAD?  Is that an option?
Nathan.Craig (Over 1 year ago)
I use either ScanView or VRMeshStudio's demo. You'll have to strip out the ply header, but it is pretty simple. I'm also interested in using these point clouds for measurements. Maybe there are some useful items in this post.

Rhiannon_CG (Over 1 year ago)
I really dont know what I am doing wrong with my points in Meslab. I exported the Photosynth points as PLY and i can see them within meshlab, I also9 just tried christoph_hausners way '1. Filters -> Normals, Curvatures and Orientation -> Compute normals for point sets
2. Filters -> Point Set -> Poisson Reconstruction
3. Filters -> Sampling -> Vertex Attribute Transfer (check "Transfer Color" and set Source and Target appropriately)'

This appears to be turning my points into a mesh, which is what I am aiming for, but it still doesn't look right, its not detailed at all, just kind of smoothed over the points, so its more like a blob. 
The points are of a house and in photosynth it was 99% synthy so I know the detail should be there.

Can anyone help me please. 
Kind Regards
NateLawrence (Over 1 year ago)
@Rhiannon_CG, could you email me a copy of your mesh? My email address is on my profile page here (click my username).
The address of the synth whose point cloud you're trying to mesh would help as well.

If you want to put it up on Dropbox, SkyDrive, Google Drive or something and just send me the link, that would work as well.

It's a little difficult to know from your description whether you're looking at the outside of the sphere which Meshlab generates when meshing a point cloud to close the mesh (and you need to zoom inside of it to see the structure you're expecting) or whether your point cloud just wasn't detailed enough to make a detailed mesh.