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

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.MiToBo.apps.particles2D.HyperStackParticleDetectorUWT2D
All Implemented Interfaces:
de.unihalle.informatik.Alida.datatypes.ALDConfigurationValidator, de.unihalle.informatik.Alida.operator.events.ALDOperatorExecutionProgressEventListener, EventListener, loci.common.StatusReporter

@ALDAOperator(genericExecutionMode=ALL,
              level=STANDARD)
public class HyperStackParticleDetectorUWT2D
extends de.unihalle.informatik.Alida.operator.ALDOperator
implements loci.common.StatusReporter

A particle detector that runs the ParticleDetectorUWT2D given as input (with all parameters set) over all slices of the input image for a given channel. The info strings of the resulting region sets are set to "z=.,t=.,c=channelIdx".

Author:
Oliver Gress

Nested Class Summary
 
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode
 
Field Summary
protected  int channelIdx
           
protected  MTBImage inputImage
           
protected  ParticleDetectorUWT2D pdetector
           
protected  MTBRegion2DSetBag resultingRegionsets
           
protected  Vector<loci.common.StatusListener> statusListeners
          vector of installed StatusListeners
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
 
Constructor Summary
HyperStackParticleDetectorUWT2D()
           
HyperStackParticleDetectorUWT2D(MTBImage inputImage, ParticleDetectorUWT2D pdetector, int channelIdx)
           
 
Method Summary
 void addStatusListener(loci.common.StatusListener statuslistener)
           
 ParticleDetectorUWT2D getParticleDetector2D()
           
 MTBRegion2DSetBag getResultingRegionsets()
           
 void notifyListeners(loci.common.StatusEvent e)
           
protected  void operate()
           
 void removeStatusListener(loci.common.StatusListener statuslistener)
           
 void setInputImage(MTBImage inputimage)
           
 void validateCustom()
           
 
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, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, setVerbose, toStringVerbose, unconfiguredItems, validate, validateGeneric, writeHistory, writeHistory, writeHistory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputImage

@Parameter(label="Input image",
           required=true,
           direction=IN,
           mode=STANDARD,
           dataIOOrder=1,
           description="Input image")
protected transient MTBImage inputImage

pdetector

@Parameter(label="Particle detector",
           required=true,
           direction=IN,
           mode=STANDARD,
           dataIOOrder=2,
           description="Particle detector for 2D-images based on UWT")
protected ParticleDetectorUWT2D pdetector

channelIdx

@Parameter(label="Channel index",
           required=true,
           direction=IN,
           mode=STANDARD,
           dataIOOrder=3,
           description="Index of the channel where particles are to be detected")
protected int channelIdx

resultingRegionsets

@Parameter(label="Resulting regionsets",
           required=false,
           direction=OUT,
           mode=STANDARD,
           dataIOOrder=1,
           description="Bag of resulting region sets")
protected MTBRegion2DSetBag resultingRegionsets

statusListeners

protected transient Vector<loci.common.StatusListener> statusListeners
vector of installed StatusListeners

Constructor Detail

HyperStackParticleDetectorUWT2D

public HyperStackParticleDetectorUWT2D()
                                throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException

HyperStackParticleDetectorUWT2D

public HyperStackParticleDetectorUWT2D(MTBImage inputImage,
                                       ParticleDetectorUWT2D pdetector,
                                       int channelIdx)
                                throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail

getResultingRegionsets

public MTBRegion2DSetBag getResultingRegionsets()

validateCustom

public void validateCustom()
                    throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Overrides:
validateCustom in class de.unihalle.informatik.Alida.operator.ALDOperator
Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException

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

setInputImage

public void setInputImage(MTBImage inputimage)

getParticleDetector2D

public ParticleDetectorUWT2D getParticleDetector2D()

addStatusListener

public void addStatusListener(loci.common.StatusListener statuslistener)
Specified by:
addStatusListener in interface loci.common.StatusReporter

notifyListeners

public void notifyListeners(loci.common.StatusEvent e)
Specified by:
notifyListeners in interface loci.common.StatusReporter

removeStatusListener

public void removeStatusListener(loci.common.StatusListener statuslistener)
Specified by:
removeStatusListener in interface loci.common.StatusReporter


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