Learn R Programming

rayimage (version 0.15.1)

calc_bokeh_size: Calculate Bokeh Size

Description

Calculates the amount of blurring at each point with camera characteristics.

Usage

calc_bokeh_size(z, zfocus, f, N, ramp)

Value

Matrix of bokeh sizes.

Arguments

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.