collage_quality: visual representation of the quality of the tiles

Description Usage Arguments Details Value

Description

splits the image in pixels of size x size

Usage

1
collage_quality(img, tiles = samples, size, min_distance = 0, max_distance)

Arguments

img

image to transform into a collage

tiles

tiles to use

size

size (height and width) of each pixel

min_distance

anything below this value is represented in white

max_distance

anything above this value is represented in black

Details

for each of these pixels find the best tile in the tile base and retrieve its distance to the average color of the pixel (distance is between 0 and 1),

The rendered image is a gray scale of these distances.

Value

an imagemagick object


ThinkRstat/collage documentation built on May 6, 2019, 7:25 a.m.