3D MESH RECONSTRUCTION USING PHOTOGRAMMETRY EX. 1 VISUAL SFM + MESHLAB. Afonso Maria C. F. A. Gonçalves

Similar documents
Grafica 3D per i beni culturali: Dense stereo matching, alternative e processing finale del modello (+ extra) Lezione 14: 9 maggio 2013

Grafica 3D per i beni culturali: Multiview stereo matching, making the model. Lezione 16: 5 maggio 2013

GUIDE TO POST-PROCESSING OF THE POINT CLOUD

APPLICATION OF SFM AND LASER SCANNING TECHNOLOGY TO THE DESCRIPTION OF MOSAICS PIECE BY PIECE

AUTOMATED 3D MODELING OF URBAN ENVIRONMENTS

123D Catch - Tutorial

3D Models from Range Sensors. Gianpaolo Palma

EVOLUTION OF POINT CLOUD

Mini Course Archaeological Sciences Interdisciplinary Group University of Minnesota 1

A New Protocol of CSI For The Royal Canadian Mounted Police

Agisoft PhotoScan Tutorial

A COMPARISON OF SPARSE AND DENSE POINT APPROACH TO PHOTOGRAMMETRIC 3D MODELING FOR STONE TEXTURED OBJECTS (CASE STUDY: ARCHEOLOGICAL SITES) ABSTRACT

MeshLab. Gianpaolo Palma

SIMPLE ROOM SHAPE MODELING WITH SPARSE 3D POINT INFORMATION USING PHOTOGRAMMETRY AND APPLICATION SOFTWARE

Grafica 3D per i beni culturali: MeshLab features. 8 Marzo 2018

Processing to Create a 3D Model

3D BUILDINGS MODELLING BASED ON A COMBINATION OF TECHNIQUES AND METHODOLOGIES

ANALYSIS OF KOREAN MEGALITHIC BUDDHA USING PHOTOGRAMMETRIC AND LASER SCANNING SYSTEM

insight3d quick tutorial

FILTER PACKAGE USER S GUIDE

High Definition Modeling of Calw, Badstrasse and its Google Earth Integration

Hand-on introduction to 3D Digitisation Stephen Gray & Kirsty Merrett UoB Research Data Service

Tutorial (Intermediate level): 3D Model Reconstruction of the building with Agisoft PhotoScan 1.0.0

A Guide to Processing Photos into 3D Models Using Agisoft PhotoScan

Grafica 3D per i beni culturali: Multiview stereo matching, the tools Maggio 2018

Automatic image network design leading to optimal image-based 3D models

INTEGRATING PHOTOGRAMMETRIC TECHNOLOGIES AND GEODETIC METHODS FOR 3D MODELING

Introduction to 3D Concepts

Midterm Examination CS 534: Computational Photography

Universiteit Leiden Computer Science

Il colore: acquisizione e visualizzazione. Lezione 17: 11 Maggio 2012

123D Catch: 3D Scanning

Grafica 3D per i beni culturali: MeshLab features. Lezione 7: 22 Marzo 2013

Multi-view Stereo. Ivo Boyadzhiev CS7670: September 13, 2011

Improving Initial Estimations for Structure from Motion Methods

3DReshaper Help DReshaper Beginner's Guide. Surveying

IMPROVEMENT OF AIRCRAFT MECHANICAL DAMAGE INSPECTION WITH ADVANCED 3D IMAGING TECHNOLOGIES

coding of various parts showing different features, the possibility of rotation or of hiding covering parts of the object's surface to gain an insight

Processing 3D Surface Data

User s guide. November LSE S.r.l. All rights reserved

White Paper. Inside Trimble TX6 and TX8 Color Acquisition. Prepared by Gregg Jackson and Gregory Lepere. ABSTRACT

TSBK03 Screen-Space Ambient Occlusion

3D recording of archaeological excavation

TOPOSCOPY, A CLOSE RANGE PHOTOGRAMMETRIC SYSTEM FOR ARCHITECTS AND LANDSCAPE DESIGNERS

SURVEYING AND MAPPING A CAVE USING 3D LASER SCANNER: THE OPEN CHALLENGE WITH FREE AND OPEN SOURCE SOFTWARE

Manual Version September 2018

Tutorial (Beginner level): Orthomosaic and DEM Generation with Agisoft PhotoScan Pro 1.3 (without Ground Control Points)

Trimble Engineering & Construction Group, 5475 Kellenburger Road, Dayton, OH , USA

Digitization of 3D Objects for Virtual Museum

Fusion of laser scanning and Photogrammetric data for the documentation and VR visualization of an archaeological tomb complex

SketchUp. SketchUp. Google SketchUp. Using SketchUp. The Tool Set

TERRESTRIAL LASER SCANNER DATA PROCESSING

Multiview Photogrammetry 3D Virtual Geology for everyone

You can select polygons that use per-poly UVs by choosing the Select by Polymap command ( View > Selection > Maps > Select by Polygon Map).

Tutorial (Beginner level): Orthomosaic and DEM Generation with Agisoft PhotoScan Pro 1.3 (with Ground Control Points)

Visualising the Conflict Second Life Content Creation Process

3D models preparation

3D Models Preparation

Multiview Reconstruction

Photogrammetry Guide to Creating Digital 3D Models

Manual Version September 2018

Homographies and RANSAC

Integrated Projects. Madonna di Pietranico Pompeii insula V1 V I S UA L COMPUTING L A B I ST I - C N R

A METHOD OF 3D MEASUREMENT AND RECONSTRUCTION FOR CULTURAL RELICS IN MUSEUMS

Rendering Engines - Specific tools may depend on "Rendering Engine"

Modelling. Ruth Aylett

Mount Points Mount Points is a super simple tool for connecting objects together and managing those relationships.

CAPTURING REALITY AT CENTRE BLOCK

Application of a 3D Laser Inspection Method for Surface Corrosion on a Spherical Pressure Vessel

3D documenatation of the petalaindera: digital heritage preservation methods using 3D laser scanner and photogrammetry

1.1. FireCR Calibration

APPLICATIONS OF OPEN AND FREE SOFTWARE: FROM UNDERWATER TO THE SKY

Sasanka Madawalagama Geoinformatics Center Asian Institute of Technology Thailand

Introduction. Acute3D S.A.S. WTC Valbonne Sophia Antipolis. 120 route des Macarons.

AJS TUNNEL KIT SURVEYOR GEOMETRY Bridge Tunnels

Reality Modeling Webinar

3-Dimensional Object Modeling with Mesh Simplification Based Resolution Adjustment

Getting Started with Silo

Processing 3D Surface Data

3GSM GmbH. Plüddemanngasse 77 A-8010 Graz, Austria Tel Fax:

A New Way to 3D Scan. Photo-based Scanning Saves Time and Money. A White Paper by Alan Walford, Eos Systems Inc.

3D RECONSTRUCTION OF ANCIENT EGYPTIAN ROCK-CUT TOMBS: THE CASE OF M.I.D.A.N.05.

Multiple View Geometry

3D Terrain Modelling of the Amyntaio Ptolemais Basin

OPEN-PIT MINE SCANNING IN INDONESIA, HYDRONAV SERVICES OF SINGAPORE

A SEMI-AUTOMATIC PROCEDURE FOR TEXTURING OF LASER SCANNING POINT CLOUDS WITH GOOGLE STREETVIEW IMAGES

COSCH Training School Lab session, Day 2

Introduction to Computer Graphics. Image Processing (1) June 8, 2017 Kenshi Takayama

Assessing 3D Point Cloud Fidelity of UAS SfM Software Solutions Over Varying Terrain

1 INTRoduCTIon to BLENDER 1. 3 PREPARATIon 19

CREATING CUSTOMER MAILING LABELS

FAST REGISTRATION OF TERRESTRIAL LIDAR POINT CLOUD AND SEQUENCE IMAGES

Unwrapping of Urban Surface Models

3D Scanning. Qixing Huang Feb. 9 th Slide Credit: Yasutaka Furukawa

SOLIDWORKS FOR MULTI-MATERIAL BUILDS BEST PRACTICES

Three-Dimensional Scanning and Graphic Processing System

Point Cloud - Polygon Mesh. Wannes Van Isacker - Industrial Design 15

Create Models or Use a Library? Create your own library How to Get Started? [ 140 ]

3D Scanning 101 The Fundamentals of the Structured Light 3D Scanning Process

COMPARATIVE ANALYSIS OF 3D POINT CLOUDS GENERATED FROM A FREEWARE AND TERRESTRIAL LASER SCANNER

Transcription:

3D MESH RECONSTRUCTION USING PHOTOGRAMMETRY EX. 1 VISUAL SFM + MESHLAB Afonso Maria C. F. A. Gonçalves 20130528

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN _INTRODUCTION The objective of this exercise was to explore the use of photogrammetry to survey a physical object and use the data collected to generate a point cloud and subsequent 3D mesh reconstruction. For this end, we were asked to choose a small/medium scale object, around the campus premises, as our case study, and then to photograph it from various different angles using a digital camera. For the best 3D reconstruction there needs to be a considerable amount of information and recognized features in all our photos, otherwise the point cloud may not be dense enough or may have considerable gaps in it. Ideally, for a proper reconstruction, one should always avoid using either vey blurry or out-of-focus photos, objects with very reflective or transparent surfaces or moving objects (trees, people, vehicles). The photos taken should also be as consistent as possible, have a good exposure, constant focal length and be properly focused and centered. For this project I decided to choose one of the three carved stone medallions on display in the entrance hall of pavilion 1 (fig. 1). The medallion has relative small amount of detail which, allied to its rough non-specular surface, makes this a good case study. The only drawback was the fact that this medallion was too close to a wall, which made the capture of the back side impossible. FIG.1 Carved stone medallion The method here described has essentially two stages. The first stage is the dense point cloud reconstruction using Visual SFM. This is the stage where all the information gathered from the photographic data will be processed and used to create a match between every photo and the resulting dense point cloud of our object. The second stage will be to use MeshLab to manipulate the output data from VSFM and clear all spurious information, reconstruct the 3D mesh and transfer color from the vertexes to the mesh. The end result should be a somewhat fully textured 3D mesh of our object (depending on the amount of photographic information collected) which can later be exported out of MeshLab and used for any desired purpose. 1

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN STAGE 1 DENSE POINT CLOUD RECONSTRUCTION USING VISUAL SFM 1 PHOTOGRAPHIC SURVEY The first step was to take several photos around the object, trying to capture as many possible angles of the object as possible. While doing this, we had to be careful and make sure that the photos overlapped each other slightly. We can see the process as being similar to creating a panorama photo where each photo taken has to overlap the previous one. This is done so that part of a photo is used as a reference for the proper merging of the next one and so on. 2 IMPORTING DATA TO VISUAL SFM AND MATCHING The third step was to import all the images into Visual FSM and start the Computing Missing Pairwise Matches process. The result of the matching can be viewed in the View Matching Matrix (fsm > Pairwise Matching > Show Match Matrix). What we see in this matrix are the levels of matched information that Visual SFM was able to establish between our photos. The darker red colors mean a deeper level of matching while the lighter yellow colors mean a lowest level of matching. White areas indicate no matching whatsoever. FIG.2 Pairwise matching and respective matching grid 3 COMPUTING SPARSE 3D RECONSTRUCTION AND DENSE RECONSTRUCTION The next step is to compute the sparse 3D reconstruction from the matching done in the previous step. What we see here happening is Visual SFM taking all the information gathered from our photos and respective matching and calculating the position of each point, relative to a coordinate system, thus creating the point cloud of our object. To conclude this step we run the dense reconstruction (fig. 3), choosing a browser location where we want the date to be stored. In that destination there will be a folder with the name Models containing three files, one of which has the extension.ply. This is the file that we ll use for the next stage in MeshLab. FIG.3 The sparse 3D reconstruction and dense reconstruction 2

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN STAGE 2 3D RECONSTRUCTION AND TEXTURING USING MESHLAB 1 IMPORTING TO MESHLAB AND CLEANING SPURIOUS DATA After opening MeshLab we need to import the.ply file created in the previous stage (File > Import Mesh). In the main window we now see the dense point cloud reconstruction of our object including the respective color of each point. What we also see is information that needs to be cleared out first before moving on to the mesh reconstruction. Often when surveying an object, regardless of the methods used, we ll end up with extra information that needs to be removed first, whether because it s unwanted or not relevant to the case we re studying. A point cloud needs, therefore, to be cleared of any such spurious information that might conflict with what we re trying to achieve. In this case we re only interested in the stone medallion itself so everything else around it can be erased (fig. 4). FIG.4 Imported point cloud and selection of spurious points 2 MESH RECONSTRUCTION USING POISSON After all spurious information has been deleted we now move on to recreating a 3D mesh out of our points using the Poisson method for reconstruction (Filters > Remeshing, Simplification and Reconstruction > Surface Reconstruction: Poisson). Because setting the parameters for the mesh reconstruction can be a process of trial and error (sometimes ending with the hardware crashing) we can choose to save the mesh now so that, if we need to return to a previous stage, we don t have to go through the cleaning process all over again (File > Save Mesh As). Here the only thing we need to be careful with is making sure we check the Normal box - mesh reconstruction methods require points to have normals assigned to them. Here we can also choose Binary Encoding which will reduce the file size but at the cost of the information being encoded and difficult to process afterwards if needed. After several tries, I found that the parameters that work best in this case was an Octree Depth of 12, a Solver Divider of 8, 2 samples per Node and a Surface Offsetting of 1. The final result can be seen in fig. 5. To accentuate the geometry slightly an ambient occlusion was calculated at this point (Filters > Color Creation and Processing > Ambient Occlusion Per Vertex). 3

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN FIG.5 Mesh reconstruction using the Poisson method 3 TRANSFERING COLOR TO THE MESH The reconstructed mesh is currently a textureless mesh so the next step will be to transfer the color information from the point cloud to the mesh (Filters > Sampling > Vertex Attribute Transfer). Here, the point cloud needs to be set as source and the created mesh as the target. The end result (fig. 6) is a partially colored mesh. Parts of the mesh are left without color because there was not enough information in the points cloud to color those areas. It s now up to us whether to leave the mesh as it is or to go back to the survey and try to photograph the object from the missing angles. However, for several reasons, this may not be always possible to do and so one solution might be to actually erase the parts of the mesh which have no color information. The next step will show a possible method of doing this. FIG.6 Mesh with transferred color 4

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN 4 MESH EDITING Sometimes the object we re surveying is not always accessible through every angle. In this case, the back of the medallion was obstructed by a wall and so it was not possible to acquire any photos from that side. Because of this, MeshLab is not capable of meshing that side properly and no color information is assigned to it (fig. 7). At this stage we might want to further edit the mesh by deleting any spurious parts of the mesh which have no information. We can choose to do this in another 3D modeling software but if we choose to use MeshLab the process will be similar to that of deleting spurious points only this time we are selecting faces and not points. Since these areas have no color information (are colored white) probably the easiest way to select them is to use a selection filter that selects every face painted with a specific color, white in this case (Filters > Selection > Select Faces by Color). FIG.7 Vertex and edge selection filtered by color FIG.8 Mesh with erased edges and vertexes 5

ADVANCED STUDIES PROGRAM IN COMPUTATION APPLIED TO ARCHITECTURE, URBAN PLANNING AND DESIGN _CONCLUSION Using the methods described in this article we now know how to resort to photographical survey methods to reconstruct a textured 3D mesh of an object out of point clouds. The example here show was of a small stone medallion but the methodology of surveying other objects or spaces is similar. It starts with the proper acquisition of all the necessary information first, photos in this case, which will then be used to produce a point cloud of our case study. This point cloud is then worked on further in order to acquire a clean and colored 3D mesh that can be exported and used for in any desired way. In this article we didn t look at other operations that sometimes need to be conducted to reach a better end result. Some objects may require transformations to be applied, like scaling and rotation, have the point cloud downsampled, and, when we are working with more than one point cloud, these may need to be aligned and merged together. It is therefore important that the reader understands that the process is not always as straightforward as shown here. In the following article we will tackle the use of Terrestrial Laser Scanner for surveying a site, where the process of aligning several point clouds and the manipulation of transformation matrixes will be exemplified in greater detail. FIG.9 Depiction of the entire process and comparison between the final result and the original object 6

Afonso Maria de Castro Fernandes Abreu Gonçalves, n.º 20130528 http://home.fa.utl.pt/~20130528 This work was conducted for the 3D Scanning course Advanced Studies Program in Computation Applied to Architecture, Urban Planning and Design Faculdade de Arquitectura Universidade de Lisboa 2013 / 2014