preview_focus: Preview Focus

View source: R/preview_focus.R

preview_focusR 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

rayimage documentation built on Sept. 11, 2024, 8:13 p.m.