Where the line sits: reading horizon and vertical-line position in photographs, checked against human marks

Russell Parrish, Parallax Metrology. Note, 20 November 2026. Not peer reviewed. · Code and data · Lab book

Photographers describe composition by where things sit: a horizon in the middle or on a third of the frame, a vertical line at the centre or on a third, a subject on a power point. We built plain, named measurements of the strongest horizontal and vertical lines in a photograph, with no model trained on photographs, and checked them against people in two ways. They agree with where annotators drew lines, and they separate expert-labelled categories that whole-image methods could not. The same approach did not work for subject placement, and this note says so.

The claim. On CADB (9,497 photographs, read once), where annotators marked one horizontal line, the horizon reading lies within 0.05 of the image height of it for 53% of images (median error 0.040, against 0.226 when the marks are shuffled); the vertical reading agrees similarly (47% within 0.05; median 0.069 against 0.287). On PICD the same readings separate horizon-in-the-middle from horizon-on-a-third (AUC 0.78 on fresh images) and the vertical-line pair (0.79), where whole-image methods stayed near chance. Not established: subject placement. The compact-object reading did not follow the annotators' subject boxes on CADB, so a third PICD pair (a subject at the centre vs at a power point) is not claimed; the thirds-point and centre-point scores are barely above chance on CADB, and the diagonal, golden and perspective scores are not supported on real photographs.

1. Background

The datasets. PICD (Zhao et al., CVPR 2025) labels each of its photographs with one of 24 composition categories, for example "Horizontal Middle Part" and "Horizontal Third Part". CADB (Zhang, Niu and Zhang, BMVC 2021) labels each photograph with one or more of 13 classes and includes the annotators' own drawn marks (lines, boxes). The problem. In an earlier benchmark study five PICD category pairs stayed near coin-flip accuracy for every method we tried, including three well-known learned models, and the data could not say whether the categories overlap or the methods are too coarse. Those methods each reduce a picture to one summary vector with no record of where things sit; we call them whole-image methods. A reading is a named number computed from an image with no training, such as "the strongest horizontal line sits at 0.37 of the height". Each reading has a written definition and can be inspected on the picture.

How to read the numbers. AUC (one-vs-rest or pairwise) is the chance that a random image of the target category scores higher than a random image of the other category or categories: 0.5 means no separation and 1 means perfect. Intervals are 95% bootstrap intervals. A fitted layer is a logistic regression trained on labelled images and is called one wherever it appears; the readings themselves are training-free (two detection thresholds were calibrated on synthetic images). Discipline: a written plan fixed the definitions and the predictions before each real-photograph test; the PICD readings were designed on one half of a held-out pool, confirmed once on the other half, and tested once on 960 fresh images; CADB was read once.

2. What is measured

Figure 1. How a position reading is computed on a photograph.
1/31/22/3y* = 0.37row profile: mean |vertical gradient| of each rowLS-Hori3 image 006768 (seeded draw); shaded bands: +/- 1.5% tolerance around the template positionstemplate fits for this image: thirds_h z = 0.8 centre_h z = 0.1 phi_h z = 4.2 fifths_h z = 1.7

Reading. One measurement (the profile) serves every horizontal template; the thirds, centre, phi and fifths scores differ only in which positions they read. Here the strongest line sits at 0.37 of the height and phi_h scores highest (z 4.2); a line near the lower or upper third can sit nearer the phi position than the thirds one, which are only 4.9% of the frame apart.

A real photograph (PICD, credit at the end) beside its row profile: the mean vertical gradient of each row. The strongest horizontal line sets y*. Shaded bands are the tolerance around 1/3, 1/2 and 2/3.

Data table for figure 1
template / readingz scorerank score
thirds_h0.810.92
centre_h0.140.43
phi_h4.161.98
fifths_h1.700.74
y* (dominant horizontal line)0.369
Figure 2. What the readings report on four photographs.
LS-Hori2 000217
Strongest horizontal line at 0.40 of the height: 0.07 from the upper third.
LS-Hori3 034445
Strongest horizontal line at 0.28 of the height: 0.05 from the upper third.
L-Ver2 014341
Strongest vertical line at 0.50 of the width: 0.00 from the middle.
L-Ver3 028027
Strongest vertical line at 0.41 of the width: 0.07 from the left third.

Reading. The measured line is not always where the category name suggests; the reading is a measurement of the picture, not a copy of its label.

One image drawn at random (seeded) from each of four PICD categories. White dashed lines mark 1/3, 1/2 and 2/3; the solid line is the measured position. Images from PICD (Zhao et al., CVPR 2025), the part released for redistribution, shown reduced and uncropped under CC BY-NC-SA 4.0 and the dataset's Terms of Use; the dataset does not record photographer or platform per image; ids shown.

Data table for figure 2
categoryimage idreading
LS-Hori2000217Strongest horizontal line at 0.40 of the height: 0.07 from the upper third.
LS-Hori3034445Strongest horizontal line at 0.28 of the height: 0.05 from the upper third.
L-Ver2014341Strongest vertical line at 0.50 of the width: 0.00 from the middle.
L-Ver3028027Strongest vertical line at 0.41 of the width: 0.07 from the left third.

3. Result: it agrees with where people drew the line

CADB annotators drew the elements they saw for each composition class, in each photograph's own pixel frame. For photographs with exactly one marked horizontal segment, we compared its height with the reading's y*. The comparison is a direct check against human marks, not against a category label. Shuffling the marks across photographs gives the null: errors four to six times larger.

Figure 3. Does the reading agree with where people drew the line?
Horizontal: lens y* against the marked lineannotators' mark (height fraction), n = 2117median error 0.040; 53% within 0.05Vertical: lens x* against the marked lineannotators' mark (width fraction), n = 377median error 0.069; 47% within 0.05

Reading. Horizontal: median error 0.040 of the image height against 0.226 when the marks are shuffled across images; vertical 0.069 against 0.287.

CADB, all 9,497 photographs: images with exactly one annotated horizontal (n = 2117) or vertical (n = 377) segment. Each dot is one photograph; the dashed line is perfect agreement. The reading was fixed and hashed before CADB was read once.

Data table for figure 3
classimages with one markmedian errorwithin 0.05median error, permuted marks
horizontal21170.04053%0.226
vertical3770.06947%0.287

On the official test split alone the numbers are the same in kind (horizontal n = 159, median error 0.026; vertical n = 29, median 0.084). About half of the photographs fall within 0.05 of the image height; the rest scatter. We have not analysed why; a likely cause is photographs with no single dominant line.

4. Result: it separates categories that whole-image methods could not

In the earlier benchmark, "horizontal middle" vs "horizontal third" and "vertical middle line" vs "vertical third line" scored 0.49 to 0.55 pair accuracy for every method. The category definitions are about position, and the line readings report position.

Figure 4. Where the strongest line sits, by category (PICD, fresh images).
Strongest horizontal line: height1/31/22/3LS-Hori2LS-Hori3Strongest vertical line: position1/31/22/3L-Ver2L-Ver3

Reading. Middle categories cluster at 1/2; third categories sit at 1/3 and 2/3.

40 images per category, LockboxB, read once.

Data table for figure 4
readingcategory 1mediancategory 2median
Strongest horizontal line: heightLS-Hori20.528LS-Hori30.653
Strongest vertical line: positionL-Ver20.496L-Ver30.584
Figure 5. The two line pairs on three sets of PICD images.
0.40.50.60.70.80.91.0The two line pairs: AUC of the position reading on three setsLS-Hori3 vs LS-Hori2L-Ver3 vs L-Ver2pooled DINOv3 probe (DevB)DevA (design)DevB (confirmation)LockboxB (fresh)

Reading. Both pairs separate on all three sets. A pooled whole-image embedding trained on about 69 images per category stays at 0.54 and 0.64 on the confirmation half; trained on 138 per category and tested on fresh images it reaches 0.74 and 0.64 (see the text).

AUC of the line-position reading: the chance that a random image of the thirds category scores higher than one of the middle category (0.5 is no separation). The pooled DINOv3 probe is a trained model plus a fitted layer, trained on about 69 images per category.

Data table for figure 5
pairscoreDevADevB [95% interval]LockboxB [95% interval]pooled DINOv3 probe, DevBdetection rate, LockboxB
LS-Hori3 vs LS-Hori2|y*-0.5|0.8460.863 [0.789, 0.923]0.776 [0.665, 0.876]0.54398%
L-Ver3 vs L-Ver2|x*-0.5|0.7660.816 [0.738, 0.888]0.794 [0.682, 0.901]0.63995%

A fair question is whether the reading beats learned models or only beats a pooled embedding that is built to discard position. We gave learned probes position-aware features (a map of where DINOv3's features are strong, or a plain 16 x 16 grid of edge strength) and up to 138 labelled images per category. They match or pass the reading from about 20 to 40 labelled images for the vertical pair, and are level with it for the horizon pair on fresh images (edge grid 0.82 against the reading's 0.78; vertical 0.85 against 0.79), while the pooled embedding stays at 0.74 and 0.64. So the categories do differ in position as defined, and the reading's advantage is that it needs no labelled image, not a higher ceiling.

Figure 6. Trained probes with position-aware features catch up given labelled images.
Horizon: middle vs third0.50.60.70.80.91.010204070100138labelled training images per categoryVertical line: middle vs third10204070100138labelled training images per categoryDINOv3 pooledDINOv3 4x4 patch gridDINOv3 patch-norm mapbrightness gridedge-strength gridposition reading (no training)Lines: mean of 10 random splits on the pool (test 38 per category). Diamonds at 138: trained on the whole pool, tested on LockboxB (40 per category).

Reading. The reading's advantage is that it needs no labelled images, not a higher ceiling.

Lines: mean of 10 random splits on the PICD pool; diamonds: trained on the whole pool, tested on fresh images. The dashed line is the reading, which uses no labelled image.

Data table for figure 6
pairmethod10204070100LockboxB (train 138)
LS-Hori3 vs LS-Hori2D-pool0.555 +/- 0.0740.550 +/- 0.0890.596 +/- 0.0640.602 +/- 0.0570.630 +/- 0.0770.740
LS-Hori3 vs LS-Hori2D-grid0.590 +/- 0.0710.631 +/- 0.0630.693 +/- 0.0480.738 +/- 0.0450.770 +/- 0.0370.668
LS-Hori3 vs LS-Hori2D-norm0.586 +/- 0.0650.584 +/- 0.0700.623 +/- 0.0500.629 +/- 0.0320.641 +/- 0.0270.653
LS-Hori3 vs LS-Hori2G-bright0.621 +/- 0.0700.678 +/- 0.0380.742 +/- 0.0420.777 +/- 0.0390.787 +/- 0.0570.802
LS-Hori3 vs LS-Hori2G-edge0.643 +/- 0.1040.720 +/- 0.0760.768 +/- 0.0540.797 +/- 0.0410.814 +/- 0.0380.818
LS-Hori3 vs LS-Hori2position reading0.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.849 +/- 0.0430.776
L-Ver3 vs L-Ver2D-pool0.575 +/- 0.0450.604 +/- 0.0570.626 +/- 0.0490.659 +/- 0.0440.680 +/- 0.0490.642
L-Ver3 vs L-Ver2D-grid0.597 +/- 0.0570.618 +/- 0.0650.642 +/- 0.0380.667 +/- 0.0470.698 +/- 0.0450.637
L-Ver3 vs L-Ver2D-norm0.721 +/- 0.0760.781 +/- 0.0720.820 +/- 0.0580.842 +/- 0.0480.844 +/- 0.0520.844
L-Ver3 vs L-Ver2G-bright0.563 +/- 0.0620.579 +/- 0.0480.618 +/- 0.0530.638 +/- 0.0420.656 +/- 0.0440.676
L-Ver3 vs L-Ver2G-edge0.702 +/- 0.0920.774 +/- 0.0480.807 +/- 0.0400.842 +/- 0.0410.849 +/- 0.0430.848
L-Ver3 vs L-Ver2position reading0.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.776 +/- 0.0370.794

5. Where else it works on CADB, and where it does not

Zero-shot, the line coverage scores (how much of the frame's width or height the strongest line's edge spans) rank CADB's horizontal and vertical classes above the rest (AUC 0.77 and 0.63). The thirds and centre scores, which depend on where a subject sits, are barely above chance (0.57 and 0.55); diagonal (0.53), golden ratio (0.54), triangle (0.51), spiral (0.47) and perspective (0.60, interval crossing 0.5) are not supported. A fitted DINOv3 probe is ahead of every zero-shot score on every class, so as a classifier the readings are weaker; their value is that they are named and checkable.

Figure 7. The reading and the other scores on CADB's composition classes.
0.40.50.60.70.80.91.0CADB test split (950 images): one-vs-rest AUC per composition class (positives in brackets)center (451)horizontal (246)diagonal (201)vertical (182)rule_of_thirds (113)triangle (48)symmetric (54)golden_ratio (39)curved (57)fill_the_frame (66)vanishing_point (27)pattern (21)radial (6)lens template (95% interval)Facet-style heuristicfitted probe, lens featuresfitted probe, DINOv3

Reading. The line coverage scores carry the result; thirds and centre are barely above chance; a fitted probe on DINOv3 is ahead on every class.

CADB test split (950 images); multi-label images count as positives for each of their classes. Bold labels are classes whose lens score does not clear 0.5 with its interval (diagonal was a pre-stated prediction; golden ratio, triangle and curved had none; vanishing point was predicted not to).

Data table for figure 7
classpositives (test)lens scorelens AUC test [95% interval]lens AUC all 9,497Facet-stylefitted lens probefitted DINOv3 probe
center451max centre_h/v/pt0.550 [0.513, 0.587]0.5370.5120.6580.810
horizontal246line coverage (h)0.774 [0.740, 0.806]0.737-0.8140.876
diagonal201max of two diagonals0.535 [0.488, 0.582]0.522-0.6610.810
vertical182line coverage (v)0.632 [0.586, 0.675]0.617-0.7100.862
rule_of_thirds113max thirds_h/v/pts0.565 [0.510, 0.619]0.5350.5940.6190.736
triangle48max golden triangle0.513 [0.428, 0.601]0.505-0.6380.675
symmetric54----0.5970.885
golden_ratio39max phi_h/v/pts0.545 [0.442, 0.644]0.556-0.5800.591
curved57golden spiral0.473 [0.397, 0.546]0.510-0.5370.828
fill_the_frame66----0.7100.848
vanishing_point27finite VP support0.597 [0.491, 0.704]0.559-0.7700.979
pattern21----0.7700.984
radial6----0.7040.930

6. What is open, and what this does not show

Method and records

Readings: lens/ (profiles of mean gradient across rows and columns; tolerance 1.5% of the frame; PLAN.md fixes every definition). Specifications hashed before the confirmation, fresh and CADB runs: 570a8351… (PICD confirmation), 88f4193d… (PICD fresh), 0fc784df… (CADB); each real-photograph run was read once and the guards refuse a second run (the first CADB extraction hung without producing any output; the script was made crash-safe and the specification re-frozen before the rerun, a change logged as amendment A6). Comparators: a fitted logistic probe on DINOv3 (timm weights, offline), probes on patch-token maps and on brightness and edge-strength grids, and a reimplementation of Facet's thirds and centre heuristic. Full lab book with synthetic tests, claims ledger, amendments, fallen ideas and reproduction commands: the lab book. Code, derived results and a script that recomputes the real-photograph numbers: github.com/parallaxmetrology/composition-lens. The five-pair question comes from an earlier benchmark study of PICD (not published).

Image credit

Example images are from PICD (Zhao et al., CVPR 2025), the part of the dataset released for redistribution, shown at reduced size and uncropped. The dataset is released under CC BY-NC-SA 4.0 and its Terms of Use (non-commercial academic and educational use); it comes from open platforms (Unsplash, Pexels, Flickr) and redistributable datasets and does not record the photographer or platform per image, so credit is to the dataset and the image ids are given. CADB (built on AADB Flickr images, research use only) was used locally and none of its images are shown. Please see the PICD page for the terms before reusing any image.