org.cybertory.MSS
Class GrayscaleTiffs

java.lang.Object
  extended byorg.cybertory.MSS.ScanSaveType
      extended byorg.cybertory.MSS.GrayscaleTiffs

public class GrayscaleTiffs
extends ScanSaveType

An image file save type that stores one channel per file, with integers for pixel values.


Field Summary
static java.lang.String defaultFilenameExtension
           
 
Fields inherited from class org.cybertory.MSS.ScanSaveType
commonParams
 
Constructor Summary
GrayscaleTiffs(CommonScanSaveParams commonParams)
           
GrayscaleTiffs(CommonScanSaveParams commonParams, int numBits)
           
 
Method Summary
 void createFile(javax.media.jai.RenderedOp image, java.lang.String fileStem)
          Create grayscale tiff image(s) from the working microarray image, one image file for each channel of the experiment.
 
Methods inherited from class org.cybertory.MSS.ScanSaveType
imagePath, imagePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultFilenameExtension

public static final java.lang.String defaultFilenameExtension
See Also:
Constant Field Values
Constructor Detail

GrayscaleTiffs

public GrayscaleTiffs(CommonScanSaveParams commonParams,
                      int numBits)

GrayscaleTiffs

public GrayscaleTiffs(CommonScanSaveParams commonParams)
Method Detail

createFile

public void createFile(javax.media.jai.RenderedOp image,
                       java.lang.String fileStem)
Create grayscale tiff image(s) from the working microarray image, one image file for each channel of the experiment. Before calling this method, the image has already had noise, blur, and gain taken into effect. The input image has a sample datatype of float, with saturation = 1.0.

Specified by:
createFile in class ScanSaveType
Parameters:
image - A rendered image containing all the channels.
fileStem - The stem of the filename; "_1", "_2", ... will be added for the channels.