Correct channel 10: it is a distrust mask, not a validity/confidence mask
Browse files
README.md
CHANGED
|
@@ -42,10 +42,17 @@ The 11 input channels, in order:
|
|
| 42 |
| 3 | linearised depth |
|
| 43 |
| 4–6 | view-space normals derived from depth, encoded `[-1,1] -> [0,1]` |
|
| 44 |
| 7–9 | previous output, warped into the current frame by optical flow |
|
| 45 |
-
| 10 |
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
The output is a residual on the input colour with a straight-through clamp, so
|
| 51 |
an untrained network is an exact passthrough and a saturated pixel can still
|
|
|
|
| 42 |
| 3 | linearised depth |
|
| 43 |
| 4–6 | view-space normals derived from depth, encoded `[-1,1] -> [0,1]` |
|
| 44 |
| 7–9 | previous output, warped into the current frame by optical flow |
|
| 45 |
+
| 10 | how far to **distrust** that warped history (1 = unusable, 0 = trust it) |
|
| 46 |
|
| 47 |
+
Channel 10 is a *distrust* signal, not a confidence: it is the union of every
|
| 48 |
+
reason the warped history is wrong at a pixel — colour mismatch, depth
|
| 49 |
+
mismatch, implausible flow, and UI overlay — so **1 means do not use the
|
| 50 |
+
history there**. Getting this backwards feeds the network garbage exactly where
|
| 51 |
+
the history is least reliable, and it will not fail loudly.
|
| 52 |
+
|
| 53 |
+
On the first frame of a sequence, or after a reset, set channels 7–9 to the
|
| 54 |
+
current colour and channel 10 to **1** — there is no history yet, so all of it
|
| 55 |
+
is to be distrusted.
|
| 56 |
|
| 57 |
The output is a residual on the input colour with a straight-through clamp, so
|
| 58 |
an untrained network is an exact passthrough and a saturated pixel can still
|