rapidMQI

The Masonry Quality Index, in the browser. Photograph a wall, give the photograph a scale, and answer seven questions about how it was built. The software turns the answers into the index of Borri and De Maria, into a classification for vertical, in-plane and out-of-plane actions, and into an estimate of the mechanical properties of the masonry.

Written for the master's courses Mechanics of Historical Masonry Structures and Historical Masonry and Wooden Structures at the University of Bologna, and free for anyone to use. There is nothing to install: it is a static page that runs in the browser of a phone held up against the wall.

Open the application →

Start here

  1. Load a photograph of the wall, or take one. Stand square to the wall if you can: a face seen at a sharp angle cannot be measured.
  2. Set the scale. Pick Scale, click the two ends of something whose length you know — a brick course, a door opening, a folding rule left against the wall — and type that length. Everything measured afterwards is in metres.
  3. Work through the seven parameters. Each one shows the criteria of the paper, and you choose Fulfilled, Partially fulfilled or Not fulfilled. For the leaf connection and the vertical joints you can trace the path that decides it; for the block dimensions you can measure a handful of blocks.
  4. Say what the inside is like. On the right are two more views: a section through the thickness and a typical block. Photograph them if anything is exposed; if nothing is, pick the drawing that matches what the wall is understood to be.
  5. Read the result. Three indices, three categories, and the mechanical properties the correlation curves give.
  6. Save the survey to a file, and print the report.

A survey of one wall takes a few minutes once the photograph is scaled. A building is several walls: add a panel for each, and the Project pane compares them.

The index

The Masonry Quality Index asks a single question — was this wall built according to the rule of the art? — and breaks it into seven observable properties. Each is judged Fulfilled (F), Partially fulfilled (PF) or Not fulfilled (NF), each outcome carries a number from Table 8 of the paper, and six of the seven are added together:

MQI = SM · (SD + SS + WC + HJ + VJ + MM)

The seventh, SM, is not added: it multiplies. The state of the blocks themselves scales the quality of everything that was done with them, so a wall of decayed stone cannot score highly however carefully it was coursed. SM runs from 0.3 to 1, the sum from 0 to 10, and the index with it.

The numbers differ for the three loading conditions, because the same wall is not equally good at three different jobs. The connection between the leaves is worth 1 point out of 10 when the wall is merely carrying weight and 3 when it is being pushed out of plane; the staggering of the vertical joints is worth 1 vertically and 2 in plane. So the index is computed three times, and a wall can be class A for vertical actions and class C in plane.

The seven parameters

 What it asksVIO
SM
Elements
What the blocks are made of and what state they are in. The multiplier. ×1×1×1
SD
Dimensions
How large the blocks are: above 40 cm, between 20 and 40, below 20. 111
SS
Shape
From pebbles to perfectly cut stone, and whether there are pinning stones. 322
WC
Leaf connection
Whether the leaves are tied: headers, wall thickness, or the measured Ml. 123
HJ
Bed joints
Whether the bed joints run through, course by course. 212
VJ
Vertical joints
Whether the vertical joints are staggered or line up from course to course. 121
MM
Mortar
The quality of the mortar and how it bonds to the blocks. 221

The columns are what each parameter is worth when it is fulfilled, under vertical, in-plane and out-of-plane actions. They sum to 10 in each case. The application shows the same three numbers beside every choice, so it is always visible what an answer is worth.

Reading a photograph

The photograph is not decoration. Three of the seven parameters can be measured on it rather than merely judged, and the marks stay on the picture so that a reader of the report can see what the outcome was based on.

Scale

One known distance turns pixels into metres. A chequered bar one metre long then appears on the photograph, and every measurement is reported in centimetres or metres.

Ruler, for SD

Click the two ends of a block. Table 2 asks about more than half of the elements, so what it wants is the median of a representative sample: measure a handful and the application reports the median and which band it falls in.

Mark

A point on the photograph, attached to the parameter being assessed — the breach where the section is visible, the one course of bricks that makes the bed joints continuous, the decayed stones that settle SM.

Three views of the same wall

A photograph of a wall face answers four of the seven parameters and cannot answer two of the others. The connection between the leaves is inside the wall; the shape of a block is a three-dimensional fact that a flat view states poorly. So a panel in rapidMQI holds three views, and the strip above the photograph switches between them:

ViewWhat it settlesWhere it comes from
Wall face Bed joints, vertical joints, mortar, block dimensions The photograph anyone can take
Wall section WC, the leaf connection. Ml is measured here A breach, a window reveal, a broken corner — or a drawing
Typical block SS, the shape of the elements One block seen clearly — or a drawing

Each view carries its own scale and its own marks. A section is photographed from half a metre and a face from ten, so one scale for both would make every measurement on one of them wrong. Set the scale once per photograph and the tools follow.

When there is nothing to photograph

Most walls expose no section at all, and that is the ordinary case rather than the awkward one. For the section and for the block, the application offers three drawings, one for each outcome: two unconnected leaves with a straight joint down the middle, two leaves with some headers, or stones reaching from face to face; a pebble, a roughly squared lump, or a cut ashlar. Picking the one the wall is understood to be assesses the parameter and keeps the drawing.

A chosen drawing is an inference, not an observation, and the application never pretends otherwise: the panel says drawn, not photographed, and so does the report. A reader of the survey can see at a glance which of the seven outcomes rest on something that was looked at and which rest on something that was reasoned.

Dimensions, written under the drawing

Under each of the two drawings is a row of fields, and they are the geometry row of the paper's own data sheets: the three sides of a typical block — l the length, h the height, s the depth into the wall — and, for the section, the thickness t of the wall and the number of headers per square metre. Write them the way a surveyor writes them, as a range where a range is the truth: 24÷32 is as good an answer as 30. They are quoted on the drawing as they are typed, and they are printed on the data sheet.

Two of them together nearly answer WC. The qualitative column of Table 4 decides the leaf connection by comparing the thickness of the wall with the large dimension of the stones — similar is F, larger is PF, and stones small compared with the thickness is NF — and by counting headers: fewer than 2 per square metre is NF, 2 to 5 is PF, more is F. Write down t and l and the application reads the table back to you. The paper gives no numbers for similar or small, so the thresholds used are an interpretation, stated in the code, and the reading is offered as a suggestion: the choice stays yours.

Quotes on a photograph

When there is something to photograph, the same dimensions can be measured on it. The Ruler draws a dimension line with its value on it, and a quote can be given a name, so that a photograph of a section carries its thickness the way a drawing would: t = 118 cm. A quote drawn on a section belongs to the leaf connection; a block measured on the face is a sample for the dimensions of the elements. The report prints the photographs with those quotes on them.

The minimum length Ml

Two of the parameters have a quantitative criterion, and it is the same idea in both cases. Take two points about a metre apart and find the shortest path that joins them while running only through mortar joints, never through a block. The ratio of that path to the straight distance is Ml:

Ml = (shortest path through the joints) / (straight distance)

A wall of large, well interlocked blocks forces the path to wander, and Ml is large. A wall whose joints line up lets it run almost straight, and Ml approaches 1 — which is another way of saying that a crack would run just as easily.

Measured onForNFPFF
A visible wall sectionWC, the leaf connection below 1.251.25 to 1.55above 1.55
The wall face, one leaf at a timeVJ, the vertical joints below 1.41.4 to 1.6above 1.6

Pick the Path tool and click along the joints from one point to the other, then Finish. The application divides by the straight distance, says which outcome that implies, and warns if the two ends are closer than the half metre below which the ratio stops describing the texture of the wall and starts describing one joint.

What cannot be seen

Some parameters cannot be assessed from outside. If no section is exposed, the connection between the leaves is a guess; if nothing has been opened up, so is the mortar behind the pointing. The paper assumes all seven are assigned. rapidMQI allows one to be left as not determinable, and then reports the index as the interval it is known to lie in — the value it would take if the missing parameter turned out to be NF, and the value it would take if it turned out to be F.

The category may then be an interval too, and the application says so rather than choosing. It also says which missing observation would close the widest part of the interval, which is the useful question when there is time to go back to the building once.

No mechanical properties are offered for an interval as if they were an estimate. When the survey is incomplete the properties are shown as the widest values the correlation allows, and labelled as such.

The result

Three indices, and a category for each. Category A is a masonry of good behaviour, B of average quality, C inadequate. The thresholds differ by loading condition: out-of-plane actions are judged most strictly, because the out-of-plane mechanism is the one that kills.

ActionsCBA
Vertical0 to 2.52.5 to 55 to 10
In-plane0 to 33 to 55 to 10
Out-of-plane0 to 44 to 77 to 10

The Results pane also takes the index apart: what each parameter contributed, under each loading condition, at the outcome that was chosen. It is worth reading before the number is quoted anywhere.

Mechanical properties

Section 3 of the paper correlates the index with the mechanical parameters of the Italian code table, by building 36 virtual wall panels from that table and its multiplication factors and fitting an exponential through the lower and the upper bound of each range. The result is not a value but a band:

fm = 0.937 e0.2232 MQI to 1.6882 e0.1988 MQI [MPa]
τ0 = 0.0189 e0.2168 MQI to 0.0303 e0.1992 MQI [MPa]
E = 548.31 e0.1738 MQI to 821.24 e0.1634 MQI [MPa]

The application draws each band and marks where this wall falls on it, and compares the estimate with whichever row of the code table the wall is declared to be. The comparison asks whether the two bands overlap, not whether they agree: where they do not, either the declared typology or one of the seven outcomes is worth revisiting. The shear modulus G is not correlated in the paper and is derived as E/3, the ratio the code table holds; it is labelled as derived wherever it appears.

Files and reports

A survey is one JSON file, with the photographs inside it, so that it opens complete on any machine six months later. A working copy is also kept in the browser, so that a phone going to sleep in a courtyard does not cost a morning's work — but that copy is a convenience, not the record: save the file.

The report prints two sheets per wall. The first is the data sheet of the paper's own worked examples: the three views, what the wall is made of, the seven outcomes in a strip, and the analysis. The photographs on it carry the marks that were made on them — the traced path with its Ml, the measured blocks, the scale reference — so that a reader can see what an outcome was based on instead of taking it on trust.

The second sheet is what the application shows on the screen: the three indices with their category bars, the table that takes the index apart, the mechanical properties on their correlation curves, the comparison with the code table, the reference values it was checked against and the bands of Table 9. It is the part of a survey anyone else will want to argue with, so it is the part worth printing in full.

Two editorial decisions

Anyone comparing this application against the paper will meet two places where it does not do what the paper appears to say, and both are deliberate.

The categories of Table 9 are the right way round here

Table 9 as printed carries its column headers in the order A, B, C above ranges that run from the lowest index to the highest. Read literally, MQI = 8.5 would be a category C masonry — which contradicts the text, where A is "good behavior of masonry", and contradicts the paper's own worked example in Fig. 12, where 8.5 / 9.0 / 9.5 is classified A / A / A. rapidMQI puts the labels back the right way round: C is the lowest band, A the highest.

The shear strength is read at the in-plane index

The abscissa of Fig. 10 is labelled "MQI value (vertical actions)", but all three data sheets in the paper read τ0 at the in-plane index instead: Fig. 12 prints 0.133 to 0.182 MPa, which is the curve at 9.0 and not at 8.5, and Figs. 13 and 14 do the same. Three examples agreeing is a rule, and it is the physically sensible one, since shear strength is what governs the in-plane response. rapidMQI follows the data sheets, and the Project pane has a switch for anyone who would rather follow the axis label.

How to cite

The method is not ours. Cite the paper:

A. Borri, M. Corradi, G. Castori, A. De Maria (2015). A method for the analysis and classification of historic masonry. Bulletin of Earthquake Engineering 13:2647–2665. DOI 10.1007/s10518-015-9731-4

The software itself has a CITATION.cff in its repository. It is free software under the MIT licence, and its source is what runs: plain modules, no build step, nothing minified.