Showing posts with label Photomapping. Show all posts
Showing posts with label Photomapping. Show all posts

Saturday, 6 February 2016

Digital archaeological drawing on the field with QGIS

I should have written this post since long, but time is always missing... The topic regards the digital archaeological (vector) drawing on the field. 

During the CAA conference of 2015, held in Siena Italy), I participate, among others, in the session 9A (Towards a Theory of Practice in Applied Digital Field Methods), moderated by +nicolò dell'unto (Lund University) and James Stuart Taylor. After my speech I was asked if we (Arc-Team), as a professional archaeological society, were really able to perform the digital documentation in real-time during an ordinary excavation. I answered that, at least in Italy, this point is very important for a professional society and that in normal conditions (but this can also happens during most of the emergency excavations) we complete the digital archaeological documentation directly on the field. The reason is simple and it is every year more evident: money are always less and less, as the time goes by, for cultural heritage matters; at least this is the trend of the last decade. For this reason, if on the one hand we have to try to counter this phenomenon, on the other we have to adapt our methodology to the current reality and this means to use the economic resources for the excavation also to produce the related documentation (without counting on a post-excavation budget).
The old video below (2014) shows how we manage the digital archaeological drawing on the field with QGIS.



The vector layers can be related to georeferenced photomosaic (bidimensional photomapping), or to georeferenced orthophoto (coming from 3D operations based on SfM/MVSR techniques). Of course orthophoto are the best solution, but currently the 3D work-flow with standard hardware is pretty slow. This is the reason why for almost all the palimpsestic documentation we still work with both the system: 2D photomapping and 3D SfM; depending on the time-table we have on the field, we choose the post-processing operations.
Within QGIS it is possible to draw vector layers in different ways. Basing on our experience (as you can see in the video), the best two best solution are:

1. to use the plugin Freehand Editing (if you want to experience something that is really similar to the old-traditional methodology, with the pencil and the paper)

2. to use the standard vector drawing tools (if you want to avoid too complex sahpes, like polygons with too many nodes)

IMHO, Freehand Editing plugin is a perfect solution for field operation, so that I am planning to add it into qgis-archeos-plugin, for ArcheOS Hypatia.

Monday, 27 July 2015

Documentation of a bas-relief on a cliff : the workflow

This summer, between May and June, we worked for a joint mission, led by the University of Innsbruck (Institut für Alte Geschichte und Altorientalistik) and the Cultural Heritage, Handcrafts and Tourism Organization of Iran. The project was held in Firuzabad, in the Pars Province of Iran. We will write more details about this work in the next post. By now I just want to use some material we collected to illustrate the work-flow in data acquiring during an archaeological documentation of a bas-relief on a cliff.
The video below shows the overall process.



You can see the initial preparation phase (1), during which we placed the Ground Control Point (GCP) to perform normal 2D vertical photo-mapping and to rectify and georeference the 3D point-cloud. Than (2) we collected pictures with three different flights of our DIY drone, in order to use them with different open source SfM/MVSR software (PPT, openMVG and MicMac), to reach the best possible result: a couple of flights with parallel camera, to have a good superimposition of the whole bas-relief, and a higher acquisition to cover the upper details. In the meantime (3) another operator (+Rupert Gietl) was collecting pictures from the ground, to register also the lower perspective. Later (4), I prepared the total station and collected the GCP, thanks to some fixed points we placed the day befor (0) with our GPS. Finally +Rupert Gietl  took the last (very close) details photos, using a ladder.
The entire process lasted more or less four hours, but we needed some more time the day before to place the fixed GCP down in the valley (in international Geographic Coordinates System). A good part of the work involved just the logistics or the approach to the site, and has been slowed by the transportation of the necessary equipment (ladder, total station and drone) through a couple of passages where it was necessary to climb some rocks.
It is interesting to note that it would not have been possible to accomplish this mission with a commercial drone, due to the embargo rules (which are currently under revision), while with a DIY hexacopter it has been simple to disassemble the components which were not allowed (like the FPV system ore the GPS controlled flight).
I hope this post was useful, have a nice day!

Friday, 18 April 2014

How to take pictures for photomosaics in narrow conditions: A clever solution for a common archaeological fieldwork problem.


Everyone who works on archaeological excavations knows situations like this:


A narrow and deep trench or a wall near to the limit of the excavation area.

If subsequently we have to make a photomosaic of the profile or facade, it means:

  • either photographing from the top, hazarding the consequences like distorsion:

  • or splitting the photomosaik in numerous single tiles, and that means a lot of work!


A very simple and clever solution for this problem can be the use of a mirror:

Putting it down in an inclined position on the ground and positioning yourself on the opposite side (watch the illustration beneath and heed me kneeing outside of the trench), it allows you to take a shot of the reflection of your facade in the mirror.

Of course the picture will show the object mirror-inverted, but don't worry:
The rectification software will fix it again...


Thanks a lot to Granma for borrowing us her wonderful kitsch bedroom-mirror!

Thursday, 27 February 2014

Digital Archaeology at Lund University

This year, as usual since 2011, +Alessandro Bezzi and me taught some lessons during the course "Archaeology and Ancient History: Digital Archaeology, GIS in Archaeology" at Lund University, held by +nicolò dell'unto. We used the opportunity to update the presentation with which we always start the first lecture. Here below you can see its last version, done with impress.js (just click on the first slide and us the spacebar to navigate).



For a better view, click here

The main topic is digital archeology (or "computational archeology", as it is also known in Italy). 
Initially we define five main operations that are common to any archaeological project: data acquisition, processing, management, analysis and sharing. The first three steps refer to the documentation work-flow, while the last three actions are related with the real research process (of course data management is in common with both of the phases).
Thereafter we analyze each step, starting with data acquisition, which is mainly based on hardware devices. During this operation are normally registered two elements, points and pictures, in order to virtually recover what the archaeological excavation is destroying. With points and pictures it is possible to document objects (artifacts and ecofacts) and actions (basically the archaeological samplings), and their elaboration or, in some cases combination, allows the researchers to record lines, polygon, 3d surfaces and real volumes, to register also the most complex elements of the archaeological record (layers, structures, etc...).
On the contrary of what happen with data acquisition, data processing is mainly based on software. Nowadays it can be divided into two orders of operations: standard procedures (raw coordinates elaboration, 2D photomapping, 2D vector archaeological drawing) and advanced techniques (3D restitution, volume calculation and 3D modeling). The very first and basic step to visualize recorded data is to elaborate the raw coordinates, registered with a total station or a RTK GPS, into a GIS readable code (e.g. CVS or WTK). Combining points and pictures is also possible to create georeferenced photomosaic, using a photomapping techniques (e.g. the metodo Aramus, the Khovle method or the newest Corte Inferiore method). Once obtained a complete georeferenced photomosaic it is possible to use a GIS to draw over the raster level, using one or more vector layers and to connect them with a database. Advanced techniques of documentation are more directly related with 3D and can be based on different methodology to extract morphological, topological and metric informations from one or more pictures (e.g. SvR, SfM, IBM, 3D photogrammetry, etc...). With these informations it is possible to calculate the real volumes of the elements of the archaeological records and use this data to reconstruct the depositional and post-depositional processes, using, when necessary, 3D modeling. Normally, during the different work-flows that can be involved in data processing, many kind of informations are elaborated with raster, vector and voxel graphic in 2 (x,y), 3 (x,y,z) or 4 (x,y,z,t) dimensions. The final aim is to set up a system which is able to handle such a variety of data and this system is the GIS.
In fact GIS software, combined with DBMS, are extremely useful during the data management phase, exactly for their capacity to handle different kind of informations (as many as are the disciplines or sciences which help archeology in its task). The use of such instruments helps to optimize the research, especially in comparison with the traditional techniques, not only during data management, but also during the more delicate stage of data analysis (when most of the cognitive processes are involved).
Among other things, in this fourth step, it is more evident the importance of using open source software and tools to maintain a continuous control on every single process of a study that can lead to the elaboration of new theories. Of course, not all the the analysis are equally sensitive under this aspect: for the simplest researches (anastylosis, building techniques, basic geomorphology, etc...) it is not strictly mandatory to know the source code of the applications, also because in these cases the main examinations are done directly by humans. On the other hand, for more complex studies (landscape archeology and Cost Surface Analysis, statistics, advanced geomorphology, etc...), it is very important to have a complete access to  the formulas and algorithms used by the software in order to keep an human control and do not completely delegate to the computer, among difficult quantitative calculations, also more delicate qualitative investigations (in which the human operator is still essential). In this way it is possible to correctly study all the different informations collected during the archaeological research, considering, at the same time, future integrations (GIS is an open system under a temporal point of view). The last goal of data analysis is to share results with the (scientific and non) community, which is the best way to improve the archaeological discipline itself, especially exploiting the potential of internet.
This lead us to the final step of an archaeological project (data sharing), which can follow different channels, like traditional publication, e-publication (e.g. webgis), exhibitions, etc... The most important thing, at least for scientific disclosure, is to grant a public access to all the informations used for the study (not only the filtered data, but also the raw data), in order to propose new hypothesis and (at the same time) give the all the necessary elements to verify them (no dogma, no authority principle).
To summarize the meaning of this contribution, considering archeology as a science (empiric approach) and a humanity (speculative approach), we can see how computational archeology helps to improve the scientific (empiric) approach, which is often underestimated, granting a more objective data acquisition and processing respects traditional techniques, especially during the critical phase of the archaeological excavation. In fact, unlike scientific experiments, the archaeological excavation is unrepeatable, being the most destructive approach of the discipline (and, at the same time, the most important).

PS

All the screenshots were done with ArcheOS. Some of them are related with really old projects, slowly we will replace them with more updated images...

Thursday, 4 July 2013

Photomapping with Quantum GIS (Khovle method)

Hi everybody
Together with Alexamder Sachsenmaier and Alesandro Bezzi i found out a method to create a photomosaic just with QGIS. The problem was to export the single pictures in a good quality and in the size of the whole photomosaic not just the size of the single picture. But this works fine with the print composer of QGIS
So shortly:
1. edith the file of the ground control points to a .csv file
2. import the .csv file into QGIS (plugin is requiered)
3. change the design of the points
4. start the print composer and export the model with the points. Here its possible to set the dpi: e.g. for an area of 3x2m 500dpi gives a resolution of more or less 1mm
5. start the georeferencing plugin of QGIS and georeference the model
6. to export the wordfile from the geotiff of the model, type the following in the terminal
gdal_translate -co "TFW=YES" input_geotif.tif output_tif_tfw.tif
or open the model in OpenJUMP and close it again
7. georeference all the single pictures with QGIS
8. start the same print composer like the one for the model and export all single picures (dont move the pictures)
9. open the model in GIMP and import all single pictures as single layers
10. give the same name to the wordfile of the model and the photomosaic
Alessandro allready maked a videotutorial:



So, I hope this is helpful for somebody...

Sunday, 3 March 2013

ArcheOS Theodoric CAD metapackage

Hi all,
with this post I would like to start a series of report about ArcheOS 5 (Theodoric) development, both to keep you informed on the state of the art of the new release and to have more feedback from the community (nowadays ATOR reaches about 7000 or 8000 readers per month). 
As most of you know, Fabrizio Furnari had the good idea to reorganize ArcheOS software selection into different metapackages (divided by the topic already used for the archaeological menu). This will optimize the software management (from the developers point of view) and will spare users time during the installation process (everybody will be able to install just the applications he really needs).
Today I will shortly describe the CAD (Computer-Aided Design) metapackage. For thins kind of software we decided to proceed on the path of ArcheOS 4 (Caesar, beta release), confirming the choice of LibreCAD, for 2D operations, and FreeCAD for 3D. 
In the image below, you see, for example, the use of LibreCAd to rebuild a 2D Cartesian coordinates system, trough triangulation (it can be useful in those cases where it is impossible to use total stations or GPS to record Ground Control Points, for photomapping, or other archaeological elements).

Building a Cartesian coordinates system through triangulation in LibreCAD
In this other screenshot, you can see the use of FreeCAD during the architectural documentation of the church of S. Maria Assunta in Riva del Garda (Trentino, Italy).

FreeCAD (Architectural documentation)

Unfortunately, for this category of applications, we are not yet able to evaluate, from an archaeological point of view, the software BRLCAD, which seems to have great potentialities. For ArcheOS Theodoric release, we decided to exclude BRLCAD form the software selection, but it is till under observation. 
We will go on testing the use of BRLCAD for archaeological purposes, but if someone of you has the necessary knowledge for the application of this software in cultural heritage (or has some feedbacks about it), please contact us (or simply reply this post). Thanks to your help we hope to improve ArcheOS faster and faster!

Saturday, 23 February 2013

The first photomosaic for architectural purposes?

In these days I am teaching various techniques to document in 2D cultural heritage with FLOSS (Free/Libre and Open Source Software) at the UNESCO master Open Techne. In particular I speak about photomapping and 2D photogrammetry technologies (to record horizontal and vertical surfaces).
Teaching students is always an interesting and instructive experience and , in most cases, it is often a mutual exchange of information, so it is more similar to a dialogue than to a monologue. I often learned a lot during these occasions and sometimes I have the opportunity to further investigate particular topics or to change my point of view on them, thanks to the discussion with other people.
Today it happened something like this: we were investigating the right way to correctly take pictures in order to use them for am architectural photomosaic (fortunately among the students there are not only archaeologists, but also architects, engineers, computer technicians, etc...), so I thought that a good example was the "photographic paint" maid in 1873 by Giacomo Rossetti, that I happened to see some years ago visiting the Musei Civici di Arte e Storia di Brescia (IT). You can see this "masterpiece" in the image below:

Photographic paint of S. Maria dei Miracoli in Brescia (G. Rossetti)

If I remember well what I read about this photographic paint, G. Rossetti built a wooden stage in order to collect the different photos that compose the photomosaic without excessive distortion. Of course now there are simpler ways to take good pictures (just read the last post Alessandro wrote about the UAV dornes we built), but the question of the students was: 

is this the first example of photomosaic for architecturale purposes?

To be honest, I was not able to answer the question. I just know that G. Rossetti presented its work during the exposition in Vienna in 1873 (where he won the medal of merit), but he started similar project earlier (around 1862). It seems that Rossetti's experiments were most appreciated abroad that at home (there is not even an Italian page in Wikipedia), so I think that better informations can be found in foreign countries.

 If some of the readers knows similar work of other photograpgers/artist (or of G. Rossetti), please report them on this blog, so next time maybe I will be able to better answer to student's question about this topic :).

Tuesday, 9 August 2011

Metodo Aramus

In 2006 we joined the Aramus Excavations and Field School. That one was our first year in the project as a society. Our primary goal was to help in software migration from closed source softwares to FLOSS. The migration ended without problems, thanks to ArcheOS, but it caused some minor changes in the archaeological workflow. One of most important was the new methodology we had to develop in order to performe a fast photomapping technique of the excavation (at least as fast as the system they used before). We called this new methodology "metodo Aramus" and, untill now, we are still using it. The main reason is the quality we reached with the georeferenced photomosaics: compared with other traditional techniques, every single photo in the final image is equlized in brighteness and contrast. The result is a composite picture in which is more or less impossible to recognize the borders between the single photos.  

Comparison between traditional methodology and Metodo Aramus

Sunday, 7 August 2011

Archaeological drawing from photomapping

IMHO one of the main benefits of photomapping is the fact that everybody is able to do good archaeological drawing. In this way it is not necessary to divide archaeologists between "diggers" (who simply excavate layer by layer)  and "drawers" (who just document). In our (Arc-Team) experience it is never a good solution when someone has to document a situation he does not know (because was exposed by someone else).
In other words, photomapping techniques and GIS allow also normal archaeologists to reach the same quality level of professionals in drawing layers or finds. As an example, the picture below shows the skeleton of a young goat found in Aramus (AM): the georeferenced photomosaic is done with photomapping techniques ("metodo Aramus") and the drawing is done by me (i am not a professional in drawing) using the GIS OpenJUMP (inside ArcheOS).

Georeferenced photomosaic and vector drawing with OpenJUMP

BlogItalia - La directory italiana dei blog Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.