A B C D E F G H I L M P R S T V W Z 

A

add(int[]) - Method in class PointQueue
Add an element to the queue.
adjustContrast(PixelPicture, double) - Static method in class AdvancedManipulations
Change the contrast of a picture.
AdvancedManipulations - Class in <Unnamed>
 
AdvancedManipulations() - Constructor for class AdvancedManipulations
 
alphaBlend(double, PixelPicture, PixelPicture) - Static method in class SimpleManipulations
Blend two pictures together by taking a weighted average of each pixel.
average_small() - Method in class ManipulateTest
 

B

BLACK - Static variable in class Pixel
Some constant colors
blend_small() - Method in class ManipulateTest
 
BLUE - Static variable in class Pixel
 
blur(PixelPicture, int) - Static method in class AdvancedManipulations
Blur an image.
blur_small() - Method in class ManipulateTest
 
border(PixelPicture, int, Pixel) - Static method in class SimpleManipulations
Create a new image by adding a border to a specified image.
border_small() - Method in class ManipulateTest
 

C

clone() - Method in class PointQueue
Get a copy of the queue.
color_invert_small() - Method in class ManipulateTest
 
color_scale_red() - Method in class ManipulateTest
 
ColorMap - Class in <Unnamed>
This is a data structure that helps keep track of the frequency with which pixels of specific colors occur.
ColorMap() - Constructor for class ColorMap
 
compareTo(Pixel) - Method in class Pixel
 
contains(Pixel) - Method in class ColorMap
Determine whether the map contains a given pixel.
contains(int[]) - Method in class PointQueue
Determines whether the queue contains a given value.
contrast_small() - Method in class ManipulateTest
 
createPixelTest() - Method in class MyPixelTest
 
custom(PixelPicture) - Static method in class Effects
 

D

diff(PixelPicture, PixelPicture) - Static method in class PixelPicture
Compute the difference between two images.
distance(Pixel) - Method in class Pixel
Determines how similar this pixel is to another by summing the (absolute values) of the differences between corresponding components of the two pixels.
doubleSmallSquareBorder() - Static method in class ManipulateTest
 

E

Effects - Class in <Unnamed>
This class defines the top-level image effects found on the right-hand side of the GUI.
Effects() - Constructor for class Effects
 
eighteenNinety(PixelPicture) - Static method in class Effects
 
equals(Pixel) - Method in class Pixel
Compares the rgb values of the current Pixel with another to check if they are the same (and thus whether the two Pixels equal each other)
equals(Object) - Method in class Pixel
Checks whether this pixel has the same components as the given Object.

F

flood(PixelPicture, Pixel, int, int) - Static method in class AdvancedManipulations
Challenge Problem (this problem is worth 0 points): Flood pixels of the same color with a different color.

G

get(int) - Method in class PointQueue
Get an element from the queue.
getBitmap() - Method in class PixelPicture
Gets a bitmap (i.e., matrix of pixels) of the image.
getBlue() - Method in class Pixel
gets the blue component
getComponents() - Method in class Pixel
get the components as an array of three integers
getGreen() - Method in class Pixel
gets the green component
getHeight() - Method in class PixelPicture
Get the height of the image.
getRed() - Method in class Pixel
gets the red component
getSortedPixels() - Method in class ColorMap
Get an array of the pixels in the map sorted by frequency.
getValue(Pixel) - Method in class ColorMap
Retrieves the frequency with which a pixel was used.
getWidth() - Method in class PixelPicture
Get the width of the image.
grayScaleAverage(PixelPicture) - Static method in class SimpleManipulations
Transform a colored picture to its grayscale equivalent using an averaging algorithm.
grayScaleLuminosity(PixelPicture) - Static method in class SimpleManipulations
Transforms a picture to its GrayScale equivalent using the luminosity algorithm.
GREEN - Static variable in class Pixel
 
GUI - Class in <Unnamed>
The graphical user interface for the Pennstagram project.
GUI() - Constructor for class GUI
 

H

hashCode() - Method in class Pixel
 

I

invertColors(PixelPicture) - Static method in class SimpleManipulations
Create a new image by inverting the color of each pixel.
isEmpty() - Method in class PointQueue
Determine whether the queue is empty.

L

luminosity_small() - Method in class ManipulateTest
 

M

main(String[]) - Static method in class GUI
 
ManipulateTest - Class in <Unnamed>
Tests some image manipulations.
ManipulateTest() - Constructor for class ManipulateTest
 
MyPixelTest - Class in <Unnamed>
Use this file to test your implementation of Pixel.
MyPixelTest() - Constructor for class MyPixelTest
 
MyTest - Class in <Unnamed>
This file tests the various image manipulations on the default image (a view of Positano, Italy).
MyTest() - Constructor for class MyTest
 

P

palette_interesting() - Method in class ManipulateTest
 
palette_trivial() - Method in class ManipulateTest
 
peaches(PixelPicture) - Static method in class Effects
 
pinHole(PixelPicture) - Static method in class Effects
 
Pixel - Class in <Unnamed>
A point of color.
PixelPicture - Class in <Unnamed>
An image represented by a 2D array of Pixels.
PixelPicture(PixelPicture) - Constructor for class PixelPicture
Copies a NewPic.
PixelPicture(String) - Constructor for class PixelPicture
Creates a NewPic by loading the given file or URL.
PixelPicture(Pixel[][]) - Constructor for class PixelPicture
Creates a picture given a bitmap.
plastic(PixelPicture) - Static method in class Effects
 
PointQueue - Class in <Unnamed>
This is an implementation of a Queue in Java that uses a built-in data structure about which we haven't learned yet.
PointQueue() - Constructor for class PointQueue
 
print() - Method in class PixelPicture
Print all of the pixels in the image to the console.
put(Pixel, int) - Method in class ColorMap
Adds an element to the map or updates its value if the key already exists.

R

RED - Static variable in class Pixel
 
reducePalette(PixelPicture, int) - Static method in class AdvancedManipulations
Reduce a picture to its most common colors.
remove(int) - Method in class PointQueue
Remove an element from the queue.
rotateCCW(PixelPicture) - Static method in class SimpleManipulations
Rotate a picture 90 degrees counter-clockwise.
rotateCW(PixelPicture) - Static method in class SimpleManipulations
Rotate a picture 90 degrees clockwise.
rotateCW_small() - Method in class ManipulateTest
 
run() - Method in class GUI
 

S

save(String) - Method in class PixelPicture
 
scaleColors(PixelPicture, double, double, double) - Static method in class SimpleManipulations
Scale the color components of a picture To do this, simply replace each pixel with a new one where each color component is the original value multiplied by the scaling factor for that color.
SimpleManipulations - Class in <Unnamed>
The purpose of this assignment is to (re-) acquaint you with Java.
SimpleManipulations() - Constructor for class SimpleManipulations
 
size() - Method in class ColorMap
The number of elements in the map.
size() - Method in class PointQueue
Retrieves the size of the queue.
smallSquare() - Static method in class ManipulateTest
 
smallSquareBorder() - Static method in class ManipulateTest
 

T

testAlphaBlend() - Method in class MyTest
 
testBlur() - Method in class MyTest
 
testBorder() - Method in class MyTest
 
testColorInvert() - Method in class MyTest
 
testColorScale() - Method in class MyTest
 
testContrast() - Method in class MyTest
 
testGrayScaleAverage() - Method in class MyTest
 
testNewPic() - Static method in class ManipulateTest
 
testNewPicCCW() - Static method in class ManipulateTest
 
testReducePalette() - Method in class MyTest
 
testRotateCCW() - Method in class MyTest
 
testRotateCW() - Method in class MyTest
 
testVignette() - Method in class MyTest
 
threeStripes(int, int, int, int, int, int, int, int, int) - Static method in class ManipulateTest
 
toImageIcon() - Method in class PixelPicture
Creates an ImageIcon, suitable for display by Swing components.
toString() - Method in class Pixel
Returns a String representation of this pixel.

V

vignette(PixelPicture) - Static method in class SimpleManipulations
Adding dark edges to an image to draw interest to the center.

W

weightedAverage(double, int, int) - Static method in class SimpleManipulations
Compute the weighted average of two integers.
WHITE - Static variable in class Pixel
 

Z

zombie(PixelPicture) - Static method in class Effects
 
A B C D E F G H I L M P R S T V W Z