- AboutFrame - Class in <Unnamed>
-
Displays a simple 'about' dialog referencing the author.
- AboutFrame(Frame) - Constructor for class AboutFrame
-
Creates a new about frame.
- accept(File) - Method in class ImageFileFilter
-
Returns true or false to indicate acceptance of the file.
- accept(File) - Method in class NetFileFilter
-
Returns true or false to indicate acceptance of the file.
- accept(File) - Method in class SymbolFileFilter
-
Returns true or false to indicate acceptance of the file.
- actionPerformed(ActionEvent) - Method in class LoadFrame
-
Is called whenever a component fires an actionEvent.
- actionPerformed(ActionEvent) - Method in class NetPanel
-
Is called whenever an appropriate event is fired by a component on the panel, probably a button.
- actionPerformed(ActionEvent) - Method in class NewNetFrame
-
Is called whenever a component fires an actionEvent.
- actionPerformed(ActionEvent) - Method in class OCRSwing
-
Fired when a component performs an action whilst this class is listening to it.
- actionPerformed(ActionEvent) - Method in class ReceptorPanel
-
Is called whenever an appropriate event is fired by a component on the panel, probably a button.
- actionPerformed(ActionEvent) - Method in class ResultsPanel
-
Fired when a component performs an action whilst this class is listening to it.
- actionPerformed(ActionEvent) - Method in class RunPanel
-
Fired when a component performs an action whilst this class is listening to it.
- actionPerformed(ActionEvent) - Method in class SymbolPanel
-
Fires when a component to which this object is attached fires an actionEvent.
- actionPerformed(ActionEvent) - Method in class TrainPanel
-
Fired when a component performs an action whilst this class is listening to it.
- add(Receptor) - Method in class NearOCR.ReceptorManager
-
Adds a single receptor to the set.
- add(Symbol) - Method in class NearOCR.SymbolTable
-
Adds a symbol to the end of the symbol table.
- addEdge(Edge) - Method in class NearNeural.ReceptiveNeuron
-
Adds a single edge to the neuron.
- addEdges(Neuron[]) - Method in class NearNeural.ReceptiveNeuron
-
Constructs randomly weighted edges to all neurons in the array provided.
- addLetter(Letter) - Method in class NearOCR.Document
-
Adds a letter to the list of letters.
- addMessageListener(MessageListener) - Static method in class NearOCR.Logger
-
Adds a message listener, which will from that moment on receive all logged events.
- addNeuron(Neuron) - Method in class NearNeural.NeuronLayer
-
Adds a neuron to the layer.
- addSymbol(Symbol) - Method in class NearOCR.OCRManager
-
Adds a symbol to the symbol table.
- adjustmentValueChanged(AdjustmentEvent) - Method in class SlicePanel
-
Handles a change in the scrolling pane, redrawing the image each time the user drops the scrollbar.
- adjustSymbolWeights(NeuralNet[], Symbol, ProgressListener, ReceptorManager) - Static method in class NearOCR.TrainingManager
-
Adjusts all symbol weights in a single symbol.
- adjustWeightByDeviation(double) - Method in class NearOCR.WeightedNode
-
Adjusts the weight of this node such that its weight multiplied by the given output is exactly equal to the target.
- analyse(double, double, ProgressListener) - Method in class NearOCR.OCRManager
-
Analyses all letters by running them through all nets.
- analyseSymbolWeights(ProgressListener) - Method in class NearOCR.OCRManager
-
Analyses and updates all symbol weights to compensate for individual net idiosynchrasies.
- appendNet(NeuralNet) - Method in class NearOCR.NetStack
-
Appends a net to the end of the stack.
- appendNet(NeuralNet) - Method in class NearOCR.OCRManager
-
Appends a net to the stack.
- calculateValue() - Method in class NearNeural.ReceptiveNeuron
-
pre-calculates the value of this neuron - this method requires that all previous layers have been run first in a feed-forward manner.
- CharacterImage - Class in NearOCR
-
A bitmap representation of a character.
- CharacterImage(BufferedImage) - Constructor for class NearOCR.CharacterImage
-
Creates a new CharacterImage from a BufferedImage.
- clearLetters() - Method in class NearOCR.Document
-
Clears the document of letters.
- ConsolePanel - Class in <Unnamed>
-
A panel that dsplays the logger results for NearOCR.
- ConsolePanel() - Constructor for class ConsolePanel
-
Creates a new console panel, attaching itself to the logger and placing the log panel.
- count() - Method in class NearOCR.ReceptorManager
-
Returns the number of receptors in the set.
- countEdges() - Method in class NearNeural.ReceptiveNeuron
-
Returns the number of edges currently in this neuron.
- countInputs() - Method in class NearOCR.OCRManager
-
Returns the number of inputs as shared across the net stack.
- countNets() - Method in class NearOCR.NetStack
-
Returns the number of nets that are currently loaded.
- countNeurons() - Method in class NearNeural.NeuronLayer
-
Returns the number of neurons currently in this layer.
- countOutput() - Method in class NearOCR.NetStack
-
Returns the number of outputs this OCR system will generate.
- countOutput() - Method in class NearOCR.OCRManager
-
Returns the number of outputs in the final layer of the entire net stack.
- createNewLayer() - Method in class NewNetFrame
-
Creates a new layer and adds it to the JList, but not to the OCRManager or the provisional net.
- generateReceptors(int) - Method in class NearOCR.DoubleObliqueReceptorPattern
-
An implementation of ReceptorPattern.generateReceptors(int).
- generateReceptors(int) - Method in class NearOCR.FixedLengthRandomReceptorPattern
-
An implementation of ReceptorPattern.generateReceptors(int).
- generateReceptors(int) - Method in class NearOCR.RandomReceptorPattern
-
An implementation of ReceptorPattern.generateReceptors(int).
- generateReceptors(int) - Method in interface NearOCR.ReceptorPattern
-
Returns an array of Receptors number in length.
- generateReceptors(int) - Method in class NearOCR.RegularObliqueReceptorPattern
-
An implementation of ReceptorPattern.generateReceptors(int).
- getBackPropagationMethod() - Method in class NearNeural.NeuralNet
-
Returns the BackPropagationMethod used to train the net.
- getDelta() - Method in class NearNeural.ReceptiveNeuron
-
Returns the last error value from backpropagation.
- getDescription() - Method in class ImageFileFilter
-
Returns the description that is displayed in the drop down type selector in the FileChooser prompt.
- getDescription() - Method in class NetFileFilter
-
Returns the description that is displayed in the drop down type selector in the FileChooser prompt.
- getDescription() - Method in class SymbolFileFilter
-
Returns the description that is displayed in the drop down type selector in the FileChooser prompt.
- getDesiredValues(int, int) - Method in class NearOCR.Symbol
-
Returns a range of desired values.
- getDesiredValues() - Method in class NearOCR.Symbol
-
This returns a double array of all 'desirable' edges which should be firing in order to trigger the symbol.
- getDeviation(double) - Method in class NearOCR.WeightedNode
-
Returns the difference between the weight-adjusted output neuron value and the internally stored target.
- getDocument() - Method in class NearOCR.OCRManager
-
Returns the document that this OCRManager is using.
- getEdge(int) - Method in class NearNeural.ReceptiveNeuron
-
Returns an edge at the index given.
- getEdge(int, int) - Method in class NearNeural.ReceptiveNeuronLayer
-
Returns an edge from one of the neurons in this layer.
- getHeight() - Method in class NearOCR.Letter
-
Returns the current height of the letter.
- getImage() - Method in class NearOCR.CharacterImage
-
Returns the original, unscaled image which represents this symbol.
- getImage() - Method in class NearOCR.Document
-
Returns the image that this document is based on.
- getIndex() - Method in class NearOCR.WeightedNode
-
Returns the current index of this node.
- getInputCount() - Method in class NearOCR.NetStack
-
Returns the number of input neurons that this OCR manager is currently set to using.
- getInputEdges() - Method in class NearNeural.ReceptiveNeuron
-
Returns a list of all edges handled by this Neuron
- getK() - Method in class NearNeural.WeightedThresholdModel
-
Returns the coefficient of the function.
- getLayer(int) - Method in class NearNeural.NeuralNet
-
Returns a layer such that one may edit its nodes and structure manually.
- getLayerStructure() - Method in class NearNeural.NeuralNet
-
Returns an array of integers representing the structure of the net.
- getLearningRate() - Method in class NearNeural.UnweightedBackPropagationMethod
-
Returns the current learning rate.
- getLength() - Method in class NearOCR.Symbol
-
Returns the number of weighted nodes held by this symbol.
- getLength() - Method in class NearOCR.SymbolTable
-
Returns the length of the table.
- getLetters() - Method in class NearOCR.Document
-
Returns an array of all Letters contained within this document.
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class NetCell
-
Provides a renderable component for the JList.
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class NeuronCell
-
Provides a renderable component for the JList.
- getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class SymbolCell
-
Provides a renderable component for the JList.
- getMeanDeviation(double[]) - Method in class NearOCR.Symbol
-
Calculates a confidence value for this nsymbol based on net outputs.
- getNet(int) - Method in class NearOCR.NetStack
-
Returns a net by index from this OCR manager.
- getNet(int) - Method in class NearOCR.OCRManager
-
Returns a net from the given index number.
- getNets() - Method in class NearOCR.NetStack
-
Returns an array of all nets held in this OCR manager, ordered as they are to have their outputs serialised.
- getNets() - Method in class NearOCR.OCRManager
-
Returns all nets from the net stack, is merely a wrapper for the Net stack object.
- getNeuron(int, int) - Method in class NearNeural.NeuralNet
-
Returns a neuron from anywhere in the current net.
- getNeuron(int) - Method in class NearNeural.NeuronLayer
-
Returns a neuron with the index provided
- getNeuron(int) - Method in class NearNeural.ReceptiveNeuronLayer
-
- getNeurons() - Method in class NearNeural.NeuronLayer
-
Returns all Neurons in this layer.
- getNeurons() - Method in class NearNeural.ReceptiveNeuronLayer
-
Returns all neurons as ReceptiveNeurons.
- getNumberOfLayers() - Method in class NearNeural.NeuralNet
-
Returns the number of layers in the net, without any extra information.
- getOldWeight() - Method in class NearNeural.Edge
-
Returns the old weight, as per backpropagation.
- getOutput() - Method in class NearNeural.NeuralNet
-
Returns the output of the net as an array of doubles as long as the amount of output Neurons.
- getReceptorManager() - Method in class NearOCR.OCRManager
-
Returns the current ReceptorManager that will be used for analysis.
- getReceptors() - Method in class NearOCR.ReceptorManager
-
Returns an array with references to all receptors in the set, ordered by the order in which they were inserted.
- getSource() - Method in class NearNeural.Edge
-
Retrns the target of this edge, ie the source (the neuron from which data flows unto the one which owns this Edge), but not the source of data.
- getSupportedFileVersions() - Method in class NearNeural.NeuralNet
-
Returns an array of strings that represent (and correlate with) version ids from which this net can load files.
- getSymbol(int) - Method in class NearOCR.SymbolTable
-
Returns a symbol by index.
- getSymbols() - Method in class NearOCR.SymbolTable
-
Returns an array with all symbols from this table in.
- getSymbolTable() - Method in class NearOCR.OCRManager
-
Returns the entire current sumbol table.
- getTarget() - Method in class NearOCR.WeightedNode
-
Returns the current target value, between 0 and 1, of this weighted node.
- getValue() - Method in class NearOCR.CharacterImage
-
Returns the value of this Symbol
- getWeight() - Method in class NearNeural.Edge
-
Returns the weight of the Edge.
- getWeight(int) - Method in class NearOCR.Symbol
-
Returns one weighted node, addressed by the index in the internal array - NOT the index stored within the weighted node!
- getWeight() - Method in class NearOCR.WeightedNode
-
Returns the weight this node currently holds.
- getWeights() - Method in class NearOCR.Symbol
-
Returns a list of all weighted nodes stored within this Symbol.
- getWeightsFromOffset(int, int) - Method in class NearOCR.Symbol
-
Returns a range of weighted nodes from a given position.
- getWidth() - Method in class NearOCR.Letter
-
Returns the current width of this letter.
- getX() - Method in class NearOCR.Letter
-
Returns the current x-coordinate of the letter as placed on the document from which it was sliced.
- getX1() - Method in class NearOCR.Receptor
-
- getX2() - Method in class NearOCR.Receptor
-
- getY() - Method in class NearOCR.Letter
-
Returns the current Y coordinate of this letter as it was once placed in the source document.
- getY1() - Method in class NearOCR.Receptor
-
- getY2() - Method in class NearOCR.Receptor
-
- learningRate - Variable in class NearNeural.UnweightedBackPropagationMethod
-
The multiplier for error gradient descent.
- Letter - Class in NearOCR
-
Stores a single character and forms the bulk of a Document.
- Letter(BufferedImage) - Constructor for class NearOCR.Letter
-
Creates a new Letter from a given image, assuming scaled is identical.
- LinearThresholdModel - Class in NearNeural
-
A threshold which is linear.This method may not work at all with some backpropagation methods
- LinearThresholdModel(double) - Constructor for class NearNeural.LinearThresholdModel
-
Creates a new thresholding function with the given 'harshness'.
- linkTo(NeuronLayer) - Method in class NearNeural.ReceptiveNeuronLayer
-
Links all neurons in this layer to all neurons in the layer provided.
- LoadFrame - Class in <Unnamed>
-
Creates a new frame which allows the user to create a net with the parameters chosen.
- LoadFrame(Frame, OCRManager) - Constructor for class LoadFrame
-
Creates and shows a new net building dialog.
- loadImage(File) - Method in class NearOCR.OCRManager
-
Sets the current document's image source.
- loadSymbols(File) - Method in class NearOCR.OCRManager
-
Loads a symbol table from the given file.
- logError(String) - Static method in class NearOCR.Logger
-
Logs an error, sending it to all listeners and storing it internally.
- Logger - Class in NearOCR
-
The logger is a client-agnostic way of reporting events and progress from the OCR manager to the interface.
- Logger() - Constructor for class NearOCR.Logger
-
- logInfo(String) - Static method in class NearOCR.Logger
-
Logs an information message, sending it to alll listeners and storing it internally.
- logWarning(String) - Static method in class NearOCR.Logger
-
Logs a warning, sending it to all listeners and storing it internally.
- NearNeural - package NearNeural
-
- NearOCR - package NearOCR
-
- NetCell - Class in <Unnamed>
-
Shows a neural net as part of a JList.
- NetCell() - Constructor for class NetCell
-
Creates a new net cell.
- NetFileFilter - Class in <Unnamed>
-
Filters files for use with a FileChooser, in order to allow selection of neural nets only.
- NetFileFilter() - Constructor for class NetFileFilter
-
- NetPanel - Class in <Unnamed>
-
A panel, to be a tab, that represents net data to the user.
- NetPanel(OCRManager) - Constructor for class NetPanel
-
Creates a new panel which displays net information.
- NetStack - Class in NearOCR
-
The net stack holds all nets that are to be run durin the OCR process.
- NetStack() - Constructor for class NearOCR.NetStack
-
Creates an empty net stack.
- NeuralNet - Class in NearNeural
-
A practical implementation of a feed-forward back propogating multi-layer perceptron network.
- NeuralNet(double[], int[], ThresholdingAlgorithm, BackPropagationMethod) - Constructor for class NearNeural.NeuralNet
-
Creates a new net with p_layers.length+1 layers, each with n nodes in them.
- NeuralNet(FileReader, ThresholdingAlgorithm, BackPropagationMethod) - Constructor for class NearNeural.NeuralNet
-
Create a net from a saved net file.
- NeuralNetException - Exception in NearNeural
-
A throwable exception that is the parent of all other exceptions regarding nets.
- NeuralNetException(String) - Constructor for exception NearNeural.NeuralNetException
-
Creates a new NeuralNetException with the message given.
- NeuralNetException() - Constructor for exception NearNeural.NeuralNetException
-
Creates a new exception with no message
- NeuralVisualisation - Class in <Unnamed>
-
A panel that draws a visal representation of a neural net, displaying colour-coded edges and alpha-blended neurons.
- NeuralVisualisation(NeuralNet) - Constructor for class NeuralVisualisation
-
Creates a new visualisation with the given net and dimension.
- NeuralVisualisationFrame - Class in <Unnamed>
-
A panel that draws a visal representation of a neural net, displaying colour-coded edges and alpha-blended neurons.
- NeuralVisualisationFrame(NeuralNet, int, int, String) - Constructor for class NeuralVisualisationFrame
-
Creates a new visualisation with the given net and dimension.
- Neuron - Interface in NearNeural
-
Neurons are the staple of the net.
- NeuronCell - Class in <Unnamed>
-
Displays the details of a single output neuron weight.
- NeuronCell() - Constructor for class NeuronCell
-
Creates a new neuron cell with blank values
- NeuronLayer - Class in NearNeural
-
A NeuronLayer keeps track of an arbitrary selection of neurons, each of which may have arbitrary or even circular links.
- NeuronLayer(ThresholdingAlgorithm) - Constructor for class NearNeural.NeuronLayer
-
Creates a blank neuron layer with the threshold model provided.
- neurons - Variable in class NearNeural.NeuronLayer
-
Stores all Neurons in this layer
- NewNetFrame - Class in <Unnamed>
-
Creates a new frame which allows the user to create a net with the parameters chosen.
- NewNetFrame(Frame, OCRManager) - Constructor for class NewNetFrame
-
Creates and shows a new net building dialog.
- RandomReceptorPattern - Class in NearOCR
-
A pattern of receptors with totally random position, orientation and length.
- RandomReceptorPattern() - Constructor for class NearOCR.RandomReceptorPattern
-
- ReceptiveNeuron - Class in NearNeural
-
A receptive Neuron is a form of Neuron that maintains Edges, which themselves point to other Neurons, be they static or themselves a form of Receptive Neuron.
- ReceptiveNeuron(ThresholdingAlgorithm) - Constructor for class NearNeural.ReceptiveNeuron
-
Creates a new neuron with no edges.
- ReceptiveNeuron(Edge[], ThresholdingAlgorithm) - Constructor for class NearNeural.ReceptiveNeuron
-
Creates a Neuron with Edges from an array.
- ReceptiveNeuronLayer - Class in NearNeural
-
A Receptive form of the Neuron Layer, this class allows Neurons to maintain Edges to other Neurons.
- ReceptiveNeuronLayer(ThresholdingAlgorithm) - Constructor for class NearNeural.ReceptiveNeuronLayer
-
Creates a new receptive neuron layer with the desired thresholding algorithm.
- Receptor - Class in NearOCR
-
Represents one single-unit receptor.
- Receptor(double, double, double, double) - Constructor for class NearOCR.Receptor
-
- ReceptorManager - Class in NearOCR
-
Manages the currently loaded receptor net and its various properties.
- ReceptorManager(ReceptorPattern, int) - Constructor for class NearOCR.ReceptorManager
-
Creates a new ReceptorManager with a given receptor pattern and number of receptors.
- ReceptorManager() - Constructor for class NearOCR.ReceptorManager
-
Creates an empty set of receptors.
- ReceptorManager(FileReader) - Constructor for class NearOCR.ReceptorManager
-
Loads a set of receptors from a file.
- ReceptorPanel - Class in <Unnamed>
-
A panel that allows the user to regenerate and load receptors.
- ReceptorPanel(OCRManager) - Constructor for class ReceptorPanel
-
Creates a new slice panel using the OCR object in question.
- ReceptorPattern - Interface in NearOCR
-
An interface to allow creation of arbitrary receptor generating algorithms.
- redraw() - Method in class ResultsPanel
-
Redraws the output pane with data read from the OCRManager as passed in the constructor.
- RegularObliqueReceptorPattern - Class in NearOCR
-
A receptor pattern that is essentially single-hatching.
- RegularObliqueReceptorPattern() - Constructor for class NearOCR.RegularObliqueReceptorPattern
-
- remove(Receptor) - Method in class NearOCR.ReceptorManager
-
Removes a receptor from the set.
- remove(int) - Method in class NearOCR.SymbolTable
-
Removes a symbol from the table by index.
- removeEdge(Edge) - Method in class NearNeural.ReceptiveNeuron
-
Removes an edge from this neuron.
- removeEdge(int) - Method in class NearNeural.ReceptiveNeuron
-
Removes an edge from the layer by index.
- removeLayer() - Method in class NewNetFrame
-
Removes a provisional layer from the list
- removeMessageListener(MessageListener) - Static method in class NearOCR.Logger
-
Removes a message listener such that it will no longer be sent events.
- removeNet(NeuralNet) - Method in class NearOCR.NetStack
-
Removes a net from the internal list.
- removeNet(int) - Method in class NearOCR.OCRManager
-
Removes a net from the internal list.
- removeNet(NeuralNet) - Method in class NearOCR.OCRManager
-
Removes a net from the stack.
- removeNeuron(Neuron) - Method in class NearNeural.NeuralNet
-
Removes a neuron and all edges that point to and from it.
- removeNeuron(Neuron) - Method in class NearNeural.NeuronLayer
-
Removes a neuron from this layer.
- removeNeuron(int) - Method in class NearNeural.NeuronLayer
-
Removes a neuron from the layer by index.
- repopulate(ReceptorPattern, int) - Method in class NearOCR.ReceptorManager
-
Regenerates receptors using a set pattern.
- repopulateList() - Method in class NetPanel
-
Repopulates the list from the OCR manager's net stack.
- repopulateList() - Method in class NewNetFrame
-
Repopulates and redraws the net layer list.
- repopulateList() - Method in class TrainPanel
-
Repopulates the list of neural nets
- repopulateOutputsList() - Method in class SymbolPanel
-
Repopulates all weighted nodes form the current symbol
- repopulateSymbolList() - Method in class SymbolPanel
-
Reloads and repopulates the list of symbols from the internally stored OCRManager.
- resetWeights() - Method in class SymbolPanel
-
Resets all weights to 1
- ResultsPanel - Class in <Unnamed>
-
Draws the results of running an OCR operation as text.
- ResultsPanel(OCRManager) - Constructor for class ResultsPanel
-
Creates a new result reading panel linked to the given OCR manager.
- run(NeuralNet[], CharacterImage, ProgressListener, ReceptorManager) - Static method in class NearOCR.RunManager
-
Runs a single image through all nets, returning the raw net output.
- run() - Method in class RunDispatcher
-
Runs the analysis
- run() - Method in class TrainingDispatcher
-
Runs the training analysis
- run() - Method in class WeightAnalysisDispatcher
-
Runs the analyis
- RunDispatcher - Class in <Unnamed>
-
Dispatches a run operation in a separate thread such that the UI remains responsive.
- RunDispatcher(OCRManager, ProgressListener, double, double) - Constructor for class RunDispatcher
-
Creates a new rundispatcher and waits for the run() method to be called.
- RunManager - Class in NearOCR
-
The RunManager is responsible for all OCR running operations which actually recognise characters rather than merely adjusting weight values.
- RunManager() - Constructor for class NearOCR.RunManager
-
- runOneImg(NeuralNet[], CharacterImage, SymbolTable, ProgressListener, double, double, ReceptorManager) - Static method in class NearOCR.RunManager
-
Loops through all of the nets, runs them and add it to a list of doubles, then returns the best fit symbol for those outputs.
- RunPanel - Class in <Unnamed>
-
A panel that shows the progress of analysis.
- RunPanel(OCRManager) - Constructor for class RunPanel
-
Creates a new run monitor panel, maintaining a reference to the OCR manager passed.
- runSingleTrainingCycle(NeuralNet, Symbol, int, ProgressListener, int, double, ReceptorManager) - Static method in class NearOCR.TrainingManager
-
Runs a single training cycle for a single net and a single symbol.
- save(FileWriter) - Method in class NearNeural.NeuralNet
-
Saves all net memory to a file.
- save(FileWriter) - Method in class NearOCR.ReceptorManager
-
Saves the Receptor manager to the file provided.
- save(FileWriter) - Method in class NearOCR.SymbolTable
-
Saves the suymbol table to the file provided.
- save() - Method in class ResultsPanel
-
Starts a JFileChooser to save the output as stripped from the output pane.
- setAllWeights(double) - Method in class NearOCR.OCRManager
-
Resets all symbol weights to the given number.
- setBackPropagationMethod(BackPropagationMethod) - Method in class NearNeural.NeuralNet
-
Sets the BackPropagationMethod that willl be used to train the net.
- setDelta(double) - Method in class NearNeural.ReceptiveNeuron
-
Sets the difference between current value and desired value during the backpropagation process.
- setDocument(Document) - Method in class NearOCR.OCRManager
-
Sets the document to parse.
- setEdgeWeight(int, double) - Method in class NearNeural.ReceptiveNeuron
-
Sets the weight of an edge, as indexed by the connection to the current Neuron.
- setImage(BufferedImage) - Method in class NearOCR.CharacterImage
-
Sets the original image of this Symbol from which the scaled one is calculated.
- setImage(BufferedImage) - Method in class NearOCR.Document
-
Sets the image that this document is based on.
- setIndex(int) - Method in class NearOCR.WeightedNode
-
Sets the index number of this node.
- setInput(int) - Method in class NearOCR.NetStack
-
Attempts to adjust the number of input neurons.
- setInputValue(double, int) - Method in class NearNeural.NeuralNet
-
Allows the user to set the value of one input Neuron.
- setInputValue(double, int) - Method in class NearNeural.StaticNeuronLayer
-
Sets the input value of one static node.
- setInputValues(double[]) - Method in class NearNeural.NeuralNet
-
Sets input values from an array of doubles.
- setInputValues(double[]) - Method in class NearNeural.StaticNeuronLayer
-
Sets all nodes in this layer to the values given, in order.
- setK(double) - Method in class NearNeural.WeightedThresholdModel
-
Sets the coefficient of the running function (steepness).
- setLearningRate(double) - Method in class NearNeural.UnweightedBackPropagationMethod
-
Sets the learning rate of this backpropagation method.
- setLength(int) - Method in class NearOCR.Symbol
-
Sets the number of output nodes, which ought to be equal to the number of total output nodes in the OCR manager.
- setLength(int) - Method in class NearOCR.SymbolTable
-
Sets the number of weighted nodes every symbol in the table has.
- setOldWeight(double) - Method in class NearNeural.Edge
-
Set the old weight of this Edge.
- setReceptorManager(ReceptorManager) - Method in class NearOCR.OCRManager
-
Sets the receptor manager.
- setTarget(double) - Method in class NearOCR.WeightedNode
-
Sets the target value, from which error is calculated
- setValue(double) - Method in class NearNeural.StaticNeuron
-
Sets the value of this neuron.
- setValue(String) - Method in class NearOCR.CharacterImage
-
Sets the string value of this Symbol.
- setWeight(double) - Method in class NearNeural.Edge
-
Sets the weight of this edge
- setWeight(WeightedNode, int) - Method in class NearOCR.Symbol
-
Sets the weight of one particular output node, indexed by value in internal array - NOT by the index as stored in the weighted node itself.
- setWeight(double) - Method in class NearOCR.WeightedNode
-
Sets the weight of this node, by which the output of the net will be multiplied in order to fin its true output.
- setX(int) - Method in class NearOCR.Letter
-
Sets the X co-ordinate of the letter on the page.
- setX1(double) - Method in class NearOCR.Receptor
-
- setX2(double) - Method in class NearOCR.Receptor
-
- setY(int) - Method in class NearOCR.Letter
-
Sets the Y coordinate of the letter as placed in the source document.
- setY1(double) - Method in class NearOCR.Receptor
-
- setY2(double) - Method in class NearOCR.Receptor
-
- SigmoidThresholdModel - Class in NearNeural
-
Represents a thresholding algorithm based on the sigmoid function.
- SigmoidThresholdModel(double) - Constructor for class NearNeural.SigmoidThresholdModel
-
Creates a new thresholding function with the given 'harshness'.
- SinusoidalThresholdModel - Class in NearNeural
-
Creates a new sinusoidal thresholding algorithm.
- SinusoidalThresholdModel(double) - Constructor for class NearNeural.SinusoidalThresholdModel
-
Creates a new sinusoidal function with a given steepness.
- slice(double, double) - Method in class NearOCR.OCRManager
-
Attempts to find letters by dividing an image up by lines and letters.
- slice() - Method in class SlicePanel
-
Reslices all images according to slider values, causing the OCR manager to update its own letters.
- SlicePanel - Class in <Unnamed>
-
A panel that allows the user to choose how to slice images up.
- SlicePanel(OCRManager) - Constructor for class SlicePanel
-
Creates a new slice panel using the OCR object in question.
- source - Variable in class NearNeural.Edge
-
Stores a reference to the source neuron.
- stateChanged(ChangeEvent) - Method in class SlicePanel
-
Handles a value change in the threshold sliders, recalculating slices each time the slider is dropped.
- StaticNeuron - Class in NearNeural
-
Represents an input neuron, which has a static value, uninfluenced by any edges.
- StaticNeuron(double, ThresholdingAlgorithm) - Constructor for class NearNeural.StaticNeuron
-
Creates a Neuron with the value given.
- StaticNeuronLayer - Class in NearNeural
-
The Static Neuron Layer holds only Static neurons, that is those without any Edges.
- StaticNeuronLayer(int, ThresholdingAlgorithm) - Constructor for class NearNeural.StaticNeuronLayer
-
Creates a new layer with a given number of Static Neurons.
- StaticNeuronLayer(ThresholdingAlgorithm) - Constructor for class NearNeural.StaticNeuronLayer
-
- supportedVersions - Variable in class NearNeural.NeuralNet
-
The versions from which this version can load files.
- Symbol - Class in NearOCR
-
A symbol is responsible for managing training and finding values from net output.
- Symbol(String, String) - Constructor for class NearOCR.Symbol
-
Creates a new symbol with a given value and from a given filename.
- SymbolCell - Class in <Unnamed>
-
Shows a symbol as part of a JList.
- SymbolCell() - Constructor for class SymbolCell
-
Creates a new symbol cell.
- SymbolFileFilter - Class in <Unnamed>
-
Filters files for use with a FileChooser, in order to allow selection of images only.
- SymbolFileFilter() - Constructor for class SymbolFileFilter
-
- SymbolPanel - Class in <Unnamed>
-
- SymbolPanel(OCRManager) - Constructor for class SymbolPanel
-
Creates a new symbol editing panel linked to the given OCRManager.
- SymbolTable - Class in NearOCR
-
Stores a table of all outputs correlating to their ideal output as a character and the filepath of the original image which was used to train the net, along with an average 'off' weighting.
- SymbolTable() - Constructor for class NearOCR.SymbolTable
-
Creates a blank symbol table
- SymbolTable(FileReader) - Constructor for class NearOCR.SymbolTable
-
Creates a new symbol table from a saved symbol table file.
- ThreadedUnweightedBackPropagationMethod - Class in NearNeural
-
A threaded version of UnweightedBackPropagationMethod which uses a standard gradient-descent backpropagation method.
- ThreadedUnweightedBackPropagationMethod(double) - Constructor for class NearNeural.ThreadedUnweightedBackPropagationMethod
-
Creates a new ThreadedUnweightedBackPropagationMethod with the given learning rate.
- ThreePointRuleDifferentiation - Class in NearNeural
-
Implements a numerical method for differentiation.
- ThreePointRuleDifferentiation(double) - Constructor for class NearNeural.ThreePointRuleDifferentiation
-
Creates a new differentiation constant necessary to approximate differential.
- ThresholdingAlgorithm - Interface in NearNeural
-
A formal definition of an algorithm which adjusts input values.
- thresholdModel - Variable in class NearNeural.NeuronLayer
-
The thresholding model to use for back propagation
- toString() - Method in class NearNeural.NeuralNet
-
Returns a string representing the object.
- toString() - Method in class NearOCR.Receptor
-
- toString() - Method in class NearOCR.Symbol
-
Returns this Symbol as represented by a string.
- toString() - Method in class NearOCR.WeightedNode
-
Returns this node represented as a string.
- train(double[]) - Method in class NearNeural.NeuralNet
-
Runs the back propogation algorithms on the whole net.
- train() - Method in class TrainPanel
-
Trains the net using the values as in the ui
- trainAllSymbols(NeuralNet, Symbol[], int, int, ProgressListener, double, int, double, ReceptorManager) - Static method in class NearOCR.TrainingManager
-
Trains the net in a cyclic fashion with all symbols given.
- TrainingDispatcher - Class in <Unnamed>
-
Dispatches training threads, allowing the UI to continue updating.
- TrainingDispatcher(NeuralNet, Symbol[], int, int, TrainPanel, double, int, double, OCRManager) - Constructor for class TrainingDispatcher
-
Creates a new training dispatcher with the parmeters given.
- TrainingManager - Class in NearOCR
-
Handles all aspects relating to training techniques for both the encapsulated Neural Net and the symbol table.
- TrainingManager() - Constructor for class NearOCR.TrainingManager
-
- TrainPanel - Class in <Unnamed>
-
A panel that allows the user to train nets in the net stack.
- TrainPanel(OCRManager) - Constructor for class TrainPanel
-
Creates a new panel which displays net information.
- validateInput(double) - Method in class NearNeural.HyperbolicTangentThresholdModel
-
Validates input against the applicable range for this thresholding algorithm.
- validateInput(double) - Method in class NearNeural.LinearThresholdModel
-
Validates input against the applicable range for this thresholding algorithm.
- validateInput(double) - Method in class NearNeural.SigmoidThresholdModel
-
Validates input values.
- validateInput(double) - Method in class NearNeural.SinusoidalThresholdModel
-
Validates input against the applicable range for this thresholding algorithm.
- validateInput(double) - Method in class NearNeural.ThreePointRuleDifferentiation
-
Validates input against the applicable range for this thresholding algorithm.
- validateInput(double) - Method in interface NearNeural.ThresholdingAlgorithm
-
Returns true if the provided number is within reasonable input bounds for this algorithm.
- value(Edge[]) - Method in class NearNeural.HyperbolicTangentThresholdModel
-
Calculates Neuron value from all Edges and their source Neurons.
- value(Edge[]) - Method in class NearNeural.LinearThresholdModel
-
Calculates Neuron value from all Edges and their source Neurons.
- value() - Method in interface NearNeural.Neuron
-
Returns the value of this Neuron, calculated through any means.
- value() - Method in class NearNeural.ReceptiveNeuron
-
Returns the sum of all Edge values, multiplied by their weight.
- value(Edge[]) - Method in class NearNeural.SigmoidThresholdModel
-
Calculates Neuron value from all Edges and their source Neurons.
- value(Edge[]) - Method in class NearNeural.SinusoidalThresholdModel
-
Calculates Neuron value from all Edges and their source Neurons.
- value() - Method in class NearNeural.StaticNeuron
-
Returns this Static Neuron's value.
- value(Edge[]) - Method in class NearNeural.ThreePointRuleDifferentiation
-
Calculates Neuron value from all Edges and their source Neurons.
- value(Edge[]) - Method in interface NearNeural.ThresholdingAlgorithm
-
Returns the value of a neuron.
- value - Variable in class NearOCR.CharacterImage
-
Stores this symbol's value
- valueChanged(double, double) - Method in interface NearOCR.ProgressListener
-
Called when the progress is updated.
- valueChanged(ListSelectionEvent) - Method in class NetPanel
-
Is called whenever the value of a list changes, in this case this is the Net list only.
- valueChanged(double, double) - Method in class RunPanel
-
Fired when a value is changed in the analysis process.
- valueChanged(ListSelectionEvent) - Method in class SymbolPanel
-
Fires when someone makes a selection on either list.
- valueChanged(double, double) - Method in class SymbolPanel
-
Fired when a value is changed in the analysis process.
- valueChanged(ListSelectionEvent) - Method in class TrainPanel
-
Changed when the list selection changes.
- valueChanged(double, double) - Method in class TrainPanel
-
Fired when a value is changed in the training process.
- ValueOutOfBoundsException - Exception in NearNeural
-
An exception that is generally thrown when a value is out of acceptable bounds.
- ValueOutOfBoundsException(String, double) - Constructor for exception NearNeural.ValueOutOfBoundsException
-
Creates a new ValueOutOfBoundsException with the message and value given.
- ValueOutOfBoundsException(String) - Constructor for exception NearNeural.ValueOutOfBoundsException
-
Creates a new ValueOutOfBoundsException with the given message.
- ValueOutOfBoundsException() - Constructor for exception NearNeural.ValueOutOfBoundsException
-
Creates a new exception with no message
- version - Variable in class NearNeural.NeuralNet
-
The version of the net code.