|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.io.nio.AbstractFileSystemService
ome.io.nio.PixelsService
public class PixelsService
Field Summary | |
---|---|
static String |
DV_FORMAT
The DeltaVision file format enumeration value |
static int |
NULL_PLANE_SIZE
Null plane size constant. |
static byte[] |
nullPlane
Null plane byte array. |
Fields inherited from class ome.io.nio.AbstractFileSystemService |
---|
FILES_PATH, PIXELS_PATH, ROOT_DEFAULT, THUMBNAILS_PATH |
Constructor Summary | |
---|---|
PixelsService(String path)
Constructor. |
Method Summary | |
---|---|
PixelBuffer |
createPixelBuffer(ome.model.core.Pixels pixels)
Creates a PixelBuffer for a given pixels set. |
static int |
getBitDepth(ome.model.enums.PixelsType type)
Retrieves the bit width of a particular PixelsType . |
PixelBuffer |
getPixelBuffer(ome.model.core.Pixels pixels,
OriginalFileMetadataProvider provider,
boolean bypassOriginalFile)
Returns a pixel buffer for a given set of pixels. |
void |
removePixels(List<Long> pixelIds)
Removes files from data repository based on a parameterized List of Long pixels ids |
Methods inherited from class ome.io.nio.AbstractFileSystemService |
---|
createSubpath, getFilesPath, getPixelsPath, getThumbnailPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DV_FORMAT
public static final int NULL_PLANE_SIZE
public static final byte[] nullPlane
Constructor Detail |
---|
public PixelsService(String path)
path
- The root of the ROMIO proprietary pixels store. (usually
/OMERO/Pixels
).Method Detail |
---|
public PixelBuffer createPixelBuffer(ome.model.core.Pixels pixels) throws IOException
pixels
- Pixels set to create a pixel buffer for.
IOException
- If there is an I/O error creating the pixel buffer
backing file.public PixelBuffer getPixelBuffer(ome.model.core.Pixels pixels, OriginalFileMetadataProvider provider, boolean bypassOriginalFile)
pixels
- Pixels set to retrieve a pixel buffer for.provider
- Original file metadata provider.bypassOriginalFile
- Do not check for the existence of an original
file to back this pixel buffer.
public static int getBitDepth(ome.model.enums.PixelsType type)
PixelsType
.
type
- a pixel type.
public void removePixels(List<Long> pixelIds)
pixelsIds
- Long file keys to be deleted
ome.conditions.ResourceError
- If deletion fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.