|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.shapelogic.imageutil.BaseImageOperation
org.shapelogic.imageprocessing.BaseVectorizer
org.shapelogic.imageprocessing.BaseMaxDistanceVectorizer
org.shapelogic.imageprocessing.StreamVectorizer
public class StreamVectorizer
Same vectorizer as MaxDistanceVectorizer, but logic implemented with streams.
| Field Summary |
|---|
| Fields inherited from class org.shapelogic.imageprocessing.BaseMaxDistanceVectorizer |
|---|
_chainCodeHandler |
| Fields inherited from class org.shapelogic.imageprocessing.BaseVectorizer |
|---|
_cleanedupPolygon, _currentDirection, _currentPixelIndex, _currentPoint, _cyclePoints, _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 class org.shapelogic.imageutil.BaseImageOperation |
|---|
_arg, _guiWrapper, _image, _setupReturnValue |
| Constructor Summary | |
|---|---|
StreamVectorizer()
|
|
| Method Summary | |
|---|---|
void |
init()
Use this to setup all the needed streams. |
protected void |
matchLines()
This does really not belong in a vectorizer. |
void |
matchSetup()
In order to match a different alphabet override this. |
void |
run()
|
| Methods inherited from class org.shapelogic.imageprocessing.BaseMaxDistanceVectorizer |
|---|
findMultiLine, findMultiLinePostProcess, findMultiLinePreProcess, findNextLinePoint, handleProblematicPoints, internalFactory, lastPixelOk |
| 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, getSetupReturnValue, isImageValid, setGuiWrapper, setSetupReturnValue, setup, showAbout, showMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamVectorizer()
| Method Detail |
|---|
protected void matchLines()
matchLines in class BaseVectorizerpublic void init()
init in class BaseMaxDistanceVectorizerpublic void matchSetup()
public void run()
run in interface java.lang.Runnablerun in class BaseVectorizer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||