org.shapelogic.imageprocessing
Class StreamVectorizerIJ
java.lang.Object
org.shapelogic.imageutil.BaseImageOperation
org.shapelogic.imageprocessing.BaseVectorizer
org.shapelogic.imageprocessing.BaseMaxDistanceVectorizer
org.shapelogic.imageprocessing.StreamVectorizer
org.shapelogic.imageprocessing.StreamVectorizerIJ
- All Implemented Interfaces:
- ij.plugin.filter.ExtendedPlugInFilter, ij.plugin.filter.PlugInFilter, java.lang.Runnable, java.util.Iterator<Polygon>, RecursiveContext, IPixelTypeFinder, LazyPlugInFilter<Polygon>, PixelJumperByte, ImageOperation
- Direct Known Subclasses:
- DigitStreamVectorizer_, StreamVectorizer_
public class StreamVectorizerIJ
- extends StreamVectorizer
- implements ij.plugin.filter.ExtendedPlugInFilter
Line vectorizer and categorizer as an ImageJ ExtendedPlugInFilter.
Works with rectangular ROIs
- Author:
- Sami Badawi
Fields inherited from class org.shapelogic.imageprocessing.BaseVectorizer |
_cleanedupPolygon, _currentDirection, _currentPixelIndex, _currentPoint, _cyclePoints, _displayInternalInfo, _endPointsClusters, _errorMessage, _firstPointInLineIndex, _firstPointInMultiLine, _matchingOH, _maxX, _maxY, _minX, _minY, _nextCount, _numberOfPointsInAllLines, _pixels, _pixelTypeCalculator, _pixelTypeFinder, _rulesArrayForLetterMatching, _stream, _streamName, _unfinishedPoints, _yForUnporcessedPixel, MAX_DISTANCE_BETWEEN_CLUSTER_POINTS, STRAIGHT_LINE_COLOR |
Fields inherited from interface ij.plugin.filter.ExtendedPlugInFilter |
KEEP_PREVIEW |
Fields inherited from interface ij.plugin.filter.PlugInFilter |
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING |
Methods inherited from class org.shapelogic.imageprocessing.StreamVectorizer |
categorizeStreams, customStreamDefinitions, defaultColumnDefinitions, defaultStreamDefinitions, defineNeuralNetwork, defineRules, getContext, getParentContext, init, matchLines, matchSetup, populateResultsTable, printTable, readFFNeuralNetworkWeights, run, setNeuralNetworkFile, setUseNeuralNetwork |
Methods inherited from class org.shapelogic.imageprocessing.BaseVectorizer |
addToUnfinishedPoints, cleanPolygon, countRegionCrossingsAroundPoint, drawLine, drawLines, findAllLines, findFirstLinePoint, findPointType, getCleanedupPolygon, getCyclePoints, getErrorMessage, getImageProcessor, getMatchingOH, getMaxX, getMaxY, getMinX, getMinY, getPixels, getPoints, getPolygon, getStream, getStreamName, hasNext, isPixelUsed, moveCurrentPointForwards, next, oppesiteDirection, pixelIndexToPoint, pointToPixelIndex, pointToPixelIndex, polygonFactory, remove, setStreamName |
Methods inherited from class org.shapelogic.imageutil.BaseImageOperation |
getGuiWrapper, getImage, getKeyValueParser, getSetupReturnValue, isImageValid, setArg, setGuiWrapper, setKeyValueParser, setSetupReturnValue, setup, showAbout, showMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rt
protected ij.measure.ResultsTable _rt
_gd
protected ij.gui.GenericDialog _gd
_noMatchStatic
protected static boolean _noMatchStatic
_toMaskStatic
protected static boolean _toMaskStatic
_displayInternalInfoStatic
protected static boolean _displayInternalInfoStatic
_displayResultTableStatic
protected static boolean _displayResultTableStatic
_displayInputDialogStatic
protected static boolean _displayInputDialogStatic
_useNeuralNetworkStatic
protected static boolean _useNeuralNetworkStatic
_neuralNetworkFileStatic
protected static java.lang.String _neuralNetworkFileStatic
StreamVectorizerIJ
public StreamVectorizerIJ()
run
public void run(ij.process.ImageProcessor ip)
- Specified by:
run
in interface ij.plugin.filter.PlugInFilter
setup
public int setup(java.lang.String arg,
ij.ImagePlus imp)
- Specified by:
setup
in interface ij.plugin.filter.PlugInFilter
displayResultsTable
protected void displayResultsTable()
- Overrides:
displayResultsTable
in class StreamVectorizer
setNPasses
public void setNPasses(int passes)
- Specified by:
setNPasses
in interface ij.plugin.filter.ExtendedPlugInFilter
showDialog
public int showDialog(ij.ImagePlus imp,
java.lang.String command,
ij.plugin.filter.PlugInFilterRunner pfr)
- Specified by:
showDialog
in interface ij.plugin.filter.ExtendedPlugInFilter
setupTableBuilder
protected void setupTableBuilder()
- Overrides:
setupTableBuilder
in class StreamVectorizer
populateResultsTableRow
protected boolean populateResultsTableRow(int index)
- Overrides:
populateResultsTableRow
in class StreamVectorizer
Copyright © 2009. All Rights Reserved.