{
  "original": {
    "width": 1280,
    "height": 960,
    "megapixels": 1.23
  },
  "staged": {
    "width": 2336,
    "height": 1760,
    "megapixels": 4.11
  },
  "aspect_ratio": {
    "original": 1.3333,
    "staged": 1.3273,
    "deviation": 0.0045,
    "pass": true
  },
  "resolution_kept": true,
  "resolution_ratio": 3.346,
  "raw_drift_score": 32.9,
  "alignment": {
    "ok": false,
    "method": "SIFT + ratio test + RANSAC similarity (estimateAffinePartial2D)",
    "keypoints_original": 577,
    "keypoints_staged": 640,
    "matches": 47,
    "affine_anisotropy": 0.0091,
    "inliers": 18,
    "inlier_ratio": 0.383,
    "median_residual_px": 0.84,
    "reason": "too few inliers"
  },
  "framing": {
    "pass": null,
    "result": "unknown (alignment failed)"
  },
  "architecture": {
    "edge_ssim": 0.7635,
    "line_recall": 0.5784,
    "line_displaced_frac": 0.2019,
    "line_missing_frac": 0.2197,
    "structural_line_pixels": 5816,
    "evaluated_area_frac": 0.65,
    "drift_score": 32.9,
    "aligned": false,
    "note": "alignment failed; falls back to raw (unaligned) score",
    "mask": "auto: top 65% of frame"
  },
  "drift_score": 32.9,
  "structure": {
    "edge_ssim": 0.7635,
    "line_recall": 0.5784,
    "line_displaced_frac": 0.2019,
    "line_missing_frac": 0.2197,
    "structural_line_pixels": 5816,
    "evaluated_area_frac": 0.65,
    "drift_score": 32.9,
    "mask": "auto: top 65% of frame",
    "note": "legacy unaligned structure check (= raw_drift_score)"
  },
  "seconds_to_result": 15,
  "seconds_approx": true,
  "files": {
    "original": "photos/02-room-with-doorway.jpg",
    "staged": "results/reimaginehome/02.jpg"
  }
}