-
- All Implemented Interfaces:
HasColorTable,HasFormat,HasMetaTable,HasSource,Metadata,SCIFIOPlugin,TypedMetadata,Serializable,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.Prioritized,org.scijava.Versioned
- Enclosing class:
- PCXFormat
public static class PCXFormat.Metadata extends AbstractMetadata implements HasColorTable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Metadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose(boolean fileOnly)Closes the image source(s) associated with this component, with a toggle to determine if the component itself is reset.intgetBytesPerLine()net.imglib2.display.ColorTablegetColorTable(int imageIndex, long planeIndex)intgetnColorPlanes()longgetOffset()voidpopulateImageMetadata()Generates format-agnostic image metadata structures based on this instance's format-specific metadata.voidsetBytesPerLine(int bytesPerLine)voidsetnColorPlanes(int nColorPlanes)voidsetOffset(long offset)-
Methods inherited from class io.scif.AbstractMetadata
add, createImageMetadata, get, getAll, getDatasetName, getDatasetSize, getDestinationLocation, getImageCount, getSource, getSourceLocation, getTable, isFiltered, setDatasetName, setDestinationLocation, setFiltered, setSource, setSourceLocation, setTable
-
Methods inherited from class io.scif.AbstractHasSource
close
-
Methods inherited from class io.scif.AbstractHasFormat
asBrowsableLocation, asBrowsableLocation, getFormat, getFormatName
-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface io.scif.HasFormat
getFormat, getFormatName
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
Methods inherited from interface io.scif.SCIFIOPlugin
getVersion, log
-
-
-
-
Method Detail
-
getOffset
public long getOffset()
-
setOffset
public void setOffset(long offset)
-
getBytesPerLine
public int getBytesPerLine()
-
setBytesPerLine
public void setBytesPerLine(int bytesPerLine)
-
getnColorPlanes
public int getnColorPlanes()
-
setnColorPlanes
public void setnColorPlanes(int nColorPlanes)
-
populateImageMetadata
public void populateImageMetadata()
Description copied from interface:MetadataGenerates format-agnostic image metadata structures based on this instance's format-specific metadata.- Specified by:
populateImageMetadatain interfaceMetadata
-
close
public void close(boolean fileOnly) throws IOExceptionDescription copied from interface:HasSourceCloses the image source(s) associated with this component, with a toggle to determine if the component itself is reset.- Specified by:
closein interfaceHasSource- Overrides:
closein classAbstractMetadata- Parameters:
fileOnly- - If true, only the associated source(s) are closed.- Throws:
IOException
-
getColorTable
public net.imglib2.display.ColorTable getColorTable(int imageIndex, long planeIndex)
- Specified by:
getColorTablein interfaceHasColorTable- Returns:
- The ColorTable associated with this component.
-
-