Description Usage Arguments Details Value Author(s) Examples
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.
1 2 | #"main" right now, change to smoothimage later?
main(img, k, alpha)
|
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) |
#talk about stuff Talk about the stuff in general
#what it will be outputted as
The return value of main
is a smoothed out ppm image.
Norm Matloff <matloff@cs.ucdavis.edu>, Jessica Tsoi <jttsoi@ucdavis.edu>
1 | # to be continued
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.