Thank you for open-sourcing your work on bokehme.
I encountered an issue while trying to reproduce your bokehme project: the specific configuration details of the BLB dataset are unclear.
In the code, depth files need to be normalized to disparity values (disp).
However, taking the info.json file in the folder 277 of the BLB dataset as an example, it lists the following data:
"focus_distances": [
65504.0, 124.3834, 62.2508, 41.5137, 31.1402, 24.9145, 20.7634, 17.7980, 15.5738, 13.8437
]
This indicates that the minimum depth value is 13.84 mm and the maximum is 65504.0 mm.
After normalization, the corresponding disparity values would end up as something like this:
"focus_distances": [
1, 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0.00..., 0
]
Clearly, this normalization method cannot produce accurate bokeh renderings.
As expected, the images rendered using bokehme turned out to be abnormal.
The documentation provided in your paper, GitHub repository and the dataset itself is quite limited.
Therefore, I am writing to ask for the exact configuration parameters to resolve this issue.
Hi Juewen,
Best regards,
Linyark, HUST