clean_initial_img: Invert, smooth, and threshold an image

Description Usage Arguments

View source: R/exaggerate_img_control.R

Description

Invert, smooth, and threshold an image

Usage

1
clean_initial_img(img, gaussian_d = 25, threshold_val = 0.15)

Arguments

img

Image

gaussian_d

diameter of brush to use for gaussian blur

threshold_val

threshold value to use on normalized, inverted, blurred image. If threshold is 0, it will be automatically determined using a heuristic approach.


srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.