public static class JPEG2000Format.Metadata extends AbstractMetadata implements HasColorTable
| Constructor and Description |
|---|
Metadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean fileOnly)
Closes the image source(s) associated with this component, with a toggle to
determine if the component itself is reset.
|
net.imglib2.display.ColorTable |
getColorTable(int imageIndex,
long planeIndex) |
int |
getImageCount()
Returns the number of images in this dataset.
|
JPEG2000Format.Index |
getLastIndex() |
byte[] |
getLastIndexBytes() |
int[][] |
getLut() |
long |
getPixelsOffset() |
Integer |
getResolutionLevels() |
void |
populateImageMetadata()
Generates format-agnostic image metadata structures based on this
instance's format-specific metadata.
|
void |
setLastIndex(int imageIndex,
long planeIndex) |
void |
setLastIndexBytes(byte[] lastIndexBytes) |
void |
setLut(int[][] lut) |
void |
setPixelsOffset(long pixelsOffset) |
void |
setResolutionLevels(Integer resolutionLevels) |
add, createImageMetadata, get, getAll, getDatasetName, getDatasetSize, getDestinationLocation, getSource, getSourceLocation, getTable, isFiltered, setDatasetName, setDestinationLocation, setFiltered, setSource, setSourceLocation, setTablecloseasBrowsableLocation, asBrowsableLocation, getFormat, getFormatNamegetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFormat, getFormatNamegetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationpublic long getPixelsOffset()
public void setPixelsOffset(long pixelsOffset)
public JPEG2000Format.Index getLastIndex()
public void setLastIndex(int imageIndex,
long planeIndex)
public byte[] getLastIndexBytes()
public void setLastIndexBytes(byte[] lastIndexBytes)
public Integer getResolutionLevels()
public void setResolutionLevels(Integer resolutionLevels)
public int[][] getLut()
public void setLut(int[][] lut)
public void populateImageMetadata()
MetadatapopulateImageMetadata in interface Metadatapublic int getImageCount()
MetadatagetImageCount in interface MetadatagetImageCount in class AbstractMetadatapublic void close(boolean fileOnly)
throws IOException
HasSourceclose in interface HasSourceclose in class AbstractMetadatafileOnly - - If true, only the associated source(s) are closed.IOExceptionpublic net.imglib2.display.ColorTable getColorTable(int imageIndex, long planeIndex)
getColorTable in interface HasColorTableCopyright © 2011–2026 SCIFIO. All rights reserved.