de.unihalle.informatik.MiToBo.apps.particles2D
Class MultiChannelParticleAnalyzer2D

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.MiToBo.core.operator.MTBOperator
          extended by de.unihalle.informatik.MiToBo.apps.particles2D.MultiChannelParticleAnalyzer2D
All Implemented Interfaces:
de.unihalle.informatik.Alida.datatypes.ALDConfigurationValidator, de.unihalle.informatik.Alida.operator.events.ALDOperatorExecutionProgressEventListener, EventListener

@ALDAOperator(genericExecutionMode=ALL,
              level=APPLICATION)
public class MultiChannelParticleAnalyzer2D
extends MTBOperator

Operator for detecting sub-cellular structures in a given image.

This operator allows to configure a particle detector for each channel of the image separately. If a proper nucleus channel is given that one is skipped. The first detector in the vector of detectors is applied to the first non-nucleus channel, the second to the second, etc. It is important that for all channels to be processed detectors are provided.

Author:
moeller

Nested Class Summary
static class MultiChannelParticleAnalyzer2D.ResultImageMode
          Display mode of the result image.
 
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode
 
Field Summary
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
 
Constructor Summary
MultiChannelParticleAnalyzer2D()
          Empty constructor.
MultiChannelParticleAnalyzer2D(MTBImage image, Vector<ParticleDetector> pOps)
          Default constructor.
 
Method Summary
 Vector<ParticleDetector> getDetectors()
          Get a reference to configured detectors' vector.
 SegResult_ParticlesMultiChannel getResultDataArray()
          Returns extracted result data.
 MTBImageRGB getResultImage()
          Returns result image, i.e. the segmentation mask.
protected  void operate()
           
 void setInputImage(MTBImage img)
          Specify input image.
 void setMeasureUnits(SegResultEnums.MeasureUnit mu)
          Specify units in which to measure areas.
 void setNucleiMask(MTBImageByte mask)
          Specify nuclei mask.
 
Methods inherited from class de.unihalle.informatik.MiToBo.core.operator.MTBOperator
readResolve
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
addOperatorExecutionProgressEventListener, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiChannelParticleAnalyzer2D

public MultiChannelParticleAnalyzer2D()
                               throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Empty constructor.

Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException

MultiChannelParticleAnalyzer2D

public MultiChannelParticleAnalyzer2D(MTBImage image,
                                      Vector<ParticleDetector> pOps)
                               throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Default constructor.

Parameters:
image - Image to be processed.
pOps - List of detectors.
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail

setInputImage

public void setInputImage(MTBImage img)
Specify input image.


setNucleiMask

public void setNucleiMask(MTBImageByte mask)
Specify nuclei mask.


setMeasureUnits

public void setMeasureUnits(SegResultEnums.MeasureUnit mu)
Specify units in which to measure areas.


getResultDataArray

public SegResult_ParticlesMultiChannel getResultDataArray()
Returns extracted result data.


getDetectors

public Vector<ParticleDetector> getDetectors()
Get a reference to configured detectors' vector.

Returns:
Reference to vector of detectors.

getResultImage

public MTBImageRGB getResultImage()
Returns result image, i.e. the segmentation mask.


operate

protected void operate()
                throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException,
                       de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
Specified by:
operate in class de.unihalle.informatik.Alida.operator.ALDOperator
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.