Learn R Programming

rayimage (version 0.15.1)

preview_focus: 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

Run this code
#Plot the dragon

Run the code above in your browser using DataLab