@Transactional(readOnly=true) public class ProjectionBean extends AbstractLevel2Service implements IProjection
IProjection.| Modifier and Type | Field and Description | 
|---|---|
| protected IPixels | iPixelsReference to the service used to retrieve the pixels metadata. | 
| protected PixelsService | pixelsServiceReference to the service used to retrieve the pixels data. | 
iQuery, iUpdate, metadata, queryFactory, secMAXIMUM_INTENSITY, MEAN_INTENSITY, METHODOLOGY_STRINGS, SUM_INTENSITY| Constructor and Description | 
|---|
| ProjectionBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends ServiceInterface> | getServiceInterface()Returns the interface this implementation is for. | 
| long | projectPixels(long pixelsId,
             PixelsType pixelsType,
             int algorithm,
             int tStart,
             int tEnd,
             List<Integer> channels,
             int stepping,
             int zStart,
             int zEnd,
             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,
            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. | 
| void | setIPixels(IPixels iPixels)IPixels bean injector. | 
| void | setPixelsService(PixelsService pixelsService)PixelsService bean injector. | 
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateServiceprotected transient IPixels iPixels
protected transient PixelsService pixelsService
public Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface in interface SelfConfigurableServiceSelfConfigurableService.getServiceInterface()public void setIPixels(IPixels iPixels)
public void setPixelsService(PixelsService pixelsService)
public byte[] projectStack(long pixelsId,
                           PixelsType pixelsType,
                           int algorithm,
                           int timepoint,
                           int channelIndex,
                           int stepping,
                           int start,
                           int end)
IProjectionprojectStack in interface IProjectionpixelsId - 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.IProjection.projectPixels(long, PixelsType, int, int, int, List, int, int, int, String)@Transactional(readOnly=false) public long projectPixels(long pixelsId, PixelsType pixelsType, int algorithm, int tStart, int tEnd, List<Integer> channels, int stepping, int zStart, int zEnd, String name)
IProjectionIPixels.copyAndResizeImage(long, Integer, Integer, Integer,  Integer, List, String, boolean).projectPixels in interface IProjectionpixelsId - 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.IProjection.projectStack(long, PixelsType, int, int, int, int, int start, int)
                
                
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.