org.cybertory.MSS
Class Scanner
java.lang.Object
org.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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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.