深入使用Bundler

这是本BLOG关于Bundler的第四个帖子,感兴趣的同学可以联系luangss@zju.edu.cn,一起交流。


Photogrammetry

3D reconstruction using Bundler and PMVS2


第一步:Setup  安装

1. Get thesoftware needed

MeshLab from http://downloads.sourceforge.net/meshlab/MeshLab_v123a.exe

BundlerPhotogrammetry Package from http://files.neonascent.net/SFM.zip

2. Install MeshLab

3. Extract SFM.zip to c:\

4. Make sure you really did extract everything to c:\SFM – your examples folder should be at c:\SFM\examples NOT c:\SFM\SFM\ examples


第二步:Sparse Point-Cloud reconstruction 稀疏点云重构

1. Add your images to a new folder in C:\SFM\examples\

2. Copy MakeList.bat into new folder and run to createlist.txt (list of images)

3. Copy sparseRecon64.bat into new folder and run it (if you are using a 32-bit system,copy and use the file “sparseRecon32 - SLOW - only usewithout 64.bat”)


第三步:Camera Type Setup  相机类型安装

Bundler needs to know some details about your camera. It has a database of information for well-known cameras, but you may need to add your to it. If you see the message “[Couldn't find CCD width for camera ...]” when runningBundler, you will need to add your camera CCD width.

1. Add you camera CCD details to \SFM\bin\extract_focal.pl file

%ccd_widths = (

YOUR CAMERA=> X.X,

"SunplusMMSpca1528" => 3.6, #1/4"

"SONYDSLR-A100" => 23.700, #1.8" APS-C CCD

This informationcan be found online.

2. If your images do not have any EXIF data attached (for example if you extracted them from video), you can use the scriptExIFwrite.vbs to add this information. Run EXIFwrite.vbs in your image directory, and enter the detailsEXACTLY as they appear in the extract_focal.pl file, including identical case.


第四步:Dense Point-Cloud reconstruction 密集点云重构

1. Copy denseRecon_batch.bat and denseRecon.vbs into new folder and run denseRecon.vbs

2. Enter theconfiguration values. Use the recommended first time.

The process maytake some time. At the end there should be one or more .ply files in (your imagefolder) \pmvs\models

You can open them in MeshLab and examine them.

第五步:Mesh reconstruction 网状重构

1. Once you have one or more dense point-cloud .ply files, open the first in MeshLab.

2. Open any others as Layers, and select the layer button to view the layer stack.

3. Select the“...” button on the layer tab and select “Flatten Visible Layers”, and makesure “delete layers” is unchecked.

4. Select “Filters→ Sampling → Vertex Attribute Transfer” andtransfer both colour and normals from the layers to the new “Merged Mesh”, withthe Max Distance Search percentage to 0.010

5. Select the“Merged Mesh” in the Layer stack

6. Select “Filters→ Point Set → Surface Reconstruction: Poisson”and use either 6, 6, 1, 1 for a quick test, or 11, 6, 1, 1 for a highlydetailed mesh. Experiment with different values of Octree depth, but bewarethat the larger it is the longer it will take.

7. Save yourmesh as an STL file ready for printing.

 

 

 


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值