preview_focus {rayimage}R Documentation

Preview Focus

Description

Displays the focal point

Usage

preview_focus(image, depthmap, focus, imagetype, depthtype)

Arguments

image

Image filename or 3-layer RGB array.

depthmap

Depth map filename or 1d array.

focus

Defaults 0.5. Depth in which to blur. Minimum 0, maximum 1.

Examples

#Plot the dragon

[Package rayimage version 0.11.0 Index]