sharpen: Author: Frank Lu Function name: sharpen

Description Usage Arguments Value Examples

View source: R/sharpen.R

Description

Detects and enhances the edges in the image and returns a sharpened and monotoned version (the same size as the original).

Usage

1
sharpen(img)

Arguments

img

array input image

Value

array sharpened monotone image

Examples

1
2
old_img <- array(rep(c(0.5), 100 * 100 * 3), dim = c(100, 100, 3))
new_img <- sharpen(old_img)

UBC-MDS/Rgroup12 documentation built on April 1, 2020, 4:36 a.m.