Arc 3D
Arc 3D
Arc 3D
The ARC 3D
Webservice
How to turn images of an object or scene
into 3D models for exhibitions and archives
David Nilsson
Daniel Pletinckx
Luc Van Gool
Maarten Vergauwen
2
The ARC 3D Webservice
Summary
From the cultural heritage field comes upload these images to the web service and
a large demand for cheaper and more download the resulting 3D reconstruction.
flexible ways of 3D reconstruction. Aiming to The service is free of charge for non-
fulfil this need, the VISICS Research Group of commercial use and the only equipment you
the University of Leuven, Belgium (partners need is a digital camera and a PC with access
of the EPOCH network) have developed to the Internet.
a web-based 3D reconstruction tool. This
service is called the ARC 3D Webservice, The service consists of a pipeline that starts
‘ARC’ standing for Automatic Reconstruction with the user uploading images of an
Conduit, and enables its users to transform object or scene(s) to be reconstructed in
images of scenes or objects into 3D models. 3D. The automatic reconstruction process,
The idea behind the service is very simple: running on a server connected to a cluster
You take a series of pictures of the object of computers, then determines the camera
or scene you want to reconstruct in 3D, calibration and depth maps (containing
3
The ARC 3D Webservice
4
The ARC 3D Webservice
Background
The cultural heritage community has always as the 3D shape. In contrast to several Sagalassos, Turkey (www.sagalassos.be) was
had a keen interest in the creation of 3D alternative 3D acquisition methods, the virtually reconstructed from images.
models of objects, monuments, scenes, shape and the surface texture are not
etc. Such models not only help in creating captured separately. This would lead to the A webservice is an attractive formula for
a more vivid picture of the past in the mind need for a shape and texture alignment, several reasons: the limited bandwidth
of the general public, but they are also of which may turn out to be tricky as both necessary to upload the images, the fact that
great value for training and research. Yet are rarely captured from exactly the same the computer-intensive processing is done
3D modelling technology has often been viewpoints. ARC 3D uses the same images on the servers and the possibility to update
expensive and time consuming to use. It to build the 3D shape as well as extract with improved versions without disturbing
is the goal of the ARC 3D Webservice to the necessary textures, which avoids any the users. These were all elements that spoke
provide the community with an affordable, alignment issues. in favour of a remote computing strategy.
easy-to-use and yet effective alternative. The ARC 3D Webservice has been operational
This figure shows an example result obtained since the fall of 2006 and is under constant
With cultural artefacts, the surface colour with ARC 3D technology. The roof of the development.
and texture are often at least as important nymphaeum at the excavation site of
5
The ARC 3D Webservice
6
The ARC 3D Webservice
7
The ARC 3D Webservice
– Use fixed exposure time on your camera If a person stands still next to a statue, it is – Do not zoom in or out during recording (as
while taking photographs. impossible for the system to know that it is the camera parameters should optimally be
not part of a sculpted group and the person constant during a set of photographs). Avoid
To avoid bad sequences: ends up in the 3D model. Post-processing can large changes in focus as this can result in
– It is better to record too many pictures than remedy this, but the problem can be avoid a change of camera parameters.
too few. A minimum of five or six images is at the time when the images are captured,
required for a good reconstruction. Less than by making sure the person has moved in – Do not use a flash, as this changes the
four images and the reconstruction will fail. between takes. appearance of the object and creates
8
The ARC 3D Webservice
changing shadows. Flashes also tend to Lighting conditions and setup your own. Using a tripod is a good option if
create glare, which, as mentioned above, will The lighting conditions when photographing no extra lighting can be arranged and long
cause problems. are crucial to obtain a good result. When exposure times are needed in order to obtain
photographing objects indoors you are good image quality. If your museum has an
– Do not use a turntable with a static camera most likely to suffer from insufficient light in-house photographer it might be a good
and an object that rotates in front of the when you are recording handheld images idea to involve this person in the process.
camera. Because of this very specific motion, without using the flash. Many digital cameras Take advantage of and learn from each
there is not enough information in the automatically enable their flash when the other!
images to allow camera calibration. light is insufficient, so remember to turn off
this feature for better results. One could consider creating an even, dark
– Do not pan from the same location, as if background when shooting the object,
you were recording a panorama. When the camera moves during recording, but this is neither strictly necessary nor
It is not possible to determine enough the image becomes blurred if a long always advisable (see later comment on the
3D information from such a sequence. exposure time is used. Most cameras have positive effect background structures can
a ‘night mode’ setting for bad lighting have on the automatic camera calibration).
– Do not walk in a straight line towards the situations. This feature increases the In any case, this differs from the typical
scene you want to reconstruct. In general, do camera’s exposure time in order to catch setup that a museum photographer would
not walk along a straight line without rotating more light through the lens. Do not use such use. In most cases you will photograph the
the camera. Unfortunately, this is a typical features because they will most likely lead object all around, which means that you
camera motion people tend to do. Again, to blurry images and cause problems for the will need a dark background all around. Of
there is not enough 3D information embedded reconstruction and its quality. course, this could be a partial background
in such images. The result will typically be that you move accordingly as you take the
deformed, as if it were skewed. Holding the To achieve a good result it might be worth images. If this is not possible, you could
camera in your hand typically means that the setting up some lights to provide a soft, create a similar environment by shooting
camera will not perfectly follow such path, but even illumination of the object. Be aware of in the evening or at night with sufficient
it is wise be aware of this movement. unwanted shadows on the object, such as and appropriate lighting on the object.
9
The ARC 3D Webservice
In practice this means that in most cases, 2. Upload the images Image Uploader
the object does not need to be touched to the ARC 3D server Upload the images of the object you want to
or to leave the museum. By creating The first thing to do is to obtain an account reconstruct in 3D using the Image Uploader.
a dark background you will also simplify from the website that enables you to log in Thumbnails of these images are shown on
‘the masking process’ used to mask out and use the service. Go to www.arc3d.be and the left and a large version of the selected
unwanted information or background in the navigate to Request Login. image is shown in the main panel. Images
visualisation process (see Chapter 5). can be removed from the list or extra images
When you fill in your name and email can be added, but make sure that the images
It is important to note if the recorded object address, your login information will be sent are in the right order to make a continuous
does not fill the image, the calibration of the to your email address. Download and install movement around the object.
camera will not be very accurate. In these the latest version (Windows only) of the tool
cases it is better to not hide the background, from the ARC 3D homepage. The service On the bottom left, information about the
but instead keep it as it is because the contains two programs, the Image Uploader image such as the number of pixels, the
calibration process will actually use these and the Model Viewer. size on disk and the format are shown.
areas to improve the result. You can subsample the images to a smaller
size for faster upload and computation,
To avoid colour changes from one picture but at the cost of losing some detail in
to another (for example due to a dominant the final result. You can also organise
colour of a part of the object), we also your uploads by selecting or creating
recommend using a fixed white balance `scenes’, supply a sequence label or add
while shooting the photographs. Most digital an academic reference, if desired. (In cases
cameras today have this feature. in which the ARC 3D team would use your
images in a publication, they will add the
academic reference. For information about
the conditions, please see the ARC 3D
homepage.)
10
The ARC 3D Webservice
When satisfied with the selected images, vision techniques that are used to compute that are visible and recognizable in at least
you upload them to the reconstruction the results are automatic matching of 2 images are useful. Note that a sufficient
server. We recommend uploading at least 6 images, automatic computation of camera number of points will actually need to be
images. In order to do so, you first need to calibration and automatic dense matching visible and recognisable in at least 3 images
authenticate yourself with your username for depth map generation. These are the in order for the automatic calibration process
and password. The upload is started and major steps in the pipeline and may be to be successful.
a progress dialog shows the speed of the fragile when supplied with an inappropriate
upload. type of imagery. 4. Download the results
from the ARC 3D server
Once the uploading begins, have a coffee! The entire process is based on finding pixels The ARC 3D service reports its result to
The process time can take from 15 minutes corresponding to the same 3D points in you by email. If the reconstruction has
up to several hours, depending on the size of the images, so-called ‘matches’. All of the succeeded, you are sent a URL link to where
the upload and the traffic on the server. information is recovered from them. This you can download a zip file containing the
means that the camera viewpoints need results. The zip file contains the original
3. Computing the 3D to be laid out in such a way that each part images, the calibration of the cameras, the
reconstruction of the object is captured without losing dense depth maps and quality maps for
An automatic reconstruction process the general view of the object. Only points every image. The quality map shows for
running on a server connected to a cluster of
computers, computes the camera calibration,
as well as depth maps for the images. When
the server has finished processing, the user
is notified by email and the results can be
downloaded from the ARC 3D server.
11
The ARC 3D Webservice
every pixel in how many images that pixel Visualise with the Model Viewer version of the image is shown in the main
could be detected, which gives a rather Each zip bundle contains textures, camera window. Since all images have their own
good idea of the reliability and quality files, depth maps and quality maps and corresponding range-map, a model can be
of the result for that point. MeshLab (see a config file named model.XXXX.v3d. Unzip created for any image in the set. This `model’
below) uses a colour coding of the quality the file and load the data in the application is not a complete object model yet, but a 3D
maps. If for example most of your object is Model Viewer. A thumbnail is shown for reconstruction for that part of the object that
blue, the reconstruction will be fine, but if every image in the set. If selected, a large was visible to the selected camera.
it tends to green or yellow the result will be
poor and peppered with holes or artefacts. Creating a mask
If the reconstruction failed, some more
information is given, including tips on how Often images will contain other for dragging rectangles), erase (the same
to improve the result. objects than the one of interest (e.g. as paint, except select the eraser) or grow
in the background). So for a ‘clean’ (by holding down Shift-Left button) black
5. Visualise the results reconstruction, it is necessary to discard regions to mask out the image parts
It is now time to visualise your result and this extraneous information. considered irrelevant.
there are two tools available for this task. Typically, it is useful to remove Once satisfied with the mask, or if no
The ARC 3D team recommends MeshLab, backgrounds, floors or support structures, mask is required, a model can be created
a tool developed by CNR-ISTI in Pisa, Italy as they are in most cases not part of the by selecting Create Model. A dialog will
that is downloadable from http://meshlab. object that one wants to reconstruct. prompt the user for the various model
sf.net/. MeshLab is a powerful tool but it A simple shift-click inside such a region parameters.
takes a little while to master. For a first starts a mask-growing algorithm that Note that masking takes place at the
visualisation to inspect the results you might covers a homogeneous region. visualisation stage. The masked objects
consider using the Model Viewer tool that It is also possible to paint (select the or background could still be used for the
comes with the ARC installer. pen; use the left mouse button for free camera calibration in the earlier stages,
motion or use the right mouse button which is a good thing.
12
The ARC 3D Webservice
To create a model, begin by selecting an thresholds yield more complete models, includ- Zooming: Clicking the right mouse button
image. We suggest you use the image that ing areas with a lower reconstruction quality. and dragging
best represents the visible parts of the object, Picking: Clicking and releasing the left mouse
in other words the best view of the object. Once the reconstruction process is complete, button without dragging. This centres the
These partial reconstructions or `models’ the model is displayed in the model widget, view on the point that was clicked.
come as surface meshes. which can be accessed by selecting the Model
tab in the thumbnail panel. The key and The models (i.e. camera centred, partial
The user can select a quality threshold, which mouse actions are described below: reconstructions) can be exported in different
means that the parts in the reconstruction that 3D file formats, for use with several 3D
have a lower quality (see above) are discarded Panning: Clicking the middle mouse button software programs. Formats that are
when creating the model. High thresholds yield and dragging supported are VRML2, Open Inventor, OBJ or
models with higher quality, but more holes Rotating: Clicking the left mouse button and OpenSG’s native file format. OpenSG is the
where low quality parts are absent. Lower dragging standard choice for the EPOCH consortium.
By holding down the Shift key while left clicking on the blue background in this The images show a reconstruction of the Makalös statue at the Stockholm city
image, the mask-growing algorithm starts to mask the background museum with and without texture (surface details) in the Model Viewer tool.
13
The ARC 3D Webservice
Visualise with MeshLab Ideas for implementation are suitable for 3D reconstruction and add
MeshLab is an open source, portable and We will not go through any third-party web- another dimension to your museum’s archive,
extendible system for the processing and publishing tools for 3D interactive content on both for staff and the interested public.
editing of unstructured 3D triangular web pages in this book, but there are several
downloadable tools that can be used for An appealing way of presenting valuable
this. For example, ISTI-CNR has created the objects to audiences and putting them into
Visual Inspector that can create an interactive a larger context is to use the VIRTEX tool.
application for large 3D models. VIRTEX is a presentation methodology for
museums that allows for a radical change in
You could record a series of objects on dealing with valuable pieces. VIRTEX is based
a special theme like your museum’s statues or upon a replica of an object that serves as the
other suitable objects and present these on the interface to explore this object. To make the
museum’s website. Publishing such content on replica interactive, an orientation sensor is
the website can spark visitors’ curiosity about integrated in the replica, so that the object
the museum even before their visit. can be visualised on a computer screen
meshes. The system is aimed at the by precisely following all the orientation
processing of the typically not-so-small The webservice can also be a good way to in- changes of the replica. The replica is made
unstructured models arising in 3D scanning, crease accessibility of objects that may not fit in from a digital model of the object, made
and provides a set of tools for editing, the museum’s current exhibitions. To solve this for example through ARC 3D. In this way,
cleaning, healing, inspecting, rendering and problem and present it in a fine way, one could the user senses the shape and details of the
converting these kind of meshes. create a 3D archive that would be accessible object, sees the virtual representation of the
for the public via a website. All too often, ob- object and triggers stories by touching parts
For more information about this tool and jects kept in archives never get to be seen and of the replica. You can read more about this
its features, go to the MeshLab homepage enjoyed by the public. The cost efficient ARC project in the VIRTEX KNOWHOW booklet
at http://meshlab.sf.net and read the 3D Webservice could change this. So, when included in this series.
documentation. storing new objects, why not record those that
14
The ARC 3D Webservice
Benefits and notes transportation costs. If the user familiarises means that the reconstruction will only
Many techniques exist for 3D reconstruction herself with the system and tries out a couple contain those parts of the object that are
of existing scenes or objects. However, most of image sequences to understand the limita- visible from that viewpoint, even if you
of them require expensive equipment and/or tions, she will soon find that reconstructing 3D have taken photographs all around the
trained personnel to operate the system. The models can be quite easy. object. The solution for this issue is to
ARC 3D webservice is a very cheap solution create several reconstructions from one
for the acquisition of realistic 3D models. The A tremendous advantage of the webservice set of all-around photographs and merge
only prerequisites are a digital camera and is the fact that all 3D information is retrieved these reconstructions into one model. After
a computer with Internet access. from the images. This means that the correct merging, there can still be holes in the object
texture mapping (i.e. the colour of the object) (especially in creases and cavities of the
As the process only requires photography, the comes for free with the reconstruction. All object, and in object parts without surface
requirements to prepare the object for digi- of the reconstructed 3D points and faces get details). There are several automatic and
talisation are quite few. In most indoor cases, their exact texture from the recorded images manual techniques to fill those holes, the
no transport is needed to a scanning facility, automatically, without any alignment. latter of which does require appropriate
although appropriate lighting may need to skills and tools. Finally, the resulting object
be added on the spot. This not only saves you As we already pointed out, a reconstruction can contain too many polygons to be used
time but also cuts down on the insurance and is made from a certain viewpoint. This in interactive applications, so simplification
needs to be performed.
All of this requires appropriate skills and
tools. A powerful set of tools has been
developed by the ISTI-CNR group (http://vcg.
isti.cnr.it/software_vihap3d/download_
cnr_postprocess.htm) and is available for
the cultural heritage domain. Additionally,
specialised companies can be hired to create
A series of still images from a 3D film of the Arc de Triomphe, Paris. The model is reconstructed
from images with the use of ARC 3D and the film has been produced by VISICS. complete and optimal 3D models.
15
The ARC 3D Webservice
16
The ARC 3D Webservice
ISBN: 978-91-85960-05-7
17
The cultural heritage community has always had a the design, development and implementation
keen interest in the creation of 3D models of objects, of ideas and their solutions, and give thoughtful
monuments, scenes, etc. Such models not only help suggestions for alternative applications within
in creating a more vivid picture of the past in the the cultural heritage sector. The KNOWHOW
mind of the general public, but they are also of great booklets aim to support people working in the
value for training and research within the field. area of museums, heritage sites and monuments.
The information covered within the booklets
The ARC 3D Webservice enables its users to transform benefits managers, exhibition producers/curators,
images of scenes or objects into 3D models that enhance pedagogues and professionals working with
the experience of both current and archived collections. digital restoration, as well as those working with
communication and audiences. These booklets
cover projects developed by the partners of
The KNOWHOW booklets are an inspirational EPOCH, and are divided into the following
series cataloguing existing examples of a variety categories: MUSEUMS, HERITAGE SITES and
of projects which use ICT for the recording, display MONUMENTS.
and interpretation of cultural heritage. These
booklets highlight functional information covering www.tii.se/knowhow