jnaiman commited on
Commit ·
66d8cd7
1
Parent(s): 1643690
sky image
Browse files- README.md +40 -0
- VQA_realskyimages/README.md +77 -17
README.md
CHANGED
|
@@ -41,6 +41,7 @@ page from a mid-century journal.
|
|
| 41 |
| Images | 2,001 JPEG, RGB, ~2000–2700 px wide |
|
| 42 |
| Model responses | 3 models x 255 figures x 2 conditions = **36,210** answered questions |
|
| 43 |
| Ground truth | Generator-exact, not human-annotated |
|
|
|
|
| 44 |
| Download size | ~8 GB of data |
|
| 45 |
| License | Apache 2.0 (see [Provenance](#provenance-and-attribution) for the sky cutouts) |
|
| 46 |
|
|
@@ -93,6 +94,15 @@ LMM_outputs_n255_archive_light/ RUN 2 -- the SAME 255 figures, aged
|
|
| 93 |
claude_haiku/
|
| 94 |
gemini/
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
example_data/ 3 illustrative figures shown twice: as
|
| 97 |
imgs/ Picture_N00089.jpeg rendered, and with every bounding box
|
| 98 |
diags/ Picture_N00089.jpeg drawn on in red, so the annotations can
|
|
@@ -108,6 +118,36 @@ numbering and are not part of the 2,001.
|
|
| 108 |
|
| 109 |
---
|
| 110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
## Citation
|
| 112 |
|
| 113 |
<!-- TODO: replace with the WASP 2026 paper reference once it is public. -->
|
|
|
|
| 41 |
| Images | 2,001 JPEG, RGB, ~2000–2700 px wide |
|
| 42 |
| Model responses | 3 models x 255 figures x 2 conditions = **36,210** answered questions |
|
| 43 |
| Ground truth | Generator-exact, not human-annotated |
|
| 44 |
+
| Published figures | **104** real journal figures with AVM astrometry and human-verified plot boxes, for comparison ([below](#published-figures-vqa_realskyimages)) |
|
| 45 |
| Download size | ~8 GB of data |
|
| 46 |
| License | Apache 2.0 (see [Provenance](#provenance-and-attribution) for the sky cutouts) |
|
| 47 |
|
|
|
|
| 94 |
claude_haiku/
|
| 95 |
gemini/
|
| 96 |
|
| 97 |
+
VQA_realskyimages/ 104 PUBLISHED figures (metadata only)
|
| 98 |
+
qa_jsons/ rsky_NNNNNN_qa.json provenance + AVM astrometry + plot box
|
| 99 |
+
+ 4 questions
|
| 100 |
+
selection_manifest.json all 163 scraped: kept / excluded, and why
|
| 101 |
+
fetch_images.py re-downloads the images (journal copyright)
|
| 102 |
+
|
| 103 |
+
LMM_outputs_realskyimages/ Gemini's answers on the published figures
|
| 104 |
+
gemini/ rsky_NNNNNN_qa.pickle (score against VQA_realskyimages/qa_jsons)
|
| 105 |
+
|
| 106 |
example_data/ 3 illustrative figures shown twice: as
|
| 107 |
imgs/ Picture_N00089.jpeg rendered, and with every bounding box
|
| 108 |
diags/ Picture_N00089.jpeg drawn on in red, so the annotations can
|
|
|
|
| 118 |
|
| 119 |
---
|
| 120 |
|
| 121 |
+
## Published figures (`VQA_realskyimages/`)
|
| 122 |
+
|
| 123 |
+
To test whether results on the synthetic figures carry over to real ones, the
|
| 124 |
+
dataset also includes **104 sky figures from published journal articles**,
|
| 125 |
+
indexed by the AAS Astronomy Image Explorer (AstroExplorer) with Astronomy
|
| 126 |
+
Visualization Metadata (AVM) placing each image on the sky. Their ground truth
|
| 127 |
+
comes from that astrometry, so only geometric questions are asked: angular
|
| 128 |
+
width and height (worded identically to the synthetic set, so scores compare
|
| 129 |
+
directly) and the J2000 position of the field centre.
|
| 130 |
+
|
| 131 |
+
The figures were verified in two stages before use:
|
| 132 |
+
|
| 133 |
+
1. **Automated astrometry check (163 → 156).** Each figure's AVM position is
|
| 134 |
+
compared with the SIMBAD position of the object named in its article title;
|
| 135 |
+
figures are also flagged for coordinates copied from another article, or for
|
| 136 |
+
fields too wide for one tangent-plane projection. 7 fail and are excluded.
|
| 137 |
+
2. **Human-verified plot boxes (156 → 104).** The archived images are page
|
| 138 |
+
crops, so the plotted region is located before its angular size is
|
| 139 |
+
measured: an OpenCV pass proposes the axis frame, and every proposal is
|
| 140 |
+
then checked by hand in Label Studio -- accepted, corrected, or deleted.
|
| 141 |
+
52 are deleted, almost all because the crop cuts off the axis labels.
|
| 142 |
+
|
| 143 |
+
The reviewed box is stored with every record (`source['plot_box']`), and the
|
| 144 |
+
angular sizes are measured along its edges through the AVM astrometry.
|
| 145 |
+
Images are **not** redistributed (journal copyright); `fetch_images.py`
|
| 146 |
+
rebuilds them. Full details, including the exact exclusion criteria and the
|
| 147 |
+
box fields, are in [`VQA_realskyimages/README.md`](VQA_realskyimages/README.md).
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
## Citation
|
| 152 |
|
| 153 |
<!-- TODO: replace with the WASP 2026 paper reference once it is public. -->
|
VQA_realskyimages/README.md
CHANGED
|
@@ -38,22 +38,82 @@ Each json is a JSON-encoded *string* (two decodes, as in `VQA_full`):
|
|
| 38 |
| `VQA` | `VQA[level]['Figure-level questions'][name]` -> entry, same entry fields as `VQA_full` |
|
| 39 |
| `vqa_id` | `rsky_NNNNNN` |
|
| 40 |
|
| 41 |
-
## Selection
|
| 42 |
-
|
| 43 |
-
163
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
## Ground truth comes from the plot box, not the whole image
|
| 59 |
|
|
@@ -71,7 +131,7 @@ pixels with the origin top-left, rectangle, reviewer flags/notes) in
|
|
| 71 |
|
| 72 |
## The questions, and why these
|
| 73 |
|
| 74 |
-
* **`field width`** (Level 2) -- What is the angular width of the sky region shown in this figure, measured along the right ascension axis, as a
|
| 75 |
* **`field height`** (Level 2) -- What is the angular height of the sky region shown in this figure, measured along the declination axis?
|
| 76 |
* **`center right ascension`** (Level 3) -- What is the right ascension of the centre of this sky image, in the J2000 (FK5) frame?
|
| 77 |
* **`center declination`** (Level 3) -- What is the declination of the centre of this sky image, in the J2000 (FK5) frame?
|
|
|
|
| 38 |
| `VQA` | `VQA[level]['Figure-level questions'][name]` -> entry, same entry fields as `VQA_full` |
|
| 39 |
| `vqa_id` | `rsky_NNNNNN` |
|
| 40 |
|
| 41 |
+
## Selection and verification
|
| 42 |
+
|
| 43 |
+
**163 → 156 → 104.** Every AstroExplorer figure tagged "Images with
|
| 44 |
+
astrometry" was scraped (163). An automated astrometry check removes 7, and a
|
| 45 |
+
human-verified plot box is required of every remaining figure, which removes
|
| 46 |
+
52 more. `selection_manifest.json` records all 163 with the step that dropped
|
| 47 |
+
each, and why. The `rsky_` ids keep their original numbers, so there are gaps.
|
| 48 |
+
|
| 49 |
+
### 1. Automated astrometry check (163 → 156)
|
| 50 |
+
|
| 51 |
+
The AVM astrometry was supplied with each figure, not fitted by us, so it is
|
| 52 |
+
checked before it is trusted. Each figure fails the check
|
| 53 |
+
(`astrometry_check.marginal_correctness = true`) if any of these hold:
|
| 54 |
+
|
| 55 |
+
| Check | Fails when | Excluded |
|
| 56 |
+
|---|---|---|
|
| 57 |
+
| Position | the object named in the article title, resolved through SIMBAD (Sesame), lies further from the image centre than the field's half-diagonal + max(2°, the full field diagonal) | 5 |
|
| 58 |
+
| Copied coordinates | the reference coordinates are identical to those of a figure from a *different* article, and the figure does not match its own title target | 1 |
|
| 59 |
+
| Field size | the field is more than 90° across, too wide for one tangent-plane (TAN) projection | 1 |
|
| 60 |
+
|
| 61 |
+
The margin in the position check is deliberately generous: extended targets
|
| 62 |
+
(the Cygnus Loop, Orion) can sit partly off-field. Milder problems -- a target
|
| 63 |
+
just outside the field, a 30–90° field -- are recorded as `notes` without
|
| 64 |
+
excluding the figure. Each record carries the result in
|
| 65 |
+
`source['astrometry_check']` (`marginal_correctness`, `reasons`, `notes`,
|
| 66 |
+
`title_target_sep_deg`, ...). As an independent check of the frame, for the
|
| 67 |
+
figures whose title target resolves in SIMBAD the AVM centre lies a median
|
| 68 |
+
0.025° from the J2000 position (see [the frame section](#the-frame-is-j2000-and-it-was-checked)).
|
| 69 |
+
|
| 70 |
+
### 2. Human-verified plot boxes (156 → 104)
|
| 71 |
+
|
| 72 |
+
The stored JPEGs are page crops -- running heads, colorbars, captions, sometimes
|
| 73 |
+
neighbouring text -- so the plotted region has to be located before its angular
|
| 74 |
+
size can serve as ground truth.
|
| 75 |
+
|
| 76 |
+
* **Automated proposal.** An OpenCV first pass proposes the plot (axis) frame
|
| 77 |
+
as four corners: Otsu threshold; morphological opening with long horizontal
|
| 78 |
+
and vertical kernels to keep only long straight ink runs; closed contours
|
| 79 |
+
simplified to near-rectangular quadrilaterals (corner angles 90 ± 12°,
|
| 80 |
+
covering ≥ 5% of the image); for frameless photographic panels, the largest
|
| 81 |
+
non-paper region around the AVM reference pixel; and, failing both, a box
|
| 82 |
+
from the longest horizontal and vertical segments. Candidates containing the
|
| 83 |
+
AVM reference pixel are preferred, since the astrometric solution is anchored
|
| 84 |
+
there.
|
| 85 |
+
* **Human verification.** Every one of the 156 proposals was opened in Label
|
| 86 |
+
Studio (1.23.2) and either accepted, corrected by dragging its corners, or
|
| 87 |
+
deleted. A box was deleted when no reliable frame could be drawn -- almost
|
| 88 |
+
always because the crop cuts off the axis labels. **52 were deleted; those
|
| 89 |
+
figures are excluded**, leaving 104. All 104 kept boxes have
|
| 90 |
+
`status: "reviewed"`; none is an unreviewed detector proposal.
|
| 91 |
+
|
| 92 |
+
The box is stored in each record as `source['plot_box']`:
|
| 93 |
+
|
| 94 |
+
| Field | Meaning |
|
| 95 |
+
|---|---|
|
| 96 |
+
| `corners_xy_topleft` | the four reviewed corners, image pixels of `images_nometa/<vqa_id>.jpeg`, origin top-left |
|
| 97 |
+
| `corner_order` | `"TL, TR, BR, BL"` |
|
| 98 |
+
| `rect_px` | axis-aligned bounding rectangle of the corners `[x0, y0, x1, y1]` |
|
| 99 |
+
| `field_width_arcmin`, `field_height_arcmin` | the box's angular sides (below) -- identical to the `field width` / `field height` answers |
|
| 100 |
+
| `center_radec_deg` | J2000 position of the box centre -- the `center right ascension` / `center declination` answers |
|
| 101 |
+
| `reviewer_flags`, `reviewer_notes` | anything the reviewer recorded (none were used) |
|
| 102 |
+
| `status`, `method` | `reviewed`; `OpenCV first pass (detect_plot_box.py), human verified in Label Studio` |
|
| 103 |
+
|
| 104 |
+
In `selection_manifest.json` the 52 rejected figures keep a `plot_box` entry
|
| 105 |
+
with `status: "reviewed"`, null corners, and `exclude_reason: "box deleted by
|
| 106 |
+
reviewer"`, so the rejection itself is on record.
|
| 107 |
+
|
| 108 |
+
**Consistency, checked 2026-10-11:** all 104 records hold a four-corner box,
|
| 109 |
+
and their `field width` / `field height` answers equal the box values.
|
| 110 |
+
Recomputing the widths from the stored corners and AVM parameters reproduces
|
| 111 |
+
them to within 0.013% (`models/figure_notebooks/question_tables.ipynb` in the
|
| 112 |
+
[code repository](https://github.com/jnaiman/SkyImagesWASP2026)).
|
| 113 |
+
|
| 114 |
+
The selection and plot-box code (`astrometry_check.py`, `detect_plot_box.py`,
|
| 115 |
+
`apply_plot_boxes.py`, `update_realsky_dataset.py`, `label_studio/`) is in the
|
| 116 |
+
`real_data/scripts/` working area.
|
| 117 |
|
| 118 |
## Ground truth comes from the plot box, not the whole image
|
| 119 |
|
|
|
|
| 131 |
|
| 132 |
## The questions, and why these
|
| 133 |
|
| 134 |
+
* **`field width`** (Level 2) -- What is the angular width of the sky region shown in this figure, measured along the right ascension axis, as a true angle on the sky (i.e. including the cos(declination) factor)?
|
| 135 |
* **`field height`** (Level 2) -- What is the angular height of the sky region shown in this figure, measured along the declination axis?
|
| 136 |
* **`center right ascension`** (Level 3) -- What is the right ascension of the centre of this sky image, in the J2000 (FK5) frame?
|
| 137 |
* **`center declination`** (Level 3) -- What is the declination of the centre of this sky image, in the J2000 (FK5) frame?
|