public class UploadMask extends Object
Constructor and Description |
---|
UploadMask(long imageId)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addArray(int[][] image,
int z,
int t,
int c)
Adds a Mask Shape to the appropriate ROIClass, creating one if necessary.
|
void |
addImage(byte[] image,
int z,
int t,
int c)
Adds a Mask Shape to the appropriate ROIClass, creating one if necessary.
|
List<omero.model.RoiI> |
getROI()
Returns the ROIs created from uploading the images.
|
public UploadMask(long imageId)
imageId
- The ImageId where the uploaded images are from.public void addImage(byte[] image, int z, int t, int c) throws IOException
image
- The Image containing the mask data.z
- The Z Section of the image.t
- The Time point of the image.IOException
- Thrown if an error occurred while creating the mask.public void addArray(int[][] image, int z, int t, int c) throws IOException
image
- The Image containing the mask data.z
- The Z Section of the image.t
- The Time point of the image.IOException
- Thrown if an error occurred while creating the mask.public List<omero.model.RoiI> getROI()
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.