org.shapelogic.imageprocessing
Class RGBColorParticleAnalyzerIJ

java.lang.Object
  extended by org.shapelogic.imageutil.BaseImageOperation
      extended by org.shapelogic.imageprocessing.BaseParticleCounter
          extended by org.shapelogic.imageprocessing.ColorParticleAnalyzer
              extended by org.shapelogic.imageprocessing.ColorParticleAnalyzerIJ
                  extended by org.shapelogic.imageprocessing.RGBColorParticleAnalyzerIJ
All Implemented Interfaces:
ij.plugin.filter.ExtendedPlugInFilter, ij.plugin.filter.PlugInFilter, java.lang.Runnable, RecursiveContext, IParticleCounter, ImageOperation
Direct Known Subclasses:
RGBColorParticleAnalyzer_

public class RGBColorParticleAnalyzerIJ
extends ColorParticleAnalyzerIJ

Particle analyzer where you set the RGB color for either foreground or background.
Works with rectangular ROIs

Author:
Sami Badawi

Field Summary
protected static boolean _backgroundStatic
           
protected static int _bStatic
           
protected static boolean _countOnlyStatic
           
protected static boolean _displayInternalInfoStatic
           
protected static int _gStatic
           
protected static java.lang.String _neuralNetworkFileStatic
           
protected static int _rStatic
           
protected static boolean _toMaskStatic
           
protected static boolean _useNeuralNetworkStatic
           
 
Fields inherited from class org.shapelogic.imageprocessing.ColorParticleAnalyzerIJ
_gd, _iterationsStatic, _maxDistanceStatic, _maxPixelsInAreaStatic, _minPixelsInAreaStatic, _rt
 
Fields inherited from class org.shapelogic.imageprocessing.ColorParticleAnalyzer
_areaStream, _aspectRatioStream, _curveArchCountStream, _edgeTracer, _grayValueStream, _hardCornerCountStream, _inflectionPointCountStream, _neuralNetworkFile, _particleStream, _perimeterStream, _polygonStream, _printListOverwrite, _roundishStream, _tableBuilder, _tableDefinition, _useNeuralNetwork, _xMaxStream, _xMinStream, _yMaxStream, _yMinStream, loadLetterStreams, loadParticleStreams, loadPolygonStreams
 
Fields inherited from class org.shapelogic.imageprocessing.BaseParticleCounter
_backgroundArea, _backgroundColor, _backgroundCount, _boundingBoxArea, _categorizer, _colorHypothesis, _colorHypothesisFinder, _context, _countOnly, _displayInternalInfo, _displayTable, _errorMessage, _inputColor, _iterations, _maxDistance, _maxPixelsInArea, _minPixelsInArea, _modifying, _paintBackground, _paintForground, _parentContext, _particleCount, _particleImage, _particlesFiltered, _particlesOrig, _referenceColor, _saveArea, _segmentation, _toMask, _useReferenceAsBackground, ITERATIONS_DEFAULTS, MAX_DISTANCE_DEFAULTS, MAX_PIXELS_IN_AREA_DEFAULTS, MIN_PIXELS_IN_AREA_DEFAULTS
 
Fields inherited from class org.shapelogic.imageutil.BaseImageOperation
_arg, _guiWrapper, _image, _keyValueParser, _setupReturnValue
 
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
 
Constructor Summary
RGBColorParticleAnalyzerIJ()
           
 
Method Summary
 int showDialog(ij.ImagePlus imp, java.lang.String command, ij.plugin.filter.PlugInFilterRunner pfr)
           
 
Methods inherited from class org.shapelogic.imageprocessing.ColorParticleAnalyzerIJ
displayInternalInfo, displayResultsTable, getFilePath, populateResultsTableRow, run, setNPasses, setup, setupTableBuilder
 
Methods inherited from class org.shapelogic.imageprocessing.ColorParticleAnalyzer
categorizeStreams, customStreamDefinitions, defaultColumnDefinitions, defaultStreamDefinitions, defineNeuralNetwork, defineRules, getInternalInfo, getTableBuilderOutputList, init, makeBBoxStreams, populateResultsTable, setNeuralNetworkFile, setUseNeuralNetwork
 
Methods inherited from class org.shapelogic.imageprocessing.BaseParticleCounter
findBackground, findColorHypothesis, getColorHypothesisFinder, getContext, getErrorMessage, getImageArea, getInputColor, getIterations, getMaxDistance, getMinPixelsInArea, getParentContext, getParticleCount, getParticleFiltered, getSegmentation, getStatus, globalFilter, isParticleImage, isUseReferenceAsBackground, populateResultsTableRowCustom, run, segment, setColorHypothesisFinder, setDisplayTable, setInputColor, setIterations, setMaxDistance, setMinPixelsInArea, setToMask, 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
 

Field Detail

_rStatic

protected static int _rStatic

_gStatic

protected static int _gStatic

_bStatic

protected static int _bStatic

_backgroundStatic

protected static boolean _backgroundStatic

_countOnlyStatic

protected static boolean _countOnlyStatic

_toMaskStatic

protected static boolean _toMaskStatic

_displayInternalInfoStatic

protected static boolean _displayInternalInfoStatic

_useNeuralNetworkStatic

protected static boolean _useNeuralNetworkStatic

_neuralNetworkFileStatic

protected static java.lang.String _neuralNetworkFileStatic
Constructor Detail

RGBColorParticleAnalyzerIJ

public RGBColorParticleAnalyzerIJ()
Method Detail

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
Overrides:
showDialog in class ColorParticleAnalyzerIJ


Copyright © 2009. All Rights Reserved.