Commit Graph

16 Commits

Author SHA1 Message Date
lukas 3e42b24110 Refine texture metrics and update default weights for premium pattern detection 2026-03-31 01:44:45 +02:00
lukas dab226f55e UI polish: overlay color, debounce, and tooltips
- Added overlay color storage to settings import/export
- Removed generic keyboard shortcuts from menus and replaced them with localized tooltips
- Added QTimer debouncing to log history dialog to prevent status string spam
- Ensured export worker gracefully handles KeyErrors with standard return tuple
2026-03-24 23:17:05 +01:00
lukas ef648cc676 Implement grouping score, customizable export weights, and fix color selection bug 2026-03-23 21:00:16 +01:00
lukas 1c48a53c19 Implement background exclusion and refactor folder structure
- Added configurable background exclusion (#1f2937) with tolerance
- Implemented alpha thresholding (>= 128) to eliminate edge artifacts
- Refactored folder structure into analyses/[slug]/images, settings, and results
- Updated pattern puller to skip existing images and handle network errors
- Updated .gitignore and automated tests for path integrity
2026-03-22 20:09:05 +01:00
lukas ff9dec0eff Add saturation max slider to UI and image processing logic 2026-03-22 17:42:26 +01:00
lukas 7f219885bf Feature: Advanced Navigation & Composite Scoring
- Added direct pattern jump input field (Ctrl+J behavior without hotkey)

- Implemented Composite Score: 35% match, 55% excl match, 10% brightness

- Added 'Prefer darkness' toggle to invert brightness score

- Added checkmarks to 'Prefer darkness' and 'Toggle free-draw' menus

- Added dynamic Darkness/Brightness text parsing to UI and CSV export
2026-03-11 14:48:24 +01:00
lukas acfcf99d15 Feature: Settings Import/Export and UI Polish
- Implemented JSON-based settings import/export with smart scaling

- Locked image overlay color to Red (#ff0000) permanently

- Decoupled analyzer target color from display mask color

- Added menu separators for better organization

- Fixed overlay synchronization and scaling bugs during import
2026-03-10 18:32:14 +01:00
lukas c278ddf458 Optimize: export speed, fix scaling bug, and improve workflow
- Parallelized folder export for massive speedup

- Implemented exclusion mask caching

- Fixed statistics discrepancy by scaling exclusion coordinates

- Hardcoded CSV format to semicolon separator and comma decimal

- Defaulted file/folder dialogs to images/ directory

- Added unit test for coordinate scaling
2026-03-10 17:59:49 +01:00
lukas ac79d0e5dc Feature: add pattern scraper and optimize batch export
- Added Pull Pattern Images tool with parallel background downloading

- Optimized Export Folder Stats to run headlessly (massive speedup)

- Dynamically name exported CSVs based on source folder

- Fixed German CSV localization and UTF-8 BOM

- Updated README and walkthrough
2026-03-10 17:28:15 +01:00
lukas 551f5a6b8f Replace toolbar with categorized menu system, standardize 'color', and improve CSV export
- Migrated toolbar to QMenuBar to fix UI crowding

- Categorized actions into File, Edit, Tools, and View

- Added dynamic theming to QMenuBar and QMenu

- Localized Export CSV delimiter and decimals for German Excel

- Padded exported CSV values for clean plain-text alignment

- Globally standardized the spelling of 'color'

- Removed duplicate code and old Tkinter codebase
2026-03-10 16:54:23 +01:00
lukas 78af24103c Improve performance, UX, and code quality
- Replace Python pixel loop with NumPy vectorized HSV processing (~50-100x faster overlay rebuilds)
- Add OverlayCanvas (QGraphicsView) to replace plain QLabel overlay panel
- Add editable QLineEdit value input to SliderControl (supports typing exact values)
- Implement eyedropper pick-from-image: left-click sets hue/sat/val sliders from pixel colour
- Add keyboard shortcuts: Ctrl+O, Ctrl+Shift+O, Ctrl+S, Ctrl+Z, Ctrl+R, arrow keys, Esc
- Add drag-and-drop support for image files and folders
- Persist and restore window geometry via QSettings
- Remove duplicate _CONFIG_DATA load in constants.py
- Remove dead constructor stylesheet from ToolbarButton
- Add numpy>=1.26 dependency
2026-03-10 16:07:52 +01:00
lm 2d4531013d Fix folder navigation and restyle navigation arrows 2025-10-19 21:16:55 +02:00
lm 6de4059291 Respect excluded regions in overlay rendering 2025-10-19 21:09:26 +02:00
lm 57bb896545 Enable exclusion drawing in PySide6 UI 2025-10-19 19:52:41 +02:00
lm 213b35bf20 Reintroduce translations and theme handling 2025-10-19 19:31:50 +02:00
lm 0ca5607fc7 Wire PySide6 UI to new image processor 2025-10-19 19:23:01 +02:00