rayimage: Image Processing for Simulated Cameras

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, including common raster formats such as 'JPEG', 'PNG', 'TIFF', 'TGA', 'BMP', 'PSD', 'GIF', 'HDR', 'PIC', 'PNM', 'DNG', and 'EXR'. Includes functions to perform 2D convolutions, color correction, colorspace conversion, image/matrix reorientation and resizing, image and text overlays, exposure adjustment, camera vignette effects, and image titles.

Getting started

Package details

AuthorTyler Morgan-Wall [aut, cph, cre] (ORCID: <https://orcid.org/0000-0002-3131-3814>)
MaintainerTyler Morgan-Wall <tylermw@gmail.com>
LicenseGPL-3
Version0.26.1
URL https://www.rayimage.dev https://github.com/tylermorganwall/rayimage
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rayimage")

Try the rayimage package in your browser

Any scripts or data that you put into this service are public.

rayimage documentation built on June 12, 2026, 5:06 p.m.