Commit 7d5716a
docs: name+describe every iccviz function; add round-trip in-gamut rationale
Documentation-only pass over the iccviz module (no code change):
- Every function/method in IccVizModel.cpp, IccVizMath.hpp and the public
IccVizModel.hpp declarations now has a comment block that leads with the
function name, then says what it does and why it does it that way. Filled the
~15 that had no comment (helpers, producers, the public API definitions and
setters) and prefixed the existing descriptive comments with their name.
- RoundTripDE: documented WHY the seeds come from the device cube (via A2B)
rather than a raw L*a*b* grid — it guarantees the test points are wholly
in-gamut (so the metric measures real B2A/A2B agreement, not out-of-gamut
clamping) and spreads them reasonably evenly through the interior of the
in-gamut region of L*a*b* space.
- Comment/code consistency fixes: Enumerate's order list now mentions the
neutral-axis stage; the gamut-volume provenance is consistent (gamut-wasm);
the round-trip citation reads "method suggested by Harold Boll".
Compiles clean under g++ -Wall -Wextra -Wunused-function.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7c75963 commit 7d5716a
3 files changed
Lines changed: 176 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| |||
106 | 110 | | |
107 | 111 | | |
108 | 112 | | |
109 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
110 | 117 | | |
111 | 118 | | |
112 | 119 | | |
| |||
0 commit comments