Skip to content

Compress#162

Draft
tfarago wants to merge 29 commits into
masterfrom
compress
Draft

Compress#162
tfarago wants to merge 29 commits into
masterfrom
compress

Conversation

@tfarago

@tfarago tfarago commented May 29, 2026

Copy link
Copy Markdown
Contributor

Summary

This adds post-processing commands for compressing reconstructed image data with reversible tone mapping, quantization, and JPEG 2000 encoding. The prerequisite is the ufo-filters support.

Changes

  • Added tofu compress, tofu decompress and tofu denoise.
  • Added companders for tanh, arctan, recip_sqrt, and clip tone mapping.
  • Added automatic analysis of representative images to estimate center, delta, noise sigma, quantization error, JPEG 2000 RMSE, and full round-trip RMSE.
  • Added optional PyQtGraph visualization for the companded image preview and tone-curve inspection.
  • Added optional non-local-means denoising support through tofu denoise and compression preprocessing.
  • Added image quality helpers for sigma, RMSE, PSNR, and related metrics.
  • Added compression, decompression, and denoising CLI/config options.
  • Added post-processing documentation with a typical analyze-then-compress workflow.

Disclaimer

Parts of this PR were AI-generated.

@tfarago tfarago marked this pull request as draft May 29, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant