running-Turtle commited on
Commit
21d69c2
·
verified ·
1 Parent(s): f05699f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +77 -0
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ## Dataset Structure
3
+
4
+ After extracting both archives, the dataset has the following layout:
5
+
6
+ ```text
7
+ PRISM/
8
+ train/
9
+ input/
10
+ <gt_id>_<variant_id>.png
11
+ gt/
12
+ <gt_id>.png
13
+ test/
14
+ input/
15
+ <gt_id>_<variant_id>.png
16
+ gt/
17
+ <gt_id>.png
18
+ ```
19
+
20
+ Each image in `input/` is a moire-contaminated fabric image. Its clean target is stored in `gt/` and is matched by the prefix before the underscore.
21
+
22
+ For example:
23
+
24
+ ```text
25
+ train/input/000517_04.png -> train/gt/000517.png
26
+ test/input/001174_09.png -> test/gt/001174.png
27
+ ```
28
+
29
+ One clean ground-truth image may correspond to multiple synthesized moire variants.
30
+
31
+ ## Split Statistics
32
+
33
+ ```text
34
+ Split Moire inputs Clean GT images
35
+ train 14,587 1,783
36
+ test 1,463 180
37
+ total 16,050 1,963
38
+ ```
39
+
40
+ The number of paired samples is the number of files in `input/`, because each input image has one aligned clean target.
41
+
42
+
43
+
44
+ ## Checksum Verification
45
+
46
+ SHA-256 checksums are provided in `sha256sum.txt`. Verify the archives before extraction:
47
+
48
+ ```bash
49
+ sha256sum -c sha256sum.txt
50
+ ```
51
+
52
+ Expected checksums:
53
+
54
+ ```text
55
+ 677e58d53ac2717384936728e7b2ea487de40191becacf47fcd466895e47eae0 PRISM_test.zip
56
+ b8d342b9466e837883c3973dd12197b1be898d29524e31f385095b398a789a47 PRISM_train.zip
57
+ ```
58
+
59
+ ## Usage Notes
60
+
61
+ - Images are stored as RGB PNG files.
62
+ - The train/test split is fixed and should be kept unchanged for reproducible evaluation.
63
+ - Evaluation should be performed on `test/input/` using the corresponding targets in `test/gt/`.
64
+ - The filename prefix before `_` determines the ground-truth image ID.
65
+
66
+ ## Citation
67
+
68
+ If you use PRISM, please cite the corresponding paper:
69
+
70
+ ```bibtex
71
+ @inproceedings{wei2026fabric,
72
+ title = {Fabric Image Demoir{\'e}ing Benchmark from Synthesis to Restoration},
73
+ author = {Wei, Pengchao and Guo, Xiaojie},
74
+ booktitle = {European Conference on Computer Vision},
75
+ year = {2026}
76
+ }
77
+ ```