org.shapelogic.imageprocessing
Class ColorParticleAnalyzer
java.lang.Object
org.shapelogic.imageutil.BaseImageOperation
org.shapelogic.imageprocessing.BaseParticleCounter
org.shapelogic.imageprocessing.ColorParticleAnalyzer
- All Implemented Interfaces:
- java.lang.Runnable, IParticleCounter, ImageOperation
- Direct Known Subclasses:
- ColorParticleAnalyzerIJ
public class ColorParticleAnalyzer
- extends BaseParticleCounter
Analyzes a particle image in gray or RGB and group the particles according
to shape rules.
Find a place in the base class where there is a hook for this extended functionality.
Some of the methods can be moved to ColorParticleAnalyzer to remove dependency of ImageJ.
- Author:
- Sami Badawi
Fields inherited from class org.shapelogic.imageprocessing.BaseParticleCounter |
_backgroundArea, _backgroundColor, _backgroundCount, _boundingBoxArea, _categorizer, _colorHypothesis, _colorHypothesisFinder, _displayTable, _inputColor, _iterations, _maxDistance, _maxPixelsInArea, _minPixelsInArea, _modifying, _particleCount, _particleImage, _particlesFiltered, _particlesOrig, _referenceColor, _saveArea, _segmentation, _useReferenceAsBackground, ITERATIONS_DEFAULTS, MAX_DISTANCE_DEFAULTS, MAX_PIXELS_IN_AREA_DEFAULTS, MIN_PIXELS_IN_AREA_DEFAULTS |
Methods inherited from class org.shapelogic.imageprocessing.BaseParticleCounter |
customColumnDefinitions, defaultColumnDefinitions, displayResultsTable, findBackground, findColorHypothesis, getColorHypothesisFinder, getImageArea, getInputColor, getIterations, getMaxDistance, getMinPixelsInArea, getParticleCount, getParticleFiltered, getSegmentation, getStatus, globalFilter, init, isParticleImage, isUseReferenceAsBackground, populateResultsTableRow, populateResultsTableRowCustom, run, segment, setColorHypothesisFinder, setDisplayTable, setInputColor, setIterations, setMaxDistance, setMinPixelsInArea, setUseReferenceAsBackground, showResultDialog |
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 |
Methods inherited from interface org.shapelogic.imageutil.ImageOperation |
getGuiWrapper, getImage, getKeyValueParser, getSetupReturnValue, isImageValid, setArg, setGuiWrapper, setKeyValueParser, setSetupReturnValue, setup, showAbout, showMessage |
_particleStream
protected WrappedListStream<IColorAndVariance> _particleStream
_polygonStream
protected ListStream<Polygon> _polygonStream
_edgeTracer
protected IEdgeTracer _edgeTracer
_aspectRatioStream
protected NumberedStream<java.lang.Double> _aspectRatioStream
_grayValueStream
protected NumberedStream<java.lang.Integer> _grayValueStream
_hardCornerCountStream
protected NumberedStream<java.lang.Integer> _hardCornerCountStream
_roundishStream
protected ListCalcStream1<IColorAndVariance,java.lang.Boolean> _roundishStream
_inflectionPointCountStream
protected NumberedStream<java.lang.Integer> _inflectionPointCountStream
_curveArchCountStream
protected NumberedStream<java.lang.Integer> _curveArchCountStream
ColorParticleAnalyzer
public ColorParticleAnalyzer()
defaultStreamDefinitions
protected void defaultStreamDefinitions()
- Description copied from class:
BaseParticleCounter
- Define extra streams and also extra columns.
- Overrides:
defaultStreamDefinitions
in class BaseParticleCounter
categorizeStreams
protected void categorizeStreams()
- Analyzes particles and group them.
Not sure if I should use named streams or try to avoid it to make it more thread safe.
- Overrides:
categorizeStreams
in class BaseParticleCounter
customStreamDefinitions
protected void customStreamDefinitions()
- Define extra streams.
- Overrides:
customStreamDefinitions
in class BaseParticleCounter
populateResultsTable
protected void populateResultsTable()
- Description copied from class:
BaseParticleCounter
- Populate the table with the streams.
- Overrides:
populateResultsTable
in class BaseParticleCounter
Copyright © 2008. All Rights Reserved.