Assignment 1 Results

CS591B - September 2008
Justin Aquadro

Sharpen

#> java imProcess -input lighthouse.png -sharpen 0.5

#> java imProcess -input lighthouse.png -sharpen 1.0

Contrast

#> java imProcess -input lighthouse.png -contrast 0.5

#> java imProcess -input lighthouse.png -contrast 1.5

Saturation

#> java imProcess -input lighthouse.png -saturation 0.5

#> java imProcess -input lighthouse.png -saturation 1.5

Random Dither

#> java imProcess -input lighthouse.png -randomdither

Ordered Dither

#> java imProcess -input lighthouse.png -ordereddither

Fun

double-sinewave rippling effect - adding more parameters to vary frequency, amplitude, and axis individually would be cool.

#> java imProcess -input lighthouse.png -fun 1.0

#> java imProcess -input lighthouse.png -fun 8.0

Depth Blur

I believe the visual effect could be improved if the Filters library properly supported the alpha channel in their convolution filters. No amount of testing could get alpha blurring working.

The assignment writeup hints at using byte input (0-255), this input uses normalized floating point like the sameple application.

#> java imProcess -input landscape.png -depthblur landscapedepth.png 0.0

#> java imProcess -input landscape.png -depthblur landscapedepth.png 0.5

#> java imProcess -input landscape.png -depthblur landscapedepth.png 2.0

Mosaic

#> java imProcess -input lighthouse.png -mosaic cat

#> java imProcess -input landscape.png -mosaic cat

#> java imProcess -input knight.png -mosaic music