How delphykmc/pixelscope works
PixelScope is a CPU-only desktop image comparison and analysis application. Users register image files or folders, select sources, and inspect them in synchronized viewers; selections beyond six are presented as comparison pages. The workflow extends from image decoding and RAW/YUV interpretation through native-data analysis and display. The graph also preserves documented Difference, statistics, histogram, line-profile, ROI, session, and optional reference-IQA capabilities. Some subsystem links rely on README documentation because their implementation files were not sampled.
Main entry points: image_load_worker.py Image loading · main_window.py Workspace and selection · comparison_analysis_panel.py Comparison analysis · registration_controller.py File and folder registration
Components 23
Application
- Application launcher
src/pixelscope/app/application.py - Workspace and selection
src/pixelscope/app/main_window.py
Registration and Input
- File and folder registration
src/pixelscope/app/registration_controller.py - Path discovery
src/pixelscope/io/path_discovery.py - RAW profile dialog
src/pixelscope/ui/raw_open_dialog.py - RAW profile
src/pixelscope/io/raw_profile.py - RAW storage formats
src/pixelscope/io/raw_format.py - Image loading
src/pixelscope/workers/image_load_worker.py - Background task lifecycle
src/pixelscope/workers/task_worker.py - Image and binary readers
src/pixelscope/io/image_reader.py - Native YUV profiles
src/pixelscope/io/yuv_profile.py - Native YUV reader
src/pixelscope/io/yuv_reader.py
Viewing and Analysis
- Native image document
src/pixelscope/core/image_document.py - Synchronized image viewer
src/pixelscope/ui/image_viewer.py - Comparison analysis
src/pixelscope/ui/comparison_analysis_panel.py - Difference analysis
src/pixelscope/core/diff_engine.py - ROI analysis
src/pixelscope/core/roi.py - Line profiles
src/pixelscope/core/line_profile.py
Persistence and Extensions
- Session controls
src/pixelscope/ui/session.py - Session repository
src/pixelscope/io/comparison_set_repository.py - Reference IQA extension
src/pixelscope_iqa_reference/extension.py - IQA public contract
src/pixelscope/remote/iqa_public_contract.py
Other components
- Image analyst
Connections 25
- Image analyst → Application launcher: launches
README.md - Application launcher → Workspace and selection: opens workspace
src/pixelscope/app/application.py - Image analyst → File and folder registration: registers sources
src/pixelscope/app/registration_controller.py - File and folder registration → Path discovery: discovers paths
src/pixelscope/app/registration_controller.py - Workspace and selection → File and folder registration: routes registration
src/pixelscope/app/main_window.py - File and folder registration → Image loading: requests decoding
- Image analyst → RAW profile dialog: configures RAW
README.md - RAW profile dialog → RAW profile: creates profile
src/pixelscope/ui/raw_open_dialog.py - RAW profile → RAW storage formats: validates format
src/pixelscope/io/raw_profile.py - Image loading → Background task lifecycle: uses lifecycle
src/pixelscope/workers/image_load_worker.py - Image loading → Image and binary readers: decodes inputs
src/pixelscope/workers/image_load_worker.py - Image loading → RAW profile: uses profile
src/pixelscope/workers/image_load_worker.py - Image loading → Native YUV profiles: uses profile
src/pixelscope/workers/image_load_worker.py - Image loading → Native YUV reader: decodes YUV
src/pixelscope/workers/image_load_worker.py - Image loading → Native image document: creates document
src/pixelscope/workers/image_load_worker.py - Workspace and selection → Synchronized image viewer: presents pages
README.md - Synchronized image viewer → Native image document: displays source
src/pixelscope/ui/image_viewer.py - Workspace and selection → Comparison analysis: scopes analysis
README.md - Comparison analysis → Difference analysis: requests Difference
- Comparison analysis → ROI analysis: requests ROI metrics
- Comparison analysis → Line profiles: requests profiles
- Image analyst → Session controls: restores session
README.md - Session controls → Session repository: reads and writes
src/pixelscope/ui/session.py - Application launcher → Reference IQA extension: loads optional extension
- Reference IQA extension → IQA public contract: uses contract
src/pixelscope_iqa_reference/extension.py