cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.21k stars 895 forks source link

Question about mesh flattening #602

Open Neo-YH opened 4 years ago

Neo-YH commented 4 years ago

Greetings, cdcseacave! Thank you for you help and I fixed the problem successfully. Recently, I modelled a yogert box by using OpenMVS and generated another yogert box model with an online application. image image image image It seems the online application made the large surface flattend, I wonder how does it achieved this performance. At the top of box, it looks like there are some guide lines for modeling.

cdcseacave commented 3 years ago

did you process in both cases at the same resolution, etc? this might be a reason. what's the name of the online app?

Neo-YH commented 3 years ago

I used smart 3D to get this model which produces a nearly standard plane. I wonder how this effect was achieved. It seems like the model used the whole rectangular region to generate the flat surface.

cdcseacave commented 3 years ago

I do not know what is that "smart 3d", don't u have a link? and pls share the input images

Neo-YH commented 3 years ago

This is the link of Smart 3D: https://www.bentley.com/en/products/product-line/reality-modeling-software/contextcapture The input image is 108 yogurt boxes taken from different angles. I need permission before I can share you the input images. I'm very interested in the method of flattening the model. It would be great if you could give me some ideas. Thank you sincerely for your help.

bing20190618 commented 3 years ago

Good question!

bing20190618 commented 3 years ago

I can use mesh filter tool to get the large surface flattend after openMVS refine, but there is not a straight line on the edge of the mesh.

Neo-YH commented 3 years ago

I can use mesh filter tool to get the large surface flattend after openMVS refine, but there is not a straight line on the edge of the mesh.

Could you tell me the name of the filter tool. Thank you for your help.

bing20190618 commented 3 years ago

The method in follow paper can do that work.

bing20190618 commented 3 years ago

Paper: Mesh Simplification Method Using Principal Curvatures and Directions

Neo-YH commented 3 years ago

Paper: Mesh Simplification Method Using Principal Curvatures and Directions

Thank you!

Neo-YH commented 3 years ago

Paper: Mesh Simplification Method Using Principal Curvatures and Directions Could you send me a link to the codes for this method?