8000 Comparing GrantMoyer:master...Shrinks99:master · GrantMoyer/doubletone · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GrantMoyer/doubletone
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Shrinks99/doubletone
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 8 files changed
  • 2 contributors

Commits on Mar 28, 2026

  1. Replace spatial-domain blur with FFT-based halftone descreening

    The previous descreening approach rotated each channel and applied a 1D
    Lanczos low-pass along both axes, which was equivalent to an isotropic
    2D blur that destroyed image detail along with the halftone pattern.
    
    This replaces it with a frequency-domain approach that:
    - Auto-detects the halftone screen frequency and peak locations by
      finding local maxima in the FFT magnitude spectrum
    - Applies Gaussian notch filters to suppress detected halftone peaks
    - Applies a Butterworth low-pass filter at a configurable fraction of
      the screen frequency to catch all halftone energy (harmonics,
      cross-channel modulation products) that individual notches miss
    
    No manual specification of screen angles or filter window size is
    needed — the script detects the halftone pattern automatically.
    
    New CLI options:
      --lowpass (fraction of screen freq for low-pass cutoff, default 0.9)
      --lowpass-order (Butterworth rolloff steepness, default 4)
      --notch-radius (Gaussian notch sigma, default 3.0)
      --detection-threshold (peak detection sensitivity, default 4.0)
      --max-harmonics (harmonic orders to suppress, default 4)
      --debug-spectrum (save annotated frequency spectrum image)
      -o/--output (output file path)
      --no-auto-detect + --screen-freq (manual mode for backward compat)
    
    Co-Authored-By: Claude <81847+claude@users.noreply.github.com>
    Shrinks99 and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    dd212b9 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    Co-Authored-By: Claude <81847+claude@users.noreply.github.com>
    Shrinks99 and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    d590c84 View commit details
    Browse the repository at this point in the history
  3. Add modern Python packaging

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    2297479 View commit details
    Browse the repository at this point in the history
  4. Wrap in main function

    Co-Authored-By: Claude <81847+claude@users.noreply.github.com>
    Shrinks99 and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    2b0cd1a View commit details
    Browse the repository at this point in the history
  5. Make installable with UV tool

    Co-Authored-By: Claude <81847+claude@users.noreply.github.com>
    Shrinks99 and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    715c23a View commit details
    Browse the repository at this point in the history
  6. Switch to package layout

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    67ff231 View commit details
    Browse the repository at this point in the history
  7. fix directory parsing

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    65a0d81 View commit details
    Browse the repository at this point in the history
  8. Add pycache to gitignore

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    222f3c4 View commit details
    Browse the repository at this point in the history
  9. add install instructions

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    cb4e4d1 View commit details
    Browse the repository at this point in the history
  10. fix RGB color handling

    Shrinks99 committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    23ee6cb View commit details
    Browse the repository at this point in the history
  11. Fix border ringing

    Co-Authored-By: Claude <81847+claude@users.noreply.github.com>
    Shrinks99 and claude committed Mar 28, 2026
    Configuration menu
    Copy the full SHA
    d56e9db View commit details
    Browse the repository at this point in the history
Loading
0