A B C D E F G H I J L M P Q R S T U V W X Y Z

A

accept(File) - Method in class JpegFileFilter
 
actionPerformed(ActionEvent) - Method in class ViewerGUI
Listen for user actions performed on buttons and menu items
add(DPoint) - Method in class DPoint
 
add(QuadricFit) - Method in class QuadricGroup
Add the specifed QuadricFit to the group
addEndPoint(EndPoint) - Method in class TroubleSpot
add one EndPoint to the TroubleSpot
addGroup(QuadricGroup) - Method in class QuadricGroup
Add all of the quadrics in the specified QuadricGroup to this group
angleBetween(DPoint, DPoint) - Static method in class SvpTools
returns the angle, in the range 0 -> PI between the two unit vectors
angleBetweenShifted(DPoint, DPoint) - Static method in class SvpTools
returns the angle, in the range 0 - PI/2 between the two unit vectors.
ArrayImage - class ArrayImage.
converts JPEG image into a two dimensional array of integer intensities.
ArrayImage(String) - Constructor for class ArrayImage
 

B

belongs(QuadricFit) - Method in class QuadricGroup
return true if the specifed QuadricFit belongs in this group, false otherwise.

C

calculateSize() - Method in class FatPixelBoxGrid
returns size of grid in pixels
center - Variable in class QuadricFit
center point (x y form, not row col)
chainAndMarkSegments() - Method in class IntersectionFinder
Chain Segments together that are within CHAINING_BOX_SIZE of each other.
chained - Variable in class EndPoint
set to true when chained to an adjacent EndPoint
chooseFile() - Method in class ViewerGUI
get a user-selected file from the filechooser, and return its path
color - Variable in class IDColorPair
 
core_stats - Variable in class LineSegment
stats about the pixels contained within the line's core region
CROP - Static variable in class ViewerGUI
selection type set to this when user is cropping (prep mode)
crop_anchor - Variable in class ImagePrepPanel
 
crop_end - Variable in class ImagePrepPanel
 
cropFinish(Point) - Method in class ImagePrepPanel
 
cropStart() - Method in class ImagePrepPanel
 

D

debug - Variable in class QuadricFit
used for debug purposes, can be viewed in ViewerGUI
decrementScale() - Method in class FatPixelBoxGrid
Deccrements scale, returns -1 on error
direction - Variable in class EndPoint
direction to extend EndPoint in (unit vector)
direction - Variable in class LineSegment
 
distanceBetween(DPoint, DPoint) - Static method in class SvpTools
returns the distance between the two DPoints
DPoint - class DPoint.
 
DPoint(double, double) - Constructor for class DPoint
 
DPoint(DPoint) - Constructor for class DPoint
 

E

end - Variable in class LineSegment
the other endpoint
EndPoint - class EndPoint.
Simple class for storing data about the endpoint of a line
EndPoint(DPoint, LineSegment) - Constructor for class EndPoint
 
endpoint1 - Variable in class LineSegment
the EndPoint object corresponding to start
endpoint2 - Variable in class LineSegment
the EndPoint object corresponding to end
endpoints - Variable in class TroubleSpot
The list of endpoints
endPrep() - Method in class ImagePrepPanel
 
extendSegments() - Method in class IntersectionFinder
Perform 2-wing extensions on all unchained endpoints.

F

FatPixelBoxGrid - class FatPixelBoxGrid.
The main panel of the SVP ViewerGUI.
FatPixelBoxGrid(ViewerGUI) - Constructor for class FatPixelBoxGrid
 
fill(SvpMainResultsStruct) - Method in class FatPixelBoxGrid
 
findTroubleSpots() - Method in class IntersectionFinder
Finds failures close to one another in the image, and returns an array of TroubleSpots

G

getBox(Point) - Method in class FatPixelBoxGrid
given the screen coordinates, returns the index of the coresponding FatPixelBox in the boxes array
getBoxCenter(Point) - Method in class FatPixelBoxGrid
given the box row,col, returns the pixel coordinates of the center of the box
getColor(int) - Method in class GroupIDClut
if getColor has not yet been called on groupID, assigns and returns a new random color.
getDescription() - Method in class JpegFileFilter
 
getHeight() - Method in class ArrayImage
 
getIntensities() - Method in class ArrayImage
returns a int[][], with the first indicie being the scanline, (row) and the second indicie being the column
getLineSegment(QuadricGroup) - Method in class LineSegmentFitter
Produce a LineSegment object fitted to the specified QuadricGroup
getMeanIntensity(int[][], DPoint, DPoint, double, double) - Static method in class SvpTools
Returns the mean pixel density in the specified region.
getPixelStats(int[][], DPoint, DPoint, double, double, double) - Static method in class SvpTools
Breaks the specified region into "slices" based on the slice_size parameter.
getPreferredScrollableViewportSize() - Method in class FatPixelBoxGrid
returns prefered size of view (Scrollable interface)
getQuadricFit(DPoint) - Method in class QuadricFitter
perform PCA about the specified point and return a QuadricFit object.
getScale() - Method in class FatPixelBoxGrid
Returns value of scale
getScrollableBlockIncrement(Rectangle, int, int) - Method in class FatPixelBoxGrid
returns the amount that should be scrolled on a block scroll (Scrollable interface)
getScrollableTracksViewportHeight() - Method in class FatPixelBoxGrid
Viewport height does not have to always match grid height (Scrollable interface)
getScrollableTracksViewportWidth() - Method in class FatPixelBoxGrid
Viewport width does not have to always match grid width (Scrollable interface)
getScrollableUnitIncrement(Rectangle, int, int) - Method in class FatPixelBoxGrid
returns increment that will scroll an entire box (Scrollabe interface)
getWidth() - Method in class ArrayImage
 
getY(double) - Method in class InterpolatedFunction
return Y value for specified X
GRAPH_STEP - Static variable in class ViewerGUI
selection_type set to this when step to graph being chosen
grid - Variable in class ViewerGUI
 
gridWidth() - Method in class FatPixelBoxGrid
Calculates and returns value of grid_width
group_id - Variable in class QuadricFit
group ID, 0 if none
GroupIDClut - class GroupIDClut.
Assigns random colors to each PCA Group for visualization.
GroupIDClut() - Constructor for class GroupIDClut
 
groupQuadrics() - Method in class ImageQuadricData
Returns a Vector containing QuadricGroup objects.

H

handleTroubleSpot(TroubleSpot) - Method in class IntersectionFinder
 
handleTroubleSpot1(TroubleSpot) - Method in class IntersectionFinder
special case for troublespot with 1 endpoint - just perform one-wing extension on the segment
handleTroubleSpot2(TroubleSpot) - Method in class IntersectionFinder
special case for troublespot with 2 endpoints - could be a single line broken up by a tick mark that was too small to be assigned its own segment.
handleTroubleSpotN(TroubleSpot) - Method in class IntersectionFinder
Generic case: check for colinear lines, merge them, and extend others
handleTroubleSpotTick(TroubleSpot) - Method in class IntersectionFinder
Special case for tick marks
height - Variable in class QuadricFit
length of minor axis: this value is related to the width of the line

I

id - Variable in class IDColorPair
 
id - Variable in class LineSegment
Its id - same ID as its corresponding quadric group
IDColorPair - class IDColorPair.
Container object used to store id and color pairs in GroupIDClut
IDColorPair(int, Color) - Constructor for class IDColorPair
 
image - Variable in class FatPixelBoxGrid
 
image - Variable in class SvpMainResultsStruct
 
image_minus_segments_radio - Variable in class ViewerGUI
 
image_radio - Variable in class ViewerGUI
 
ImagePrepPanel - class ImagePrepPanel.
This Panel is the main panel in the ViewerGUI before the SVP system has been run.
ImagePrepPanel(JFrame, String) - Constructor for class ImagePrepPanel
 
ImageQuadricData - class ImageQuadricData.
This class contains a grid, the same size as the image, filled in with PCA (Principal Component Analysis, formerly known as Quadric) data for each pixel that passed the first and zeroth moment tests.
ImageQuadricData(int[][]) - Constructor for class ImageQuadricData
constructs and populates a new ImageQuadricData structure.
ImageToScreen(DPoint) - Method in class FatPixelBoxGrid
given the image coordinates in x,y form, returns the screen coordinates of the cooresponding point NOTE: point (0,0) is the top left most pixel on the actual screen, so (x.5, y.5) is in the center of the pixel (x,y)
incrementScale() - Method in class FatPixelBoxGrid
Increments scale, returns -1 on error
InterpolatedFunction - class InterpolatedFunction.
Creates a lookup function based on some input points.
InterpolatedFunction(double[], double[]) - Constructor for class InterpolatedFunction
create a new Interpolated Function based on some input data
IntersectionFinder - class IntersectionFinder.
Finds intersections of LineSegment objects, and expands/combines the objects accordingly
IntersectionFinder(Vector, int[][], LineSegmentFitter) - Constructor for class IntersectionFinder
 
iqd - Variable in class FatPixelBoxGrid
 
iqd - Variable in class SvpMainResultsStruct
 

J

JpegFileFilter - class JpegFileFilter.
 
JpegFileFilter() - Constructor for class JpegFileFilter
 

L

line - Variable in class EndPoint
LineSegment object that EndPoint belongs to
LineSegment - class LineSegment.
Class to represent a single line segment.
LineSegment(int, DPoint, DPoint, double, RegionPixelStats, RegionPixelStats, RegionPixelStats, QuadricGroup) - Constructor for class LineSegment
create a new LineSegment with given id, start, end, and width
LineSegmentFitter - class LineSegmentFitter.
This class is used to fit a LineSegment Object to a QuadricGroup.
LineSegmentFitter(int[][], QuadricFit[][]) - Constructor for class LineSegmentFitter
create a new LineSegmentFitter capable of fitting lines in image to groups of PCAs contained in quad_fits
loadImage(String) - Method in class ViewerGUI
Populates grid with data from a jpeg image

M

main(String[]) - Static method in class SvpMain
for running the system from the command line, with no GUI
main(String[]) - Static method in class SvpViewerApp
 
mean_intensity - Variable in class RegionPixelStats
 
mouse_over - Variable in class ViewerGUI
 
mouseClicked(MouseEvent) - Method in class ViewerGUI
 
mouseDragged(MouseEvent) - Method in class ViewerGUI
 
mouseEntered(MouseEvent) - Method in class ViewerGUI
 
mouseExited(MouseEvent) - Method in class ViewerGUI
 
mouseMoved(MouseEvent) - Method in class ViewerGUI
listen for mouse movements so we can update the mouse over coordinates
mousePressed(MouseEvent) - Method in class ViewerGUI
 
mouseReleased(MouseEvent) - Method in class ViewerGUI
 
multiply(double) - Method in class DPoint
 

P

paintComponent(Graphics) - Method in class FatPixelBoxGrid
 
paintComponent(Graphics) - Method in class ImagePrepPanel
 
param_editor - Variable in class ViewerGUI
 
ParamEditor - class ParamEditor.
Provides the user with a means of changing parameters defined in the SvpParameters class on the fly TODO: create an easy method for adding new fields to the ParamEditor which can be called in the constructor for each field.
ParamEditor(boolean) - Constructor for class ParamEditor
 
parseParams() - Method in class ParamEditor
 
point - Variable in class EndPoint
the location of the EndPoint

Q

QuadricFit - class QuadricFit.
This class represents data obtained from doing principal component analysis (PCA) about a point in the image.
QuadricFit() - Constructor for class QuadricFit
don't let user create an empty QuadricFit
QuadricFit(DPoint, double, double, double) - Constructor for class QuadricFit
constructor
QuadricFitter - class QuadricFitter.
This class is performs principal component analysis on a region of the image and produces QuadricFit objects.
QuadricFitter(int[][]) - Constructor for class QuadricFitter
create a QuadricFitter object capable of performing PCA on any point in the specified image.
QuadricGroup - class QuadricGroup.
This class is responsible for storing groups of PCA objects (QuadricFits) and determining if other QuadicFits are good candidates to add to the group based on their theta and width.
QuadricGroup() - Constructor for class QuadricGroup
dont allow creation of id-less group
QuadricGroup(int) - Constructor for class QuadricGroup
create a new Quadric Group
quadrics - Variable in class ImageQuadricData
the PCA data, stored at their cooresponding pixel's coordinates
quadrics_radio - Variable in class ViewerGUI
 
quads - Variable in class LineSegment
 

R

RegionPixelStats - class RegionPixelStats.
structure returned by SvpTools.getPixelStats(...).
RegionPixelStats(double, double) - Constructor for class RegionPixelStats
 
runSvp(String) - Static method in class SvpMain
Run the SVP System on the specified file.

S

ScreenToImage(Point) - Method in class FatPixelBoxGrid
given the screen coordinates in x,y form, returns the image coordinates of the cooresponding point (in x,y form) NOTE: point (0,0) is the top left most pixel on the actual screen, so (x.5, y.5) is in the center of the pixel (x,y)
segment_vector - Variable in class FatPixelBoxGrid
 
segment_vector - Variable in class SvpMainResultsStruct
 
segments_minus_image_radio - Variable in class ViewerGUI
 
segments_radio - Variable in class ViewerGUI
 
selecting - Variable in class ViewerGUI
indicates if gui is waiting for pixel selection from user
selection_type - Variable in class ViewerGUI
when selecting is true, indicates type of selection being made
start - Variable in class LineSegment
one endpoint of the line
start_height - Variable in class ViewerGUI
 
start_width - Variable in class ViewerGUI
 
std_deviation - Variable in class RegionPixelStats
 
subtract(DPoint) - Method in class DPoint
 
SvpMain - class SvpMain.
The main, outer SVP class
SvpMain() - Constructor for class SvpMain
 
SvpMainResultsStruct - class SvpMainResultsStruct.
Structure returned by SvpMain.
SvpMainResultsStruct(int[][], ImageQuadricData, Vector) - Constructor for class SvpMainResultsStruct
 
SvpParameters - class SvpParameters.
This class contains all parameters needed for vectorization
SvpParameters() - Constructor for class SvpParameters
 
SvpTools - class SvpTools.
 
SvpTools() - Constructor for class SvpTools
 
SvpViewerApp - class SvpViewerApp.
The main class for running the SVP System with graphical output.
SvpViewerApp() - Constructor for class SvpViewerApp
 

T

theta - Variable in class QuadricFit
angle of major axis, offset from horizontal (-pi/2 <= theta <= pi/2)
tick_count - Variable in class IntersectionFinder
 
TICK_ID_START - Variable in class IntersectionFinder
 
toString() - Method in class DPoint
 
toString() - Method in class LineSegment
for debug printing
TroubleSpot - class TroubleSpot.
contains an array of EndPoints which are near each other, and therefore candidates for intersecting, colinear, etc.
TroubleSpot() - Constructor for class TroubleSpot
create new TroubleSpot with empty list of EndPoints
TroubleSpot(EndPoint[]) - Constructor for class TroubleSpot
create new TroubleSpot from Array of endpoints
TroubleSpot(Vector) - Constructor for class TroubleSpot
create new TroubleSpot from Vector of endpoints

U

unitize(DPoint) - Static method in class SvpTools
returns unit vector version of the passed vector
unitVector(DPoint, DPoint) - Static method in class LineSegment
return a unit vector representing the direction of the segment

V

ViewerGUI - class ViewerGUI.
Allows the user to view images, run the SVP system on the images, and view the output.
ViewerGUI(boolean) - Constructor for class ViewerGUI
Constructs a new ViewerGUI
viewport - Variable in class FatPixelBoxGrid
 

W

width - Variable in class LineSegment
the width, in pixels
width - Variable in class QuadricFit
length of major axis
wing1_stats - Variable in class LineSegment
stats about the pixels contained in wing #1
wing2_stats - Variable in class LineSegment
stats about the pixels contained in wing #2

X

x - Variable in class DPoint
 

Y

y - Variable in class DPoint
 

Z

ZOOM_IN - Static variable in class ViewerGUI
selection_type set to this when zoom-in focus being chosen
ZOOM_OUT - Static variable in class ViewerGUI
selection_type set to this when zoom-out focus being chosen
zoomIn(Point) - Method in class ViewerGUI
Zooms in on image, using specified row,col as focus
zoomOut(Point) - Method in class ViewerGUI
Zooms out on image, using specified row,col as focus

A B C D E F G H I J L M P Q R S T U V W X Y Z