COS426 Assignment 1
Image Processing — Batch Mode

Switch to: Interactive Editor

Features Implemented:


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 implementation 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 implementation 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 implementation 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.25;1

Push_Image=mesa.jpg&Vignette=0;0.75


Histogram equalization


(Your description of your implementation 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 implementation 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 implementation 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 implementation 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=


Gaussian


(Your description of your implementation 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 implementation 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 implementation 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 implementation 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 implementation 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


Random dither


(Your description of your implementation 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=


Floyd-Steinberg dither


(Your description of your implementation 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=


Ordered dither


(Your description of your implementation 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=


Sampling


(Your description of your implementation 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 implementation 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 implementation 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 implementation 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 implementation 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 implementation 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 implementation of Morph goes here...)
You can include as many results as you want, but please at least include the following results:
Push_Image=trump1.jpg&Push_Image=trump2.jpg&Morph=(0,1,0.1)


Palette


(Your description of your implementation 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 implementation 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 implementation 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 implementation of Art Contest goes here...)
You can include as many results as you want, but please at least include the following results:


Collaboration


(Please write down who you have collaborated with for this assignment...)