oximedia-calibrate
Professional color calibration and matching tools for OxiMedia, enabling camera profiling, display calibration, ICC profile generation, and multi-device color matching.
Part of the oximedia workspace — a comprehensive pure-Rust media processing framework.
Version: 0.1.8 — 2026-05-29 — 511 tests
Features
- Camera Calibration — ColorChecker-based camera profiling with subpixel patch extraction
- Display Calibration — Gamma curve measurement, uniformity testing, monitor profiling
- Color Matching — Multi-camera color matching, scene-to-scene matching, reference target matching
- ICC Profile Generation — ICC v2/v4 profile creation and application
- LUT Generation — Measurement-based 1D and 3D calibration LUT creation
- White Balance — Automatic white balance, standard presets, gray world and white patch algorithms
- Color Temperature — Automatic estimation, Kelvin-to-RGB conversion, illuminant D-series support
- Gamut Mapping — Device gamut to working space mapping, perceptual gamut compression
- Chromatic Adaptation — Bradford and Von Kries chromatic adaptation transforms
- Parallel Processing — rayon-based parallel computation for large image datasets
Usage
Add to your Cargo.toml:
[]
= "0.1.8"
use ;
// Detect ColorChecker in an image
let checker = detect_in_image?;
// Generate camera profile
let profile = checker.generate_camera_profile?;
// Apply white balance preset
let balanced = Daylight.apply_to_image?;
// Estimate color temperature
let temp = estimate_color_temperature?;
API Overview (54 source files, 493 public items)
Modules:
camera— ColorChecker detection and camera profiling (Classic24, Passport)display— Display calibration and gamma curve measurementicc— ICC profile parsing, generation, and application (v2/v4)lut— Calibration LUT creation and verification (1D and 3D)white— White balance algorithms and presets (gray world, white patch, standard illuminants)temp— Color temperature estimation and Kelvin-to-RGB conversiongamut— Gamut mapping strategies (perceptual compression)chromatic— Chromatic adaptation transforms (Bradford, Von Kries)match_color— Multi-camera and scene-to-scene color matching
License
Apache-2.0 — Copyright 2024-2026 COOLJAPAN OU (Team Kitasan)