COS426 Assignment 1
Image Processing — Batch Mode

Switch to: Interactive Editor

Features Implemented:


Brush


(Your description of your implentation of Brush goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=flower.jpg&Brush=16;[0.0968858131488,0.0968858131488,0.705882352941,1];x222y165x303y160x266y234

Push_Image=town.jpg&Brush=10;[1,1,1,1];x475y83x304y100x135y187


Brightness


This feature was implemented by the course staff. I used it as an example of how to loop over the pixels in an image.

Here is an example output where the image is made brigher with the luminance slider set to 0.3:

Here is an example output where the image is made darker with the luminance slider set to -0.5:

I did not encounter any particular challenges in implementing this.
You can include as many results as you want, but please at least include the following results:


Contrast


(Your description of your implentation of Contrast goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Contrast=-1

Push_Image=leaves.jpg&Contrast=0.7

Push_Image=leaves.jpg&Contrast=-0.8


Gamma


(Your description of your implentation of Gamma goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Gamma=1

Push_Image=mesa.jpg&Gamma=-1.6


Vignette


(Your description of your implentation of Vignette goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Vignette=0;0

Push_Image=mesa.jpg&Vignette=0.25;1

Push_Image=mesa.jpg&Vignette=0;0.75


Histogram equalization


(Your description of your implentation of Histogram equalization goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=flower.jpg&Histogram_Equalization=

Push_Image=leaves.jpg&Histogram_Equalization=


Saturation


(Your description of your implentation of Saturation goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Saturation=1

Push_Image=leaves.jpg&Saturation=-0.5


White balance


(Your description of your implentation of White balance goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=town.jpg&White_Balance=[0.5,0.5,0.5,1]


Histogram matching


(Your description of your implentation of Histogram matching goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Push_Image=flower.jpg&Histogram_Match=0.5


Gaussian


(Your description of your implentation of Gaussian goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Gaussian=4

Push_Image=man.jpg&Gaussian=7


Sharpen


(Your description of your implentation of Sharpen goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Sharpen=

Push_Image=woman.jpg&Sharpen=


Edge detect


(Your description of your implentation of Edge detect goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Edge=

Push_Image=woman.jpg&Edge=


Median filter


(Your description of your implentation of Median filter goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Median=3

Push_Image=leaves.jpg&Median=5

Push_Image=leaves.jpg&Median=8


Bilateral filter


(Your description of your implentation of Bilateral filter goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Bilateral=4;2

Push_Image=mesa.jpg&Bilateral=5;3


Quantize


(Your description of your implentation of Quantize goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Quantize=1

Push_Image=mesa.jpg&Quantize=3


Random dither


(Your description of your implentation of Random dither goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Random=1

Push_Image=mesa.jpg&Random=3


Ordered dither


(Your description of your implentation of Ordered dither goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Ordered=1

Push_Image=mesa.jpg&Ordered=3


Floyd-Steinberg dither


(Your description of your implentation of Floyd-Steinberg dither goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Floyd-Steinberg=1

Push_Image=mesa.jpg&Floyd-Steinberg=3


Sampling


(Your description of your implentation of Sampling goes here...)
You can include as many results as you want, but please at least include the following results:


Translate


(Your description of your implentation of Translate goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=flower.jpg&Translate=-317;-182;point

Push_Image=flower.jpg&Translate=-317;-182;bilinear

Push_Image=flower.jpg&Translate=-317;-182;gaussian


Scale


(Your description of your implentation of Scale goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Scale=2.03;point

Push_Image=mesa.jpg&Scale=2.03;bilinear

Push_Image=mesa.jpg&Scale=2.03;gaussian


Rotate


(Your description of your implentation of Rotate goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Rotate=0.628318530718;point

Push_Image=mesa.jpg&Rotate=0.628318530718;bilinear

Push_Image=mesa.jpg&Rotate=0.628318530718;gaussian


Swirl


(Your description of your implentation of Swirl goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=mesa.jpg&Swirl=(0,6.28318530718,0.628318530718)


Composite


(Your description of your implentation of Composite goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=man.jpg&Push_Image=doge.jpg&Push_Image=alpha.png&Get_Alpha=&Composite=


Morph


(Your description of your implentation of Morph goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=chang.jpg&Push_Image=halber.jpg&Morph=(0,1,0.1)


Palette


(Your description of your implentation of Palette goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Palette=3


Paint-by-numbers


(Your description of your implentation of Paint-by-numbers goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&Paint=0.2


xDoG


(Your description of your implentation of xDoG goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=leaves.jpg&XDoG=0.5


Art Contest


(Your description of your implentation of Art Contest goes here...)
You can include as many results as you want, but please at least include the following results: