calc_bokeh_size {rayimage} | R Documentation |
Calculates the amount of blurring at each point with camera characteristics.
calc_bokeh_size(z, zfocus, f, N, ramp)
z |
Depth matrix. |
zfocus |
Depth in which to blur. Minimum 0, maximum 1. |
f |
Focal length of the virtual camera. . |
N |
F-stop. Focal length of the virtual camera. |
Matrix of bokeh sizes.