pojos.util
Class UploadMask

java.lang.Object
  extended by pojos.util.UploadMask

public class UploadMask
extends Object

Since:
OME3.0
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Constructor Summary
UploadMask(long imageId)
          Instantiate the class.
 
Method Summary
 void addArray(int[][] image, int z, int t, int c)
          Add a Mask Shape to the appropriate ROIClass, creating one if neccessary.
 void addImage(byte[] image, int z, int t, int c)
          Add a Mask Shape to the appropriate ROIClass, creating one if neccessary.
 List<omero.model.RoiI> getROI()
          Get the ROIs created from uploading the images.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadMask

public UploadMask(long imageId)
Instantiate the class.

Parameters:
imageId - The ImageId where the uploaded images are from.
Method Detail

addImage

public void addImage(byte[] image,
                     int z,
                     int t,
                     int c)
              throws IOException
Add a Mask Shape to the appropriate ROIClass, creating one if neccessary.

Parameters:
image - The Image containing the mask dat.
z - The Z Section of the image.
t - The Time point of the image.
Throws:
IOException

addArray

public void addArray(int[][] image,
                     int z,
                     int t,
                     int c)
              throws IOException
Add a Mask Shape to the appropriate ROIClass, creating one if neccessary.

Parameters:
image - The Image containing the mask dat.
z - The Z Section of the image.
t - The Time point of the image.
Throws:
IOException

getROI

public List<omero.model.RoiI> getROI()
Get the ROIs created from uploading the images.

Returns:
See above.


OmeroJava Api

Version: Beta-4.2.0-r7571-b29

Copyright © 2009 The University of Dundee. All Rights Reserved.