Skip to content

v0.0.11

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Dec 08:10
04ce870

Added

  • Automatic rotation detection from frame edges and sprocket holes
    • Sprocket-based rotation (preferred): extracts angle from polynomial-fitted sprocket boundary slopes
    • Edge-based rotation (fallback): calculates angle from detected frame edge lines when ≥3 edges agree
    • CLI flags: --no-rotation, --no-sprocket-rotation, --max-rotation (default: 5°)
  • Rotation settings in Lightroom plugin Crop tab
    • Auto-rotation checkbox (enabled by default)
    • Sprocket rotation checkbox (use sprocket holes for more reliable detection)
    • Max rotation field (0.5-15°)
  • Keystone (perspective distortion) detection
    • Detects when film wasn't flat during scanning causing trapezoidal distortion
    • Combined detection using both methods for complete coverage:
      • Sprocket-based: measures convergence from sprocket boundary distances (one axis)
      • Edge-based: measures convergence from frame edge angles (both axes)
    • CLI flags:
      • --keystone outputs vertical and horizontal perspective correction values
      • --keystone-source selects detection method: combined (default), sprockets, or edges
    • Lightroom plugin:
      • Separate "Keystone Detection" section in Film tab
      • Source dropdown to select detection method
      • Results dialog shows relative adjustment values (add/subtract from current settings)
      • Values rounded to integers for Lightroom compatibility
    • Debug visualization shows both detection methods side-by-side

Fixed

  • Outlier regions from film base variance detection (e.g., light leaks) are now masked out during edge detection instead of being added as false edge hints