endrov.typeLineage.expression
Class IntegrateExp

java.lang.Object
  extended by endrov.typeLineage.expression.IntegrateExp

public class IntegrateExp
extends java.lang.Object

All integrations are done at the same time to reduce disk I/O. Images not needed are discarded through lazy evaluation. Background is subtracted. This only affects the first frame, but sets a proper 0. COULD put background into first frame of correction instead. Is this better? The cubemap contains too much data for the lineage window. 20x20x20=8000 tracks, impossible. also EATS space, especially if stored as XML. So, it has to be stored as images. Originally as channel "mod-GFP". Overlap is not possible due to reorientation. Frame-time remap will not be done until assembly.


Nested Class Summary
static interface IntegrateExp.Integrator
          Integrator of expression.
static interface IntegrateExp.IntegratorCallback
           
 
Field Summary
 EvChannel ch
           
 int curZint
           
 java.lang.String expName
           
 EvDecimal frame
           
 EvImagePlane im
           
 EvContainer imset
           
 EvPixels pixels
           
 int[] pixelsLine
           
static Lineage refLin
           
 EvStack stack
           
 
Constructor Summary
IntegrateExp(EvContainer imset, EvChannel ch, java.lang.String expName)
           
 
Method Summary
 void ensureImageLoaded()
          Lazily load images
 void integrateAll(IntegrateExp.IntegratorCallback callback, java.util.Collection<IntegrateExp.Integrator> ints)
          Run all integrators
 void integrateAll(IntegrateExp.IntegratorCallback callback, IntegrateExp.Integrator... ints)
          Run all integrators
static void integrateSingleCell(Lineage lin, EvContainer imset, EvChannel ch, java.lang.String expName, IntegrateExp.IntegratorCallback cb, boolean useNucleiRadius)
          Integrate single-cell for one recording
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refLin

public static Lineage refLin

frame

public EvDecimal frame

curZint

public int curZint

stack

public EvStack stack

im

public EvImagePlane im

pixels

public EvPixels pixels

pixelsLine

public int[] pixelsLine

expName

public java.lang.String expName

ch

public EvChannel ch

imset

public EvContainer imset
Constructor Detail

IntegrateExp

public IntegrateExp(EvContainer imset,
                    EvChannel ch,
                    java.lang.String expName)
Method Detail

ensureImageLoaded

public void ensureImageLoaded()
Lazily load images


integrateAll

public void integrateAll(IntegrateExp.IntegratorCallback callback,
                         java.util.Collection<IntegrateExp.Integrator> ints)
Run all integrators


integrateAll

public void integrateAll(IntegrateExp.IntegratorCallback callback,
                         IntegrateExp.Integrator... ints)
Run all integrators


integrateSingleCell

public static void integrateSingleCell(Lineage lin,
                                       EvContainer imset,
                                       EvChannel ch,
                                       java.lang.String expName,
                                       IntegrateExp.IntegratorCallback cb,
                                       boolean useNucleiRadius)
Integrate single-cell for one recording