Dataset Viewer
Auto-converted to Parquet Duplicate
key
string
camera
string
lens
string
width
int32
height
int32
focal_x
float32
focal_y
float32
focal_length_mm
float32
deep_f_number
float32
shallow_f_number
float32
deep_exposure_s
float32
shallow_exposure_s
float32
deep_iso
float32
shallow_iso
float32
ecc_shift_x
float32
ecc_shift_y
float32
ecc_score
float32
input
image
target
image
0
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,940
610
18
22
3.5
0.025
0.001
160
100
-0.073
1.054
0.9974
1
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,086
985
18
22
3.5
0.033333
0.008
1,600
100
-1.867
-0.222
0.9956
2
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,503
1,136
23
22
3.5
0.033333
0.003125
400
100
0.769
-0.465
0.9958
3
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,065
1,016
23
22
3.5
0.033333
0.025
3,200
100
0.793
-1.111
0.9986
4
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,503
1,058
23
22
3.5
0.033333
0.005
500
100
-0.974
1.416
0.9947
5
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,349
1,045
23
22
3.5
0.033333
0.002
250
100
-0.429
0.341
0.9935
6
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,453
961
23
22
3.5
0.033333
0.001563
250
100
0.434
-0.924
0.9867
7
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,583
1,118
23
22
3.5
0.033333
0.001563
200
100
0.058
-1.893
0.993
8
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,411
1,071
23
22
3.5
0.033333
0.00125
200
100
-0.934
-1.765
0.9895
9
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,745
579
23
22
3.5
0.033333
0.003125
400
100
-0.559
-4.093
0.9949
10
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,927
1,636
23
22
4
0.003125
0.001
800
100
-0.613
0.931
0.9776
11
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,318
961
24
22
4
0.033333
0.001563
160
100
0.691
0.345
0.9966
12
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,898
985
24
25
4
0.025
0.002
320
100
-0.051
-1.912
0.9902
13
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,226
1,016
24
25
4
0.025
0.005
800
100
-1.944
1.196
0.9889
14
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,492
412
24
25
4
0.025
0.0025
800
100
0.248
0.894
0.9421
15
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,635
1,146
24
22
4
0.033333
0.003125
400
100
-1.051
0.645
0.9753
16
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,513
1,727
24
25
4
0.025
0.016667
2,000
100
-0.263
-0.628
0.988
17
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
729
1,131
18
22
3.5
0.033333
0.0008
1,600
1,600
1.291
-1.389
0.9902
18
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,094
644
18
22
3.5
0.033333
0.000625
1,600
1,600
0.059
0.355
0.9936
19
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,065
599
21
22
3.5
0.033333
0.0008
100
100
1.675
-3.015
0.9743
20
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,331
844
21
22
3.5
0.033333
0.002
200
100
-4.837
0.513
0.9599
21
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,544
1,159
21
22
3.5
0.033333
0.001
100
100
0.357
0.103
0.9917
22
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,107
1,021
18
22
3.5
0.033333
0.000625
100
100
0.407
1.766
0.9588
23
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,185
917
18
22
3.5
0.033333
0.002
250
100
1.697
-1.614
0.9731
24
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,786
1,506
18
22
3.5
0.025
0.02
5,000
100
-0.421
1.822
0.9583
25
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,154
956
18
22
3.5
0.025
0.001
160
100
0.628
2.608
0.9477
26
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,565
896
18
22
3.5
0.025
0.002
320
100
-0.011
0.103
0.9858
27
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,565
1,003
18
22
3.5
0.5
0.0125
1,600
1,600
-0.409
-2.795
0.9852
28
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,904
1,240
18
22
3.5
0.5
0.0125
1,600
1,600
-1.362
-2.783
0.9825
29
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
1,036
935
55
36
5.6
1.6
0.04
1,600
1,600
0.925
0.493
0.983
30
Canon EOS 750D
Canon EF-S 18-55mm f/3.5-5.6 IS STM
2,966
1,974
2,185
1,076
34
29
4.5
1.3
0.033333
1,600
1,600
-0.153
-1.144
0.9939
31
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,199
493
35
16
2.8
0.009524
0.004167
1,600
125
0.929
-1.432
0.9805
32
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,457
605
35
16
3.2
0.009524
0.004
1,250
125
0.302
0.291
0.9684
33
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
604
753
35
16
3.6
0.009524
0.003125
800
125
-1.228
1.49
0.9926
34
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,292
864
35
16
1.7
0.009524
0.000455
400
125
-0.877
-0.243
0.9677
35
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,451
1,054
35
16
1.7
0.009524
0.000118
160
125
1.016
-1.562
0.9814
36
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,103
147
35
16
4.5
0.009524
0.00125
160
125
2.607
1.877
0.9856
37
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,057
407
35
16
2.5
0.009524
0.005556
3,200
125
-0.503
0.272
0.985
38
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,751
745
35
16
2.8
0.009524
0.003333
1,250
125
-0.078
0.127
0.9427
39
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,357
551
35
16
2.5
0.009524
0.004762
2,000
125
-2.483
1.08
0.9872
40
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,465
1,054
35
16
5
0.016667
0.002
160
160
0.176
-2.53
0.9711
41
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
969
510
35
16
5.6
0.007143
0.0008
160
160
-0.927
0.636
0.9802
42
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,009
874
35
16
5.6
0.007143
0.001053
160
160
-1.733
-4.053
0.9705
43
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
717
668
35
16
4
0.025
0.002941
250
160
0.756
2.144
0.973
44
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,359
428
35
16
4
0.025
0.003571
400
160
-4.776
0.622
0.9835
45
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,492
512
35
16
2.8
0.05
0.008
800
160
0.448
0.903
0.9836
46
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,213
1,083
35
16
3.2
0.05
0.006667
800
160
-0.631
2.144
0.932
47
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,151
174
35
16
4
0.025
0.004
320
160
0.266
1.303
0.9948
48
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,618
789
35
16
3.6
0.025
0.003571
500
160
-3.224
0.865
0.9961
49
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,244
1,070
35
16
3.6
0.025
0.004762
500
160
-0.022
1.709
0.9955
50
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,561
576
35
16
2.2
0.111111
0.011111
800
160
4.967
-6.99
0.9677
51
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,021
689
35
16
1.7
0.026316
0.001667
800
160
-0.64
2.754
0.9875
52
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,021
55
35
16
3.6
0.025
0.003333
400
160
0.399
-2.786
0.9874
53
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
946
614
35
16
3.2
0.026316
0.005882
800
160
-3.016
1.035
0.9893
54
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,256
1,900
701
868
35
16
4
0.025
0.004167
320
160
6.997
0.984
0.9817
55
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,256
1,900
759
1,434
35
16
3.6
0.025
0.004545
320
160
16.195999
2.135
0.957
56
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
917
689
35
16
3.6
0.025
0.003571
400
160
-0.317
0.671
0.9922
57
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
957
574
35
16
4
0.025
0.003571
320
160
0.98
1.939
0.9941
58
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
823
328
35
16
1.7
0.009091
0.000125
160
160
1.567
0.317
0.979
59
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,207
1,004
35
16
1.7
0.025
0.000333
160
160
-0.473
-0.166
0.9662
60
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
1,184
876
35
16
1.7
0.014286
0.000185
160
160
1.079
-0.312
0.9799
61
FUJIFILM X-E5
Viltrox AF 35mm F1.7 Air (X-mount)
1,900
1,256
717
720
35
16
4
0.025
0.002857
250
160
1.6
4.512
0.9877
62
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
927
570
null
null
null
null
null
null
null
-0.66
-0.124
0.9732
63
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
1,150
412
null
null
null
null
null
null
null
-0.364
-0.832
0.9855
64
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
1,471
630
null
null
null
null
null
null
null
7.034
-3.237
0.9789
65
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
1,244
198
null
null
null
null
null
null
null
-0.665
-0.14
0.8892
66
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
684
535
null
null
null
null
null
null
null
0.2
0.445
0.9895
67
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
1,358
541
null
null
null
null
null
null
null
-0.152
-0.469
0.9642
68
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
1,213
566
null
null
null
null
null
null
null
-0.402
-0.969
0.9951
69
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
2,032
1,135
956
570
null
null
null
null
null
null
null
0.543
3.619
0.9477
70
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,125
620
23
16
2
0.47619
0.029412
3,200
1,000
0.086
0.186
0.9688
71
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,703
739
23
16
2
0.714286
0.029412
3,200
1,250
-0.724
1.006
0.9852
72
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,375
666
23
16
2
0.232558
0.029412
3,200
400
0.232
-0.147
0.9956
73
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,108
798
23
16
2
0.125
0.029412
3,200
160
0.475
-0.478
0.9862
74
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,064
1,124
23
16
2
0.125
0.029412
3,200
200
0.388
1.153
0.9972
75
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,488
676
23
16
2
0.526316
0.029412
3,200
800
-0.185
0.327
0.9953
76
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,003
567
23
16
2
0.25
0.029412
3,200
400
0.996
-0.589
0.9603
77
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
473
594
23
16
2
0.25
0.029412
3,200
400
5.976
-2.395
0.9148
78
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,705
691
23
16
2
0.066667
0.02381
3,200
125
0.545
-0.387
0.9685
79
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
721
428
23
16
2
0.066667
0.029412
3,200
125
3.579
4.166
0.9076
80
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
963
708
23
16
2
0.166667
0.029412
3,200
250
0.363
1.146
0.9773
81
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
940
647
23
16
2
0.029412
0.011765
3,200
125
-0.352
0.543
0.9949
82
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,024
470
23
16
2
0.3125
0.029412
3,200
500
0.029
0.537
0.9558
83
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
900
973
23
16
2
0.3125
0.029412
3,200
500
1.266
-1.908
0.9142
84
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,272
1,916
738
458
23
16
2
0.1
0.029412
3,200
160
7.577
-7.659
0.9629
85
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,013
575
23
16
2
0.111111
0.029412
3,200
160
0.211
-0.136
0.9959
86
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,379
1,034
23
16
2
0.1
0.029412
3,200
160
-0.089
0.236
0.9936
87
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
1,074
683
23
16
2
0.188679
0.029412
3,200
320
0.934
-0.378
0.9479
88
FUJIFILM X100VI
Fujinon 23mm F2 (built-in)
1,916
1,272
864
628
23
16
2
0.5
0.029412
3,200
800
-0.109
0.091
0.9952

3CReal: real bokeh pairs from three camera and lens systems

3CReal is a benchmark for bokeh rendering and refocusing on unseen optics. Each of its 89 pairs shows one scene twice from a fixed tripod: a deep-depth-of-field photograph (the input) and a shallow-depth-of-field photograph of the same view (the target), with the point the target is focused on. Existing real bokeh benchmarks are each captured with a single camera and lens, so a method can fit the look of one lens without this being measured; 3CReal spans three camera and lens systems that none of the compared methods saw in training.

Collected by Ching-Heng Cheng, Chia-Ming Lee, Ming-Ching Chang, Xin Li, Yu-Lun Liu and Chih-Chung Hsu (National Cheng Kung University, State University of New York at Albany, National Yang Ming Chiao Tung University). It was introduced with FlashReFocus (paper, code, demo).

3CReal examples

Composition

Camera and lens Pairs Deep DoF (input) Shallow DoF (target) Size
Canon EOS 750D, EF-S 18–55 mm f/3.5–5.6 IS STM 31 f/22–f/36 f/3.5–f/5.6 2966×1974
FUJIFILM X-E5, Viltrox AF 35 mm F1.7 Air 31 f/16 f/1.7–f/5.6 1900×1256 (2 portrait)
FUJIFILM X100VI, Fujinon 23 mm F2 (built-in) 27 f/16 f/2.0 1916×1272 (1 portrait), 2032×1135 (8 pairs, 16:9)
Total 89

Apertures come from the EXIF of the raw captures; the eight 16:9 X100VI pairs have no EXIF, so their exposure fields are empty. Scenes are on a university campus, with automatic exposure for each shot.

Collection and alignment

Each pair was taken from a tripod, changing only the aperture. Residual shifts from tripod vibration, scene motion or manual operation were corrected by ECC registration with a translation model (the input is warped onto the target), both images were cropped to their common area, and every aligned pair was inspected by hand. ECC removes global geometric shifts but not exposure differences, vignetting, independently moving objects (leaves, people, cars) or aperture-dependent occlusion, so full-reference scores should be read together with visual comparisons.

Files

original/<key>.jpg     deep depth of field: the input (keys 0-88)
bokeh/<key>.jpg        shallow depth of field: the target
focus_point.json       focal point of each target, in pixels (x right, y down, origin top-left)
metadata.csv           per pair: camera, lens, width, height, focal point, focal length, f-number, exposure time
                       and ISO of both shots, ECC shift (pixels) and ECC score
data/*.parquet         the same pairs with embedded images, for datasets.load_dataset and the viewer

The images are the files used in the paper (not re-encoded), except for the masked license plates in pairs 48 and 60 (see Privacy).

Usage

from datasets import load_dataset

ds = load_dataset("ming0531/3CReal", split="validation")
pair = ds[0]
pair["input"], pair["target"]              # PIL images: deep and shallow depth of field
pair["focal_x"], pair["focal_y"]           # where the target is focused
pair["camera"], pair["deep_f_number"], pair["shallow_f_number"]

or download the folders (huggingface-cli download ming0531/3CReal --repo-type dataset --local-dir 3CReal) and read original/, bokeh/ and focus_point.json directly; this is the layout the FlashReFocus evaluation scripts expect.

Evaluation protocol (FlashReFocus paper)

Every method renders the input at the annotated focal point; its blur strength (or blur parameter) is searched per image for the highest SSIM to the target. Reported metrics are PSNR, SSIM, MS-SSIM, LPIPS (AlexNet and VGG), DISTS, CLIP-I, CLIP-IQA, MUSIQ and MANIQA; see eval/bokeh_strength_search.py and eval/bokeh_table_metrics.py in the code repository.

Privacy

The photographs show public campus scenes. The two readable license plates (pairs 48 and 60) are blurred, in the input and the target alike; the paper's scores were computed before this masking, which changes FlashReFocus' mean PSNR on 3CReal by less than 0.05 dB. If you appear in an image, or find content that should not be shared, please open a discussion on this page and we will remove or mask it.

License

Creative Commons Attribution-NonCommercial 4.0: free to use, share and adapt for non-commercial purposes, with attribution (please cite the paper below).

Citation

@misc{cheng2026flashrefocus,
  title  = {FlashReFocus: Interactive Image Refocusing in Seconds},
  author = {Cheng, Ching-Heng and Lee, Chia-Ming and Chang, Ming-Ching and
            Li, Xin and Liu, Yu-Lun and Hsu, Chih-Chung},
  year   = {2026},
  url    = {https://ming053l.github.io/FlashReFocus/}
}
Downloads last month
22

Space using ming0531/3CReal 1