Learn R Programming

rayimage (version 0.2.3)

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)

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.

Value

Matrix of bokeh sizes.