Learn R Programming

rayimage (version 0.15.1)

Image Processing for Simulated Cameras

Description

Uses convolution-based techniques to generate simulated camera bokeh, depth of field, and other camera effects, using an image and an optional depth map. Accepts both filename inputs and in-memory array representations of images and matrices. Includes functions to perform 2D convolutions, reorient and resize images/matrices, add image and text overlays, generate camera vignette effects, and add titles to images.

Copy Link

Version

Install

install.packages('rayimage')

Monthly Downloads

3,010

Version

0.15.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

February 1st, 2025

Functions in rayimage (0.15.1)

plot_asp_native_raster

Plot Native Raster with Custom Aspect Ratio
plot_image

Plot Image
get_string_dimensions

Get String Dimensions
convert_color

Convert Color
get_file_type

Check Filename
generate_2d_disk

Generate 2D Disk
interpolate_array

Matrix/Array Interpolation
ray_read_image

Read Image
render_convolution

Render Convolution
ray_write_image

Write Image
convert_to_native_raster

Plot Image
render_convolution_fft

Render Convolution FFT
render_resized

Resize Image
render_clamp

Clamp Image
make_vignette_overlay

Make Vignette Overlay
render_bokeh

Render Bokeh
render_text_image

Generate Text Image
render_bw

Render Black and White
render_boolean_distance

Render Boolean Distance
render_title

Render a Title on an Image
pad_to_fit

pad to fit
plot_image_grid

Plot Image Grid
render_reorient

Reorient Image
render_vignette

Add Vignette Effect
run_documentation

Run Documentation
render_image_overlay

Add Overlay
preview_focus

Preview Focus
trim_padding

trim_padding
save_png

Save PNG
add_vignette

Add Vignette Effect (Deprecated)
add_multi_padding

add_multi_padding
add_image_overlay

Add Overlay (Deprecated)
add_padding

add_padding
calc_bokeh_size

Calculate Bokeh Size
generate_2d_gaussian

Generate 2D Gaussian Distribution
generate_2d_exponential

Generate 2D exponential Distribution
handle_image_output

Handle Image Output
expand_to_fit

expand to fit
add_title

Add Title Function (deprecated)
fliplr

Flip Left-Right
flipud

Flip Up-Down
dragon

Dragon Image
dragondepth

Dragon Depthmap