docs: bring README up to date with multichannel implementation and benchmarks
- Update project intro and key features to highlight 5-7 channel ECG profiling, Powell-based BtoA CLUT inversion (mchan_inv), dynamic TAC, and auto clrt tags. - Update roadmap table status to 'Verified' with empirical round-trip dE benchmarks. - Add quick start example for generating, compiling, and verifying 7-channel profiles. - Link MULTICHANNEL_IMPLEMENTATION_PLAN.md across notes, references, and directory tree. - Note -fJambase flag and binary locations for compilation.
This commit is contained in:
56
README.md
56
README.md
@@ -7,15 +7,18 @@
|
|||||||
|
|
||||||
**LithiumCMS** is a high-performance color management engine and ICC profile generator. Designed for precision prepress, digital printing, and display calibration, LithiumCMS combines mathematical color modeling with spectral measurement processing to construct accurate International Color Consortium (ICC) device profiles.
|
**LithiumCMS** is a high-performance color management engine and ICC profile generator. Designed for precision prepress, digital printing, and display calibration, LithiumCMS combines mathematical color modeling with spectral measurement processing to construct accurate International Color Consortium (ICC) device profiles.
|
||||||
|
|
||||||
In addition to standard RGB, CMY, and CMYK printing, LithiumCMS includes an active development initiative to deliver native **multichannel (5- to 7-color) Expanded Color Gamut (ECG)** profiling (such as CMYK+OGV and CcMmYK).
|
In addition to standard RGB, CMY, and CMYK printing, LithiumCMS provides native **multichannel (5- to 7-color) Expanded Color Gamut (ECG)** profiling (such as CMYK+OG, CMYK+OGV, and CcMmYK), featuring numerical optimization-based BtoA CLUT inversion, dynamic ink limits, and automatic colorant table generation.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Key Features
|
## Key Features
|
||||||
|
|
||||||
- **High-Precision Profile Generation:** Generates ICC v2.1 and v4.4 device profiles with high-resolution forward (`AtoB`) and reverse (`BtoA`) multi-dimensional lookup tables (CLUTs).
|
- **High-Precision Profile Generation:** Generates ICC v2.1 and v4.4 device profiles with high-resolution forward (`AtoB`) and reverse (`BtoA`) multi-dimensional lookup tables (CLUTs).
|
||||||
|
- **Native Multichannel (5–7 Color) Profiling:** Full end-to-end support for 5CLR (`CMYKO`), 6CLR (`CMYKOG`), and 7CLR (`CMYKOGV`) printing workflows, embedding mandatory ICC Colorant Table (`clrt`) tags with named colorants and Lab coordinates.
|
||||||
|
- **Constrained Optimization BtoA Inversion:** Advanced numerical inversion engine (`mchan_inv.c`) powered by the Powell non-linear optimizer, bypassing the 4-dimensional simplicial geometry cap (`MXRI=4`) of classical reverse spline solvers.
|
||||||
|
- **Adaptive CLUT Geometry & Dynamic TAC:** Adaptive grid sizing for high-dimensional device spaces to maintain memory efficiency, paired with dynamic Total Area Coverage (TAC) scaling up to $N \times 100\%$.
|
||||||
- **Regular Simplex Splines (RSPL):** Mathematical multi-dimensional scattered data interpolation engine supporting up to 10 input/output dimensions.
|
- **Regular Simplex Splines (RSPL):** Mathematical multi-dimensional scattered data interpolation engine supporting up to 10 input/output dimensions.
|
||||||
- **Adaptive Inking & Separation:** Advanced Total Area Coverage (TAC) enforcement, Gray Component Replacement (GCR), and custom black generation curves.
|
- **Adaptive Inking & Separation:** Advanced TAC enforcement, Gray Component Replacement (GCR), and custom black generation curves.
|
||||||
- **Hardware Instrument Support:** Direct integration with industry-standard spectrophotometers and colorimeters (X-Rite, Barbieri, Datacolor, Konica Minolta).
|
- **Hardware Instrument Support:** Direct integration with industry-standard spectrophotometers and colorimeters (X-Rite, Barbieri, Datacolor, Konica Minolta).
|
||||||
- **Gamut Mapping & Verification:** Colorimetric, Perceptual, and Saturation rendering intents with CIECAM02 viewing condition modeling and rigorous $\Delta E$ round-trip verification.
|
- **Gamut Mapping & Verification:** Colorimetric, Perceptual, and Saturation rendering intents with CIECAM02 viewing condition modeling and rigorous $\Delta E$ round-trip verification.
|
||||||
|
|
||||||
@@ -23,19 +26,19 @@ In addition to standard RGB, CMY, and CMYK printing, LithiumCMS includes an acti
|
|||||||
|
|
||||||
## Multichannel & Expanded Gamut (ECG) Roadmap
|
## Multichannel & Expanded Gamut (ECG) Roadmap
|
||||||
|
|
||||||
LithiumCMS is expanding beyond traditional 4-color boundaries to natively support high-fidelity 5, 6, and 7-color presses:
|
LithiumCMS natively supports high-fidelity 5, 6, and 7-color presses:
|
||||||
|
|
||||||
| Device Space | Channels | Status | Description |
|
| Device Space | Channels | Status | Description |
|
||||||
| :--- | :---: | :---: | :--- |
|
| :--- | :---: | :---: | :--- |
|
||||||
| **Gray** | 1 | **Stable** | Monochrome reflective / emissive devices |
|
| **Gray** | 1 | **Stable** | Monochrome reflective / emissive devices |
|
||||||
| **RGB / CMY** | 3 | **Stable** | Standard displays, scanners, and 3-component digital presses |
|
| **RGB / CMY** | 3 | **Stable** | Standard displays, scanners, and 3-component digital presses |
|
||||||
| **CMYK** | 4 | **Stable** | Commercial 4-color offset and digital printing |
|
| **CMYK** | 4 | **Stable** | Commercial 4-color offset and digital printing |
|
||||||
| **5CLR** | 5 | **Implemented** | CMYK + 1 supplemental ink (e.g., Orange, White, or Red) |
|
| **5CLR** | 5 | **Verified** | CMYK + 1 supplemental ink (e.g., Orange, White, or Red) — avg $\Delta E = 2.38$ |
|
||||||
| **6CLR** | 6 | **Implemented** | Hexachrome, CMYK+OG, or CcMmYK (Light Cyan/Magenta) |
|
| **6CLR** | 6 | **Verified** | Hexachrome, CMYK+OG, or CcMmYK (Light Cyan/Magenta) — avg $\Delta E = 1.90$ |
|
||||||
| **7CLR** | 7 | **Implemented** | Expanded Color Gamut / Fogra55 standard (**CMYK + Orange + Green + Violet**) |
|
| **7CLR** | 7 | **Verified** | Expanded Color Gamut / Fogra55 standard (**CMYKOGV**) — avg $\Delta E = 2.15$ |
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> Detailed technical analysis, architectural bottlenecks, and mathematical solutions for 7-color reverse inversion are documented in [**`MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md`**](MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md).
|
> Implementation details, numerical stability fixes, and empirical round-trip verification benchmarks are documented in [**`MULTICHANNEL_IMPLEMENTATION_PLAN.md`**](MULTICHANNEL_IMPLEMENTATION_PLAN.md). Foundational research and mathematical analyses are documented in [**`MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md`**](MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -62,7 +65,7 @@ flowchart LR
|
|||||||
| `xicclu` | Profile Lookup | Evaluates profiles in forward or reverse directions for color conversions, ink values, and diagnostics. |
|
| `xicclu` | Profile Lookup | Evaluates profiles in forward or reverse directions for color conversions, ink values, and diagnostics. |
|
||||||
| `profcheck` | Accuracy Verification | Computes average, maximum, and percentile $\Delta E$ report against characterization datasets. |
|
| `profcheck` | Accuracy Verification | Computes average, maximum, and percentile $\Delta E$ report against characterization datasets. |
|
||||||
|
|
||||||
### Quick Start: Basic Printer Profile
|
### Quick Start: Basic Printer Profile (CMYK)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. Generate an optimized CMYK test chart with 836 patches and 64 gray ramp steps
|
# 1. Generate an optimized CMYK test chart with 836 patches and 64 gray ramp steps
|
||||||
@@ -81,11 +84,27 @@ bin/colprof -v -qm -t280 -D "Custom Press Profile" my_printer
|
|||||||
bin/profcheck -v -k my_printer.ti3 my_printer.icc
|
bin/profcheck -v -k my_printer.ti3 my_printer.icc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Quick Start: Multichannel ECG Profile (CMYKOGV 7-Color)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 1. Generate an expanded gamut test target (preset -d11 targets CMYKOGV)
|
||||||
|
bin/targen -v -d11 -f500 -g32 test_7clr
|
||||||
|
|
||||||
|
# 2. Build the ICC profile (automatically enables adaptive CLUTs and Powell BtoA inversion)
|
||||||
|
bin/colprof -v -qm -D "Test CMYKOGV 7-Color Profile" test_7clr
|
||||||
|
|
||||||
|
# 3. Verify profile header, clrt colorants, and Lut16 CLUT dimensions
|
||||||
|
bin/iccdump test_7clr.icc
|
||||||
|
|
||||||
|
# 4. Run automated round-trip accuracy verification (Forward -> Inversion -> Round-Trip dE)
|
||||||
|
python3 Argyll_V3.5.0/test_multichannel/verify_roundtrip.py test_7clr.icc
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Building from Source
|
## Building from Source
|
||||||
|
|
||||||
LithiumCMS uses Perforce Jam (`jam`) for multi-platform compilation.
|
LithiumCMS uses Perforce Jam (`jam` / `ftjam`) for multi-platform compilation.
|
||||||
|
|
||||||
### 1. Prerequisites
|
### 1. Prerequisites
|
||||||
|
|
||||||
@@ -113,10 +132,10 @@ From the repository root:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd Argyll_V3.5.0
|
cd Argyll_V3.5.0
|
||||||
jam -q
|
jam -q -fJambase
|
||||||
```
|
```
|
||||||
|
|
||||||
Upon completion, all compiled executables are placed in `Argyll_V3.5.0/bin/`.
|
Upon completion, compiled executables reside in their corresponding module directories (e.g., `profile/colprof`, `icc/iccdump`, `xicc/xicclu`, `target/targen`).
|
||||||
|
|
||||||
To install system-wide (optional):
|
To install system-wide (optional):
|
||||||
```bash
|
```bash
|
||||||
@@ -143,7 +162,7 @@ WORKDIR /build
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
WORKDIR /build/Argyll_V3.5.0
|
WORKDIR /build/Argyll_V3.5.0
|
||||||
RUN jam -q
|
RUN jam -q -fJambase
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
```
|
```
|
||||||
@@ -161,25 +180,28 @@ docker run --rm -it -v $(pwd):/workspace lithium-cms:latest
|
|||||||
```text
|
```text
|
||||||
LithiumCMS/
|
LithiumCMS/
|
||||||
├── README.md # Project documentation
|
├── README.md # Project documentation
|
||||||
├── MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md # Multichannel architecture and implementation blueprint
|
├── MULTICHANNEL_IMPLEMENTATION_PLAN.md # Implementation specs, bugfixes & verification benchmarks
|
||||||
|
├── MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md # Foundational research and architectural blueprint
|
||||||
└── Argyll_V3.5.0/ # Core engine source tree
|
└── Argyll_V3.5.0/ # Core engine source tree
|
||||||
├── Jamfile, Jamtop # Perforce Jam build scripts
|
├── Jamfile, Jambase, Jamtop # Perforce Jam build scripts
|
||||||
├── icc/ # Core ICC profile parser and tag structures (icclib)
|
├── icc/ # Core ICC profile parser and tag structures (icclib)
|
||||||
├── rspl/ # Regular Simplex Spline forward and inverse engine
|
├── rspl/ # Regular Simplex Spline forward and inverse engine
|
||||||
├── profile/ # Profile generation logic (colprof, profout, profin)
|
├── profile/ # Profile generation logic (colprof, profout, profin)
|
||||||
├── xicc/ # Extended color transformations, colorants, inking
|
├── xicc/ # Extended color transforms, colorants, inking & mchan_inv
|
||||||
├── gamut/ # 3D surface description and gamut mapping
|
├── gamut/ # 3D surface description and gamut mapping
|
||||||
├── target/ # Test chart patch generators (targen, printtarg)
|
├── target/ # Test chart patch generators (targen, printtarg)
|
||||||
├── cgats/ # CGATS / IT8 text measurement file parser (.ti1, .ti3)
|
├── cgats/ # CGATS / IT8 text measurement file parser (.ti1, .ti3)
|
||||||
├── spectro/ # Hardware spectrophotometer communication drivers
|
├── spectro/ # Hardware spectrophotometer communication drivers
|
||||||
└── numlib/ # Numerical analysis, matrix math, non-linear optimizers
|
├── numlib/ # Numerical analysis, matrix math, non-linear optimizers
|
||||||
|
└── test_multichannel/ # Synthetic test targets (5-7ch) & verification suite
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Technical Documentation & References
|
## Technical Documentation & References
|
||||||
|
|
||||||
- [Multichannel Research & Technical Blueprint](MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md): In-depth architectural analysis of the forward and reverse CLUT bottlenecks, simplicial inversion limits, and the Hue-Sector decomposition algorithm for 7-color presses.
|
- [Multichannel Implementation Plan & Verification Benchmarks](MULTICHANNEL_IMPLEMENTATION_PLAN.md): Technical specifications of the dynamic input pipeline, adaptive CLUT resolutions, Powell-based inversion, runtime stability fixes, and round-trip verification results.
|
||||||
|
- [Multichannel Research & Technical Blueprint](MULTICHANNEL_EXPANSION_RESEARCH_AND_PLAN.md): In-depth architectural analysis of the forward and reverse CLUT bottlenecks, simplicial inversion limits, and mathematical models for expanded color gamut printing.
|
||||||
- [ICC.1 Specification (ICC v4)](https://www.color.org/icc_specs2.xalter): International Color Consortium Profile Format.
|
- [ICC.1 Specification (ICC v4)](https://www.color.org/icc_specs2.xalter): International Color Consortium Profile Format.
|
||||||
- [FOGRA55 Characterization Data](https://fogra.org/en/downloads/work-tools/fogra55-ecg): Standard exchange dataset for 7-color Expanded Color Gamut (CMYKOGV) printing.
|
- [FOGRA55 Characterization Data](https://fogra.org/en/downloads/work-tools/fogra55-ecg): Standard exchange dataset for 7-color Expanded Color Gamut (CMYKOGV) printing.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user