Systems that kept the measure

Measuring a room off the page

A perspective picture of a floor has to be rectified before anything on it can be measured, and the rectification is a fit that amplifies the marking error. An oblique picture of the same floor is already rectified — the page is the plan, at one scale, and a ruler on the paper is a ruler on the ground.

Worth reading first: What the removed roof buys · Flattening a façade out of the photograph.

The metrology field on this site is about reading a scene back out of a photograph of it, and every essay in it begins the same way: before anything on a plane can be measured, the plane has to be rectified — mapped back to its true proportions by a homography fitted from four marks.

That step is not free. It needs four points whose true configuration is known, it needs them in general position, and it propagates the error in every one of them into every subsequent measurement, unevenly, with the far corner of the plane worst affected.

An oblique picture of the same floor needs none of it.

The same three rooms, reached by a parallel system and by one eyeFilled dots are floor samples whose sightline clears the walls with the roofs off. Above, a parallel system at 52°: 55.6% of every room, identical to the last sample, because the strip a wall hides is h/tan θ wherever that wall stands. Below, the eye that frames the same building from 14.5 m: 49%, 56%, 49% — a spread of 6.2 points across rooms that are identical.parallel, 52° above the ground56% · 56% · 56%one eye, 14.5 m away49% · 56% · 49%a square metre of floor varies 1.000× against 1.535×spread across rooms: 0 against 6.2 points
Fig. 1 The floor this essay measures. Under the parallel system the imaged floor is an affine image of the real floor — a shear and a scale, nothing else — so the page is the plan, at whatever scale the drawing was made. Under the eye that frames the same building, the same floor is a projective image and needs to be undone before a ruler means anything.

An oblique picture of a plane is already a plan

The map an oblique projection performs on the ground plane is

[u,v]=[x+dzcosa,  (y+dzsina)][u, v] = [x + d z \cos a,\; -(y + d z \sin a)]

which for a point on the floor, y=0y = 0, is a linear map of (x,z)(x, z): a shear composed with a scale. It has no divide in it, so it is affine rather than projective, and an affine map of a plane is invertible by another affine map with no fitting at all — the shear angle and the depth ratio are properties of the drawing system, not of the picture.

The consequence is worth stating in one line. On an oblique drawing of a floor, a ruler laid on the paper measures the ground, up to one scale factor and one known shear. Two lengths in the same direction are in their true ratio anywhere in the picture; two areas are in their true ratio anywhere in the picture; and a length in one direction relates to a length in another by a constant that is the same everywhere.

A perspective picture offers none of those three without the rectification.

What the rectification costs, in numbers this site already has

The metrology field measured this and the numbers transfer directly.

Rectifying a plane from four corners of a known rectangle recovers three lengths it was never given to 4×10164 \times 10^{-16} relative — with exact marks. The interesting quantity is what happens with marks that are one pixel out, and the answer is the sensitivity per pixel: the error in a recovered length is the marking error amplified by a factor that depends on where on the plane the length sits and on how oblique the view is.

Two features of that amplification matter here.

It is not uniform. The far part of a receding plane is compressed in the picture, so a fixed marking error there corresponds to a larger world error — which is the same 1/Z1/Z that compresses the picture in the first place, appearing again in the error budget.

And it depends on the four marks. A rectification is a fit; a different choice of four corners gives a slightly different homography and hence slightly different answers everywhere. There is no such choice in an oblique drawing, because there is no fit.

What one pixel of click error costs, against distanceA 1.83 m object at 3 m is measured to 0.28% per pixel; the same object at 201 m to 18.2% per pixel. The whole object shrinks toward the horizon, so a pixel buys more world.05101550100150200distance from the camera (metres)error in the recovered height, per pixel of click error (%)5 m — 0.46%25 m — 2.27%100 m — 9.04%190 m — 17.16%one pixel, on a 690 px picturelinear in distance
Fig. 2 The cost the rectification carries, measured in the metrology field. A fixed error in where a mark is placed becomes a world error that grows with depth, so a measurement taken at the far end of a plane is worth less than the same measurement taken near. An oblique drawing has the same marking error and a constant amplification, because its map has no depth in it.

The comparison, stated as a working procedure

It is worth writing the two procedures side by side, because the difference is procedural rather than philosophical.

To measure a room off a photograph: find four points on the floor whose true configuration is known; check that they are in general position; solve the eight-equation system for the homography; apply it to every point of interest; and carry the marking error through the whole chain, remembering that it is larger at the far end.

To measure the same room off an oblique drawing: put a ruler on the paper. Multiply by the scale. If the length runs along the depth axis, divide by the depth ratio dd, which is a property of the drawing system and is written on the drawing or inferable from any right angle in the plan.

The second procedure is what a scale drawing is, and it is the reason architectural drawing settled on parallel projection and stayed there for six hundred years after perspective was available. The convention in a Japanese narrative painting and the convention in a modern engineering drawing are the same convention, and the property both are exploiting is the one measured here.

A façade, flattened out of the photographFour corners of a rectangle of known proportions fix the homography. Three lengths it was never given come back to 4e-16 relative — so every measurement on that plane is available, in units of the rectangle's own width.the picturethe same plane, rectifieddoor — 0.5068 widths (true 0.5068)sill — 0.3026 widths (true 0.3026)diagonal — 1.1766 widths (true 1.1766)worst error 4e-16 relativethe probes were not used to build the map
Fig. 3 The step an oblique drawing does not have. Four corners of a rectangle of known proportions fix the homography, and three lengths the fit was never given come back exactly. Everything about this is correct and none of it is necessary when the projection was affine to begin with.

Why the shear does not spoil it

An obvious objection: an oblique projection shears the floor, so a right angle in the room is not a right angle on the page, and a reader measuring an angle gets the wrong answer. How can a sheared picture be a plan?

The answer is that a shear is an affine map and affine maps preserve exactly the quantities a plan is for.

Ratios of parallel lengths survive. Two lengths in the same direction are in their true ratio, wherever they are and whichever direction it is.

Ratios of areas survive. A shear multiplies every area by the same determinant, so two areas are in their true ratio even though neither is at true scale.

Parallelism and midpoints survive, which is the site’s own test for a measure-preserving system.

Angles do not, and neither do ratios of lengths in different directions without the depth ratio.

So the honest statement is: an oblique drawing of a floor is a plan in a sheared coordinate system, and undoing the shear needs one number. That number — the depth ratio and the shear angle, which the drawing system fixes — is known in advance rather than fitted, which is the entire difference from a homography.

A perspective picture of the same floor is not a plan in any coordinate system, sheared or otherwise, because a projective map does not preserve ratios of parallel lengths at all. That is the gap: one is a plan needing a known correction, the other is not a plan.

The midpoint of one segment, under both familiesThe parallel projection places it exactly halfway (0e+0 px out). The perspective projection places it 22 px away from halfway, 7% of the drawn length.halfway along the drawn linethe actual midpointcorrect from 26 cm, at 160 mm wide22 px apart
Fig. 4 The property that separates them, measured on one segment under both families. A parallel projection sends the midpoint to the midpoint whatever the shear; a perspective one does not, by an amount that grows with the depth range. Every claim in this essay about measuring off the page follows from that one column.

Where the oblique drawing gives up

Two things it does not give, and the second is the one that would matter to somebody trying to use a fukinuki yatai painting as evidence.

It gives up depth as a free measurement. The depth ratio dd is a convention rather than a measurement — cavalier draws depth at full length, cabinet at half, and neither is a projection of anything, as this site’s parallel field measures. So a length along the depth axis is recoverable only if the ratio is known, and the ratio is a choice the draughtsman made. A drawing that does not state it is a drawing whose depths cannot be read.

And it gives up the guarantee that the picture is of anything. A cavalier drawing is not a projection of any solid from any direction; it is a construction. So a fukinuki yatai interior, measured, gives back a room that need not be the room — the measurements are self-consistent and correspond to a real building only if the draughtsman was consistent.

That second point is the honest counterweight to the whole essay. A photograph is evidence in a way a scale drawing is not: it was made by light, and the geometry of the picture constrains the scene whether anybody was careful or not. A drawing constrains the scene only as far as its maker did. The measurement advantage is real and it is an advantage in convenience and error propagation, not in evidential force.

What each parallel system does to the three axesThe smallest axis scale is plotted; the note says how many of the three coincide and whether the system is an orthographic projection or an oblique construction. cavalier and isometric both make all three the same — but isometric is the only orthographic one that does, at 0.8165, and the oblique route gets there by drawing depth at true length.elevation0.0000two equal, orthographiccabinet0.5000two equal, oblique ←cavalier1.0000all three equal, obliquedimetric0.4714all three different, orthographicisometric0.8165all three equal, orthographictrimetric0.5479all three different, orthographicsmallest of the three axis scalesmeasured from each projection
Fig. 5 The system this essay’s floor is drawn in, among its neighbours. Cabinet draws depth at half length by decree; cavalier at full length; neither is the orthographic projection of any solid. The measurement advantage below rests on the map being affine, and the affine map is a construction rather than a photograph.

Area, which is where the difference is largest

The single sharpest number in the comparison is not a length but an area.

Under the parallel system, a square metre of floor images to the same area everywhere: the ratio of the largest imaged square metre to the smallest across the whole building is 1.000000000000. Under the eye that frames the same building it is 1.535.

Areas matter because they are what a reader estimates without meaning to. A room drawn half again as large as another reads as half again as large, and in a perspective picture of a long building that impression is an artefact of position. In an oblique one it is a measurement.

This is also the quantity that makes the convention work for its actual purpose. A narrative painting showing a scene in each of several rooms is asking a reader to compare them — who is where, how many people, how much space — and a system in which the same space is drawn the same size wherever it is makes that comparison free.

What a wall hides is h/tan θ, wherever the wall standsThe smooth line is 2.3 m of wall divided by the tangent of the elevation, subtracted from the 4.2 m room. The steps are what the sightline test actually finds over the floor grid. They agree to one row of samples across the whole range, which is what says the occlusion test is measuring the geometry and not the grid.02550754050607080elevation of the parallel view, degreesshare of each room's floor reached, %h / tan θthe sightline testwalls 2.3 m, rooms 4.2 m deeptwo independent routes
Fig. 6 And the same uniformity in what is hidden rather than in what is drawn. The strip a wall hides is h/tan θ wherever the wall stands, so every room loses the same band. A measurement taken off any room is taken under the same conditions as a measurement taken off any other, which is the whole of what this convention buys.

What a reader has to be told, and what they can find

A useful way to compare two measuring instruments is to list what each one needs supplied from outside.

A perspective picture needs: four points on the plane whose true configuration is known, a decision about which four, and — for anything metric rather than proportional — a reference length. It needs nothing about the camera, which is the remarkable part and is what makes single-view metrology work at all: the homography absorbs the intrinsics.

An oblique drawing needs: the depth ratio, and a reference length. It does not need any points on the plane, because the map is known in advance rather than fitted.

Those are close to equal in count and very different in kind. The photograph’s four points have to be found in the picture and marked, and every marking error propagates; the drawing’s depth ratio is a single number that either is written on the drawing or is not. One instrument’s uncertainty is spread over four measurements a user makes; the other’s is a single fact a user either has or does not.

There is also a difference in what can be checked. A photograph’s four points over-determine nothing — four is exactly the number a homography needs — so there is no residual to inspect and no way to tell a bad marking from a good one. Mark a fifth point whose configuration is known and there is: the homography becomes a fit, and the residual reports. That is worth doing and is rarely done, and it is the same redundancy argument the multi-view field makes at a larger scale.

An oblique drawing offers the same check for free in a different form: every right angle in the plan is a check on the shear, and every parallel pair is a check on the projection having been kept.

A 3.4 m object measured from one picture, 11 m awayThe base, the horizon crossing, the top and the vertical vanishing point have a cross-ratio of 1.9101. With the eye at 1.62 m that gives 3.400 m, against a true 3.4 m. The camera is not consulted.horizon — the eye's own heightbase — 0 mhorizon crossing — 1.62 mtop — 3.40 m recoveredthe vertical vanishing point is 8586 px above this framerecovered 3.400 m · true 3.400 m1.8 cm per pixel of click error
Fig. 7 The photograph’s side of the comparison, on the site’s own machinery: a height recovered from one picture, given a reference at the same place. It needs the marks, it needs the reference, and it repays them with a measurement of the world. An oblique drawing needs less and repays a measurement of the drawing.

One more thing the affine map gives

A last property, easy to miss and genuinely useful: parallel edges stay parallel.

Under a homography they do not — that is the point of a vanishing point — so a rectangular room in a photograph is a quadrilateral, and deciding whether the room is really rectangular means fitting something. Under an oblique projection a rectangle is a parallelogram, always, and a parallelogram whose sides are not in the drawing system’s own two directions is a room that is not rectangular.

So an oblique drawing lets a reader check the shape of a room by eye, immediately, in a way a photograph does not. That is the same property the site’s wrong field exploits in the other direction: a perspective drawing made by hand can be asked what solid it depicts and will usually answer not the one intended, precisely because the projective map has enough freedom to hide the error. The affine map has less freedom and therefore less room to be wrong in.

The taught two-point cube, with the two far edges placed 8 points apartThe corner angles are 90° because the method forces them. The side ratio is 0.719, so this picture depicts a box whose depth is 1.39× shallower than its width.horizoncorner angles90.000° — forced by the methoddepicted side ratio0.7195lens this drawing implies60° acrossdrawn exactly as the method prescribesthe free step is where the far edges go
Fig. 8 The freedom a projective construction has and an affine one does not. A cube drawn by the taught two-point method is a correct picture of a parallelepiped, and nothing on the page announces it. The same error in an oblique drawing shows immediately, because a rectangle has to come out a parallelogram with sides in the system’s own two directions.

Two numbers that make the case concrete

To finish with something a reader can carry, here are the two comparisons in the form of a task.

Task one: how long is the far room? On the oblique drawing, measure it and divide by the scale. Done, exactly, with an error equal to the measuring error.

On the photograph: find four points on the floor whose true configuration is known — which usually means assuming a rectangle somewhere — mark them, solve the homography, transform the two ends of the room, and take the difference. The error is the marking error amplified by a factor that at the far end of a receding plane runs to several times the near-end value.

Task two: is the far room the same size as the near one? On the oblique drawing, compare them directly: the area spread across the whole building is 1.000000000000, so the drawn areas are in the true ratio.

On the photograph, the same comparison is wrong by up to 1.535× before any measurement is taken, and correcting it requires the rectification from task one.

That second task is the one a reader performs without noticing, on every picture, all the time. In an oblique drawing the impression is a measurement. In a photograph it is an artefact of where the rooms are.

What each drawing system preservesEvery cell is read out of the system's own map rather than typed: the centre is fitted from its rays, measure is the site's own midpoint test, diminution is the drawn size of a fixed object at two depths, bounded depth asks whether infinite depth lands in finite page, and straightness is the sag of a receding line. Only perspective has a centre, and it is the one system with no true measure. No row has both.a centretrue measurediminutionbounded depthstraight linesperspectivehandscrollisometricdimetrictrimetriccavaliercabinetelevationfilled means the system keeps itmeasured from each system's own projectionno row is filled in both of the first two
Fig. 9 The row this essay’s floor is drawn in. True measure in the second column is the property the whole essay rests on, and it is measured by the site’s midpoint test rather than asserted from the system’s definition — which matters, because a system’s definition is exactly what a measurement of it should not assume.

What the field does with this

What one pixel of click error costs, against distanceA 1.83 m object at 3 m is measured to 0.28% per pixel; the same object at 201 m to 18.2% per pixel. The whole object shrinks toward the horizon, so a pixel buys more world.05101550100150200distance from the camera (metres)error in the recovered height, per pixel of click error (%)5 m — 0.46%25 m — 2.27%100 m — 9.04%190 m — 17.16%one pixel, on a 690 px picturelinear in distance
Fig. 10 What one pixel of marking error costs, against how far away the thing measured is. The amplification grows with the distance, so a measurement at the far end of a plane is worth less than the same measurement near. An oblique drawing has no equivalent curve, because its map has no depth in it.
What perspective gave up to get a station pointFour quantities a pinhole destroys that the systems in this field keep, each measured on this site's own machinery. None of them is an argument against perspective; they are the price of the one thing it has and they do not have, which is that the whole picture is a projection from one point. A trade is not a defect on either side.the ratio along a receding line15.6%0% parallelthe depth range in the last tenth69.0%10% lineara square metre, near against far53.5% larger0% parallelthe floor of the far room6.2 points0 parallelwhat it costs, and what the other systems have insteadmeasured on this site's own machinerythe price of a station point
Fig. 11 And the summary the field closes on, two of whose four entries are this essay’s: the ratio along a receding line, destroyed by 15.6%, and a square metre of floor varying 53% across a building. Both are zero on the other side.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Area scaleDrawing systemerror propagationFukinuki yataiHomographyOblique projectionRectificationReference lengthSensitivitysingle-view metrology