endrov.hardwareFrivolous
Class FrivolousCell

java.lang.Object
  extended by endrov.hardwareFrivolous.FrivolousCell

public class FrivolousCell
extends java.lang.Object


Field Summary
 FrivolousDiffusion[] diffusers
           
 
Constructor Summary
FrivolousCell(java.io.File path)
           
 
Method Summary
 void bleachImmobile(int[] roi, int roiWidth, int roiHeight, int offsetX, int offsetY, float bleachFactor)
          Bleach an arbitrary ROI
 void bleachImmobile(int roiWidth, int roiHeight, int offsetX, int offsetY, float bleachFactor)
          Bleach a square ROI - typically the area the camera focuses on
 int[] getImage(int offsetX, int offsetY, int imageWidth, int imageHeight, boolean simulatePSF, boolean simulateNoise)
           
 FrivolousSettingsNew getSettings()
           
 void stop()
           
 void updatePSF()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

diffusers

public FrivolousDiffusion[] diffusers
Constructor Detail

FrivolousCell

public FrivolousCell(java.io.File path)
Method Detail

updatePSF

public void updatePSF()

getImage

public int[] getImage(int offsetX,
                      int offsetY,
                      int imageWidth,
                      int imageHeight,
                      boolean simulatePSF,
                      boolean simulateNoise)

bleachImmobile

public void bleachImmobile(int[] roi,
                           int roiWidth,
                           int roiHeight,
                           int offsetX,
                           int offsetY,
                           float bleachFactor)
Bleach an arbitrary ROI


bleachImmobile

public void bleachImmobile(int roiWidth,
                           int roiHeight,
                           int offsetX,
                           int offsetY,
                           float bleachFactor)
Bleach a square ROI - typically the area the camera focuses on


stop

public void stop()

getSettings

public FrivolousSettingsNew getSettings()