Skip to content

Commit 7bd34e8

Browse files
committed
gap
1 parent 0a0e2c7 commit 7bd34e8

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

OPENJPH_RS_HTJ2K_BLOCKERS.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# openjph-rs HTJ2K migration blockers
2+
3+
## Current blocker
4+
5+
The current remaining blocker for switching `dicom-toolkit-rs` HTJ2K over to
6+
`openjph-rs` is the broad irreversible 9/7 parity gap (`irv97`).
7+
8+
## Current evidence
9+
10+
Running:
11+
12+
```text
13+
cargo test -p openjph-core
14+
```
15+
16+
currently fails in:
17+
18+
```text
19+
tests/integration_encode_decode.rs
20+
```
21+
22+
with:
23+
24+
```text
25+
38 passed; 50 failed
26+
```
27+
28+
Running:
29+
30+
```text
31+
cargo test -p openjph-core irv97
32+
```
33+
34+
reproduces the same blocker bucket directly.
35+
36+
Representative failing tests:
37+
38+
- `dec_irv97_64x64_rgb`
39+
- `dec_irv97_gray_tiles`
40+
- `enc_irv97_decomp_0`
41+
- `enc_irv97_16bit_gray`
42+
- `enc_irv97_tiles_33x33_d5`
43+
44+
Representative current MSE values:
45+
46+
- many 8-bit RGB failures: about `5464.9844`
47+
- 16-bit failures: about `1_039_004_000` to `1_053_217_000`
48+
49+
## Recommendation for `dicom-toolkit-rs`
50+
51+
Do **not** switch the active HTJ2K backend to `openjph-rs` yet.
52+
53+
The next required step is a dedicated `irv97` parity pass against local C++
54+
OpenJPH. Only after that bucket is green should the backend swap be retried and
55+
the downstream HTJ2K integration tests be rerun.

0 commit comments

Comments
 (0)