org.cybertory.MSS
Class Scanner

java.lang.Object
  extended byorg.cybertory.MSS.Scanner

public class Scanner
extends java.lang.Object

Image scanner class, used by Scan class (which calls this class' saveImages(org.cybertory.MSS.PendingRenderedOp, java.lang.String, float) method).


Constructor Summary
Scanner(ScanSaveType[] scanSaveTypes, float pixelSize)
          Constructor
 
Method Summary
 void saveImages(PendingRenderedOp microarray, java.lang.String fileStem, float gain)
           
 void setBlur(int kernelSize, float stdDev)
           
 void setIncludeCybertoryMark(boolean includeCybertoryMark)
           
 void setNoiseFunction(PointModifyFunction noiseFunction)
           
 void setOutputDir(java.io.File outDir)
          Set the output directory for the tiff/jpeg images -- defaults to the user's current directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scanner

public Scanner(ScanSaveType[] scanSaveTypes,
               float pixelSize)
Constructor

Parameters:
scanSaveTypes - a list of scanner save types (e.g., file formats)
pixelSize - the size of one pixel in microns (resolution)
Method Detail

setBlur

public void setBlur(int kernelSize,
                    float stdDev)

setNoiseFunction

public void setNoiseFunction(PointModifyFunction noiseFunction)

setIncludeCybertoryMark

public void setIncludeCybertoryMark(boolean includeCybertoryMark)

saveImages

public void saveImages(PendingRenderedOp microarray,
                       java.lang.String fileStem,
                       float gain)

setOutputDir

public void setOutputDir(java.io.File outDir)
Set the output directory for the tiff/jpeg images -- defaults to the user's current directory.

Parameters:
outDir - The path of the directory where to save image files.