public class UploadMask
extends java.lang.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.
|
java.util.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 java.io.IOException
image
- The Image containing the mask data.z
- The Z Section of the image.t
- The Time point of the image.java.io.IOException
- Thrown if an error occurred while creating the mask.public void addArray(int[][] image, int z, int t, int c) throws java.io.IOException
image
- The Image containing the mask data.z
- The Z Section of the image.t
- The Time point of the image.java.io.IOException
- Thrown if an error occurred while creating the mask.public java.util.List<omero.model.RoiI> getROI()