image_diff: Compare Images

Description Usage Arguments Details Value

View source: R/images.R

Description

Submit an a reference image and a new image and get back the percent difference in all colour channels.

Usage

1
image_diff(reference, new, dir = tempdir())

Arguments

reference

Path to a reference image

new

Path to an image to compare to the reference image

dir

directory to perform the comparison inside

Details

Requires imagemagick

Value

numeric The percent difference between the two images


SVA-SE/mill documentation built on June 21, 2020, 4:09 a.m.