public abstract class PluginSequenceIdImporter extends Plugin implements SequenceIdImporter, PluginNoEDTConstructor
SequenceIdImporter
interface)PluginImporter
,
PluginFileImporter
,
PluginSequenceFileImporter
,
PluginSequenceImporter
Constructor and Description |
---|
PluginSequenceIdImporter() |
Modifier and Type | Method and Description |
---|---|
IcyBufferedImage |
getImage(int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
int z,
int t)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
int z,
int t,
int c)
Returns the image located at specified position.
|
IcyBufferedImage |
getImage(int serie,
int resolution,
java.awt.Rectangle rectangle,
int z,
int t)
Returns the image located at specified position.
|
java.lang.Object |
getPixels(int serie,
int resolution,
java.awt.Rectangle rectangle,
int z,
int t,
int c)
Returns the pixel data located for specified position of the image.
|
int |
getResolutionFactor(int serie,
int wantedSize)
|
IcyBufferedImage |
getThumbnail(int serie)
Returns the image thumbnail for the specified serie of the image.
|
int |
getTileHeight(int serie)
Returns the tile height for the specified serie of the image.
|
int |
getTileWidth(int serie)
Returns the tile width for the specified serie of the image.
|
addIcyFrame, addSequence, getActiveImage, getActiveSequence, getActiveViewer, getDescriptor, getFocusedImage, getFocusedSequence, getFocusedViewer, getIconResource, getImageResource, getInstallFolder, getName, getOwnerClassName, getPlugin, getPreferences, getPreferencesRoot, getResource, getResourceAsStream, getResources, getSequences, isBundled, loadLibrary, removeSequence, report, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, getOpened, open
getImage, getMetaData
public PluginSequenceIdImporter()
public int getTileWidth(int serie) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getTileWidth
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
public int getTileHeight(int serie) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getTileHeight
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
public IcyBufferedImage getThumbnail(int serie) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getThumbnail
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).UnsupportedFormatException
java.io.IOException
public java.lang.Object getPixels(int serie, int resolution, java.awt.Rectangle rectangle, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
ImageProvider
OMEXMLMetadataImpl.getPixelsType(int)
getPixels
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
rectangle
- The 2D region we want to retrieve.null
then the whole image is returned.z
- Z position of the image (slice) we want retrieve data fromt
- T position of the image (frame) we want retrieve data fromc
- C position of the image (channel) we want retrieve.UnsupportedFormatException
java.io.IOException
public IcyBufferedImage getImage(int serie, int resolution, java.awt.Rectangle rectangle, int z, int t) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getImage
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
rectangle
- The 2D region we want to retrieve.null
then the whole image is returned.z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
public IcyBufferedImage getImage(int serie, int resolution, int z, int t, int c) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getImage
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrievec
- C position of the image (channel) we want retrieve.UnsupportedFormatException
java.io.IOException
public IcyBufferedImage getImage(int serie, int resolution, int z, int t) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getImage
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).resolution
- Wanted resolution level for the image (use 0 if unsure).image.resolution / (2^resolution)
z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
public IcyBufferedImage getImage(int serie, int z, int t) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getImage
in interface ImageProvider
serie
- Serie index for multi serie image (use 0 if unsure).z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
public IcyBufferedImage getImage(int z, int t) throws UnsupportedFormatException, java.io.IOException
ImageProvider
getImage
in interface ImageProvider
z
- Z position of the image (slice) we want retrievet
- T position of the image (frame) we want retrieveUnsupportedFormatException
java.io.IOException
public int getResolutionFactor(int serie, int wantedSize) throws UnsupportedFormatException, java.io.IOException
UnsupportedFormatException
java.io.IOException