Index

A B C D E F G H I M O P R S T V W Z 
All Classes and Interfaces|All Packages

A

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

B

BLACK - Static variable in class org.cis1200.Pixel
The Pixel representing the RGB color black.
BLUE - Static variable in class org.cis1200.Pixel
The Pixel representing the RGB color blue.
blur(PixelPicture, int) - Static method in class org.cis1200.AdvancedManipulations
This method blurs an image.
border(PixelPicture, int, Pixel) - Static method in class org.cis1200.SimpleManipulations
Create a new image by adding a border to a specified image.

C

ColorMap - Class in org.cis1200
This is a data structure that helps keep track of the frequency with which pixels of specific colors occur.
ColorMap() - Constructor for class org.cis1200.ColorMap
 
compareTo(Pixel) - Method in class org.cis1200.Pixel
 
contains(int[]) - Method in class org.cis1200.PointQueue
Determines whether the queue contains a given value.
contains(Pixel) - Method in class org.cis1200.ColorMap
Determine whether the map contains a given pixel.
custom(PixelPicture) - Static method in class org.cis1200.Effects
 

D

deepCopy() - Method in class org.cis1200.PointQueue
Get a copy of the queue.
diff(PixelPicture, PixelPicture) - Static method in class org.cis1200.PixelPicture
Compute the difference between two images.
distance(Pixel) - Method in class org.cis1200.Pixel
Determines the level of similarity between this pixel and another by summing the absolute values of the differences between corresponding components of the two pixels.

E

Effects - Class in org.cis1200
This class defines the top-level image effects found on the right-hand side of the GUI.
Effects() - Constructor for class org.cis1200.Effects
 
eighteenNinety(PixelPicture) - Static method in class org.cis1200.Effects
 
equals(Object) - Method in class org.cis1200.Pixel
Checks whether this pixel has the same components as the given Object.

F

flood(PixelPicture, Pixel, int, int) - Static method in class org.cis1200.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 org.cis1200.PointQueue
Get an element from the queue.
getBitmap() - Method in class org.cis1200.PixelPicture
Gets a bitmap (i.e., matrix of pixels) of the image.
getBlue() - Method in class org.cis1200.Pixel
Accessor for the blue component of the pixel.
getComponents() - Method in class org.cis1200.Pixel
Accessor for the pixel's components as an array of 3 integers, where index 0 is red, index 1 is green, and index 2 is blue.
getGreen() - Method in class org.cis1200.Pixel
Accessor for the green component of the pixel.
getHeight() - Method in class org.cis1200.PixelPicture
 
getRed() - Method in class org.cis1200.Pixel
Accessor for the red component of the pixel.
getSortedPixels() - Method in class org.cis1200.ColorMap
Get an array of the pixels in the map sorted by frequency.
getValue(Pixel) - Method in class org.cis1200.ColorMap
Retrieves the frequency with which a pixel was used.
getWidth() - Method in class org.cis1200.PixelPicture
 
grayScaleAverage(PixelPicture) - Static method in class org.cis1200.SimpleManipulations
Transform a colored picture to its grayscale equivalent using an averaging algorithm.
grayScaleLuminosity(PixelPicture) - Static method in class org.cis1200.SimpleManipulations
Transforms a picture to its GrayScale equivalent using the luminosity algorithm.
GREEN - Static variable in class org.cis1200.Pixel
The Pixel representing the RGB color green.
GUI - Class in org.cis1200
The graphical user interface for the Pennstagram project.
GUI() - Constructor for class org.cis1200.GUI
 

H

hashCode() - Method in class org.cis1200.Pixel
 

I

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

M

main(String[]) - Static method in class org.cis1200.GUI
 

O

org.cis1200 - package org.cis1200
 

P

peaches(PixelPicture) - Static method in class org.cis1200.Effects
 
pinHole(PixelPicture) - Static method in class org.cis1200.Effects
 
Pixel - Class in org.cis1200
A point of color.
Pixel(int[]) - Constructor for class org.cis1200.Pixel
Create a new pixel with the provided color components, specified as an array.
Pixel(int, int, int) - Constructor for class org.cis1200.Pixel
Create a new pixel with the provided color components.
PixelPicture - Class in org.cis1200
An image represented by a 2D array of Pixels.
PixelPicture(String) - Constructor for class org.cis1200.PixelPicture
Creates a NewPic by loading the given file or URL.
PixelPicture(Pixel[][]) - Constructor for class org.cis1200.PixelPicture
Creates a picture given a bitmap.
PixelPicture(PixelPicture) - Constructor for class org.cis1200.PixelPicture
Copies a NewPic.
plastic(PixelPicture) - Static method in class org.cis1200.Effects
 
PointQueue - Class in org.cis1200
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 org.cis1200.PointQueue
 
print() - Method in class org.cis1200.PixelPicture
Print all of the pixels in the image to the console.
put(Pixel, int) - Method in class org.cis1200.ColorMap
Adds an element to the map or updates its value if the key already exists.

R

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

S

sameRGB(Pixel) - Method in class org.cis1200.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)
save(String) - Method in class org.cis1200.PixelPicture
 
scaleColors(PixelPicture, double, double, double) - Static method in class org.cis1200.SimpleManipulations
Scale the color components of a picture.
SimpleManipulations - Class in org.cis1200
 
SimpleManipulations() - Constructor for class org.cis1200.SimpleManipulations
 
size() - Method in class org.cis1200.ColorMap
The number of elements in the map.
size() - Method in class org.cis1200.PointQueue
Retrieves the size of the queue.

T

toImageIcon() - Method in class org.cis1200.PixelPicture
Creates an ImageIcon, suitable for display by Swing components.
toString() - Method in class org.cis1200.Pixel
Returns a string representation of this pixel.

V

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

W

weightedAverage(double, int, int) - Static method in class org.cis1200.SimpleManipulations
Compute the weighted average of two integers.
WHITE - Static variable in class org.cis1200.Pixel
The Pixel representing the RGB color white.

Z

zombie(PixelPicture) - Static method in class org.cis1200.Effects
 
A B C D E F G H I M O P R S T V W Z 
All Classes and Interfaces|All Packages