|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.imageutil.BaseImageOperation org.shapelogic.imageprocessing.BaseParticleCounter org.shapelogic.imageprocessing.ColorParticleAnalyzer
public class ColorParticleAnalyzer
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.
Field Summary | |
---|---|
protected NumberedStream<java.lang.Double> |
_aspectRatioStream
|
protected NumberedStream<java.lang.Integer> |
_curveArchCountStream
|
protected IEdgeTracer |
_edgeTracer
|
protected NumberedStream<java.lang.Integer> |
_grayValueStream
|
protected NumberedStream<java.lang.Integer> |
_hardCornerCountStream
|
protected NumberedStream<java.lang.Integer> |
_inflectionPointCountStream
|
protected WrappedListStream<IColorAndVariance> |
_particleStream
|
protected ListStream<Polygon> |
_polygonStream
|
protected ListCalcStream1<IColorAndVariance,java.lang.Boolean> |
_roundishStream
|
protected LoadLetterStreams |
loadLetterStreams
|
protected LoadParticleStreams |
loadParticleStreams
|
protected LoadPolygonStreams |
loadPolygonStreams
|
Fields inherited from class org.shapelogic.imageutil.BaseImageOperation |
---|
_arg, _guiWrapper, _image, _keyValueParser, _setupReturnValue |
Constructor Summary | |
---|---|
ColorParticleAnalyzer()
|
Method Summary | |
---|---|
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. |
protected void |
customStreamDefinitions()
Define extra streams. |
protected void |
defaultStreamDefinitions()
Define extra streams and also extra columns. |
java.lang.StringBuffer |
getInternalInfo()
|
void |
init()
Setup all the needed factory methods based on what type the image has. |
protected void |
populateResultsTable()
Populate the table with the streams. |
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 |
Field Detail |
---|
protected WrappedListStream<IColorAndVariance> _particleStream
protected ListStream<Polygon> _polygonStream
protected IEdgeTracer _edgeTracer
protected NumberedStream<java.lang.Double> _aspectRatioStream
protected NumberedStream<java.lang.Integer> _grayValueStream
protected NumberedStream<java.lang.Integer> _hardCornerCountStream
protected ListCalcStream1<IColorAndVariance,java.lang.Boolean> _roundishStream
protected NumberedStream<java.lang.Integer> _inflectionPointCountStream
protected NumberedStream<java.lang.Integer> _curveArchCountStream
protected LoadPolygonStreams loadPolygonStreams
protected LoadParticleStreams loadParticleStreams
protected LoadLetterStreams loadLetterStreams
Constructor Detail |
---|
public ColorParticleAnalyzer()
Method Detail |
---|
public void init() throws java.lang.Exception
BaseParticleCounter
init
in class BaseParticleCounter
java.lang.Exception
protected void defaultStreamDefinitions()
BaseParticleCounter
defaultStreamDefinitions
in class BaseParticleCounter
protected void categorizeStreams()
categorizeStreams
in class BaseParticleCounter
protected void customStreamDefinitions()
customStreamDefinitions
in class BaseParticleCounter
protected void populateResultsTable()
BaseParticleCounter
populateResultsTable
in class BaseParticleCounter
public java.lang.StringBuffer getInternalInfo()
getInternalInfo
in class BaseParticleCounter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |