Spaces:
Sleeping

Elvis Claude Opus 4.5 commited on
Commit
f0b0450
·
1 Parent(s): abd1771

Fix tone curve to show actual tonal distribution

Browse files

Use percentile analysis instead of CDF to generate meaningful tone curves:
- p2/p98 for black/white points (lifted shadows, crushed highlights)
- p10/p25/p50/p75/p90 for shadow/midtone/highlight distribution
- Curves now vary significantly between different images

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

1 file changed +56 -42
backend/app/services/analyzer.py+56-42