public interface IProjection extends ServiceInterface
| Modifier and Type | Field and Description | 
|---|---|
static int | 
MAXIMUM_INTENSITY
Maximum intensity projection (MIP) 
 | 
static int | 
MEAN_INTENSITY
Mean intensity projection 
 | 
static java.lang.String[] | 
METHODOLOGY_STRINGS
Methodology strings 
 | 
static int | 
SUM_INTENSITY
Sum intensity projection 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
projectPixels(long pixelsId,
             ome.model.enums.PixelsType pixelsType,
             int algorithm,
             int tStart,
             int tEnd,
             java.util.List<java.lang.Integer> channels,
             int stepping,
             int zStart,
             int zEnd,
             java.lang.String name)
Performs a projection through selected optical sections and optical
 sections for a given set of time points of a Pixels set. 
 | 
byte[] | 
projectStack(long pixelsId,
            ome.model.enums.PixelsType pixelsType,
            int algorithm,
            int timepoint,
            int channelIndex,
            int stepping,
            int start,
            int end)
Performs a projection through the optical sections of a particular 
 wavelength at a given time point of a Pixels set. 
 | 
static final int MAXIMUM_INTENSITY
static final int MEAN_INTENSITY
static final int SUM_INTENSITY
static final java.lang.String[] METHODOLOGY_STRINGS
byte[] projectStack(long pixelsId,
                    ome.model.enums.PixelsType pixelsType,
                    int algorithm,
                    int timepoint,
                    int channelIndex,
                    int stepping,
                    int start,
                    int end)
pixelsId - The source Pixels set Id.pixelsType - The destination Pixels type. If null, the
 source Pixels set pixels type will be used.algorithm - MAXIMUM_INTENSITY,
 MEAN_INTENSITY or SUM_INTENSITY. NOTE: 
 When performing a SUM_INTENSITY projection, pixel values 
 will be pinned to the maximum pixel value of the destination 
 Pixels type.timepoint - Timepoint to perform the projection.channelIndex - Index of the channel to perform the projection.stepping - Stepping value to use while calculating the projection.
 For example, stepping=1 will use every optical section from
 start to end where stepping=2 will
 use every other section from start to end to
 perform the projection.start - Optical section to start projecting from.end - Optical section to finish projecting.sizeX * sizeY * bytesPerPixel in big-endian
 format.ValidationException - Where:
 algorithm is unknowntimepoint is out of rangechannelIndex is out of rangestart is out of rangeend is out of rangestart is greater than endpixelsId is unlocatable.projectPixels(long, PixelsType, int, int, int, List, int, int, int, String)long projectPixels(long pixelsId,
                   ome.model.enums.PixelsType pixelsType,
                   int algorithm,
                   int tStart,
                   int tEnd,
                   java.util.List<java.lang.Integer> channels,
                   int stepping,
                   int zStart,
                   int zEnd,
                   java.lang.String name)
IPixels.copyAndResizeImage(long, Integer, Integer, Integer,  Integer, List, String, boolean).pixelsId - The source Pixels set Id.pixelsType - The destination Pixels type. If null, the
 source Pixels set pixels type will be used.algorithm - MAXIMUM_INTENSITY,
 MEAN_INTENSITY or SUM_INTENSITY. NOTE: 
 When performing a SUM_INTENSITY projection, pixel values 
 will be pinned to the maximum pixel value of the destination 
 Pixels type.tStart - Timepoint to start projecting from.tEnd - Timepoint to finish projecting.channels - List of the channel indexes to use while calculating the
 projection.stepping - Stepping value to use while calculating the projection.
 For example, stepping=1 will use every optical section from
 start to end where stepping=2 will
 use every other section from start to end to
 perform the projection.zStart - Optical section to start projecting from.zEnd - Optical section to finish projecting.name - Name for the newly created image. If null the
 name of the Image linked to the Pixels qualified by 
 pixelsId will be used with a "Projection" suffix. For 
 example, GFP-H2B Image of HeLa Cells will have an Image name of
 GFP-H2B Image of HeLa Cells Projection used for the projection.ValidationException - Where:
 algorithm is unknowntStart is out of rangetEnd is out of rangetStart is greater than tEndchannels is null or has indexes out of rangezStart is out of rangezEnd is out of rangezStart is greater than zEndpixelsId is unlocatable.projectStack(long, PixelsType, int, int, int, int, int start, int)