SmoothImage: Image Smoothing Via Regression Modeling

Description Usage Arguments Details Value Author(s) Examples

Description

Use of regression models to ameliorate imperfections in color images. Option to choose percentage of original image to retain. Usage of k-NN with default at 1 and option to increase k.

Usage

1
2
    #"main" right now, change to smoothimage later?
    main(img, k, alpha)

Arguments

img

Black and white or colored image, convert to ppm format, read with pixmap package - "read.pnm(img)"

k

Number of nearest neighbors

alpha

Percentage of original image to retain (0.0 - 1.0)

Details

#talk about stuff Talk about the stuff in general

Value

#what it will be outputted as The return value of main is a smoothed out ppm image.

Author(s)

Norm Matloff <matloff@cs.ucdavis.edu>, Jessica Tsoi <jttsoi@ucdavis.edu>

Examples

1
    # to be continued

matloff/SmoothImage documentation built on May 8, 2019, 8:35 a.m.